Magento 1.8 Development Cookbook


Magento 1.8 Development Cookbook
eBook: $26.99
Formats: PDF, PacktLib, ePub and Mobi formats
$22.95
save 15%!
Print + free eBook + free PacktLib access to the book: $71.98    Print cover: $44.99
$67.94
save 6%!
Free Shipping!
UK, US, Europe and selected countries in Asia.
Also available on:
Overview
Table of Contents
Author
Reviews
Support
Sample Chapters
  • Customize the look and feel of your Magento shop
  • Work on theming, catalog configuration, module, and database development
  • Create modules to modify or extend Magento's standard behaviour

Book Details

Language : English
Paperback : 274 pages [ 235mm x 191mm ]
Release Date : February 2014
ISBN : 1782163328
ISBN 13 : 9781782163329
Author(s) : Bart Delvaux, Nurul Ferdous
Topics and Technologies : All Books, Cookbooks, Open Source

Table of Contents

Preface
Chapter 1: Getting Started with Magento
Chapter 2: Theming
Chapter 3: Working with Products
Chapter 4: Creating a Module
Chapter 5: Database Concepts
Chapter 6: Databases and Modules
Chapter 7: Magento Backend
Chapter 8: Event Handlers and Cronjobs
Chapter 9: Creating a Shipping Module
Chapter 10: Creating a Product Slider Widget
Chapter 11: Performance Optimization
Chapter 12: Debugging and Unit Testing
Index
  • Chapter 1: Getting Started with Magento
    • Introduction
    • Preparing the development environment
    • Installing Magento with sample data
    • Adding version control to the source code
    • Configuring the development tools
    • Chapter 2: Theming
      • Introduction
      • Configuring Magento themes and packages
      • Creating your first theme
      • Adding extra files to your theme
      • Adding jQuery support
      • Changing a page title
      • Working with translations
      • Understanding the theming block system
      • Adding widgets to the layout
      • Chapter 3: Working with Products
        • Introduction
        • Setting up the catalog defaults
        • Working with attribute sets
        • Working with product types
        • Adding a Facebook like button
        • Adding a product to the cart through querystring
        • Embedding a YouTube video
        • Changing the URL of a product page
        • Chapter 4: Creating a Module
          • Introduction
          • Creating files
          • Registering blocks, helpers, and models
          • Adding a new page
          • Adding a layout file
          • Adding a translation file
          • Adding a block of new products
          • Rewriting a core class
          • Chapter 5: Database Concepts
            • Introduction
            • Finding your way in the tables
            • Creating a database connection in Magento
            • Working with flat tables
            • Working with EAV tables
            • Configuring a Master/Slave setup
            • Repairing the database
            • Chapter 6: Databases and Modules
              • Introduction
              • Registering the resource models
              • Registering connections
              • Installing and upgrading scripts
              • Creating a flat table with models
              • Working with Magento collections
              • Chapter 7: Magento Backend
                • Introduction
                • Registering a backend controller
                • Extending the menu
                • Adding an ACL
                • Extending the system configuration
                • Creating a grid from a database table
                • Adding customer attributes
                • Working with source models
                • Chapter 8: Event Handlers and Cronjobs
                  • Introduction
                  • Understanding Magento event types
                  • Creating your own event
                  • Adding an event observer
                  • Introducing cronjobs
                  • Creating a new cronjob
                  • Testing your new cronjob
                    • Chapter 10: Creating a Product Slider Widget
                      • Introduction
                      • Creating an empty module
                      • Registering helpers and blocks
                      • Creating a widget configuration file
                      • Creating a block and the template files
                      • Creating a custom configuration parameter
                      • Finalizing the theming
                      • Chapter 11: Performance Optimization
                        • Introduction
                        • Exploring the limits of a website
                        • Optimizing the database and MySQL configuration
                        • Optimizing the Apache web server
                        • Tuning the Magento configurations
                        • Configuring APC and Memcached
                        • Optimizing the PHP configurations
                        • Analyzing the page speed

                          Bart Delvaux

                          Bart Delvaux is an experienced web developer from Belgium. With a passion for web technologies, he started his career in 2010 after he received his bachelor's degree in Applied Informatics. Magento gave him the first opportunity to establish himself when he was working as a consultant for a leading PHP company in Belgium. When the Magento certifications were released, Bart was one of the first persons who received Magento Certified Developer and Magento Certified Developer Plus. With the principle of quality above quantity, Bart finished a lot of Magento projects going from a standard web shop to complex integrations and module development.


                          Nurul Ferdous

                          Nurul Ferdous is an open source enthusiast and IT specialist from Bangladesh who is currently working for TM Secure Inc. as a LAMP consultant. In fact, he is a soldier turned programmer. He started his career with the Bangladesh Air Force. He has also served in RAB as an intelligence staff where he was nominated for the President's Police medal for his contribution to national security. He is a true passionate programmer. He started his run on software development back in 2004, while he was working in the Bangladesh Air Force. His primary skills are as a PHP developer. He is a Zend Certified PHP 5 Engineer, and contributes to a number of PHP projects, blogs on PHP-related topics, and presents talks and tutorials related to PHP development and the projects to which he contributes. He also contributes on open source community regularly. He is also a certified professional on TDD and Code Refactoring. He has served in some top notch software companies both at home and abroad, such as BIPL, Right Brain Solutions Ltd., TM Secure Inc., NameDepot.com Inc., and so on, as a programmer, software engineer, and consultant. He also writes at his personal blog http://dynamicguy.com when he is not baking with codes.

                          Code Downloads

                          Download the code and support files for this book.


                          Submit Errata

                          Please let us know if you have found any errors not listed on this list by completing our errata submission form. Our editors will check them and add them to this list. Thank you.


                          Errata

                          - 1 submitted: last submission 08 May 2014

                          Type: Code related | Pg: 105
                          The step to update the version number in the config.xml is missing. Between step 4 and 5 in that recipe, there must be a notice to update the version number in the config.xml. 
                          A step that should be added was: 
                          Update te version number in the config.xml file. Update the content of the <modules> tag to the following: 

                          <Packt_Helloworld>
                              <version>0.0.2</version>
                          </Packt_Helloworld>

                          This is a step that is missing.

                          Sample chapters

                          You can view our sample chapters and prefaces of this title on PacktLib or download sample chapters in PDF format.

                          Frequently bought together

                          Magento 1.8 Development Cookbook +    Building Machine Learning Systems with Python =
                          50% Off
                          the second eBook
                          Price for both: $39.00

                          Buy both these recommended eBooks together and get 50% off the cheapest eBook.

                          What you will learn from this book

                          • Install Magento on a custom webserver
                          • Add your own touch to a Magento store with a custom theme
                          • Speed up your store with some performance tools
                          • Customize and extend backend functionality with forms, grids, and more
                          • Build your own shipping module
                          • Manage the display of your products
                          • Understand database design patterns

                          In Detail

                          Magento is an open source e-commerce platform which has all the functionality to function from small to large online stores. Its architecture makes it possible to extend the functionalities with plugins where a lot of them are shared by the community. This is the reason why the platform is liked by developers and retailers.

                          A practical developer guide packed with recipes that cover all the parts of Magento development. The recipes will start with the simple development exercises and get the more advanced as the book progresses. A good reference for every Magento developer!

                          This book starts with the basics. The first thing is to create a test environment. Next, the architecture, tools, files and other basics are described to make you ready for the real work.

                          The real work starts with the simple things like theming and catalog configuration. When you are familiar with this, we will move on to more complex features such as module and database development. When you have survived this, we will move on to the last part of making a shop ready for launch: performance optimization and testing. This book will guide you through all the development phases of Magento, covering the most common pitfalls through its recipes.

                          Approach

                          A collection of straightforward and practical recipes filled with examples to build a faster and more impressive Magento store. The recipes will provide you step-by-step instructions for installing, customizing, and managing your Magento store.

                          Who this book is for

                          If you are a developer with minor PHP knowledge and you want to start with Magento development, this book is for you. With its specially tailored recipes, we will guide you from simple development in Magento to the more advanced stuff. Even if you are an experienced Magento developer, some recipes in this book will interest you. The other recipes will serve as a good reference to look at.

                          Code Download and Errata
                          Packt Anytime, Anywhere
                          Register Books
                          Print Upgrades
                          eBook Downloads
                          Video Support
                          Contact Us
                          Awards Voting Nominations Previous Winners
                          Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
                          Resources
                          Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software