Free Sample
+ Collection

Magento PHP Developer’s Guide

Allan MacGregor

Get started with the flexible and powerful e-commerce framework, Magento
RRP $26.99
RRP $44.99
Print + eBook

Want this title & more?

$12.99 p/month

Subscribe to PacktLib

Enjoy full and instant access to over 2000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

Book Details

ISBN 139781782163060
Paperback256 pages

About This Book

  • Build your first Magento extension, step by step
  • Extend core Magento functionality, such as the API
  • Learn how to test your Magento code

Who This Book Is For

This book is written for developers who have previous experience with PHP and PHP frameworks, such as Zend or CakePHP, and want to start developing and working with Magento. Even developers with previous experience with Magento will find the book extremely useful to gain a full understanding of Magento fundamentals, architecture, and overall philosophy.

Table of Contents

Chapter 1: Understanding and Setting Up Our Development Environment
LAMP from scratch
Up and running with Vagrant
Choosing an IDE
Working with a version control system
Chapter 2: Magento Fundamentals for Developers
Zend Framework – the base of Magento
Magento folder structure
Modular architecture
Routing and request flow
Magento version of MVC
Websites and store scopes
Factory names and functions
Events and observers
Chapter 3: ORM and Data Collections
Magento Model Anatomy
EAV Model
Working with Magento collections
Using Direct SQL
Chapter 4: Frontend Development
Extending Magento
Hello Magento
XML module configuration
Models and saving data
Setting up our routes
Block and layouts
Chapter 5: Backend Development
Extending the Adminhtml
The grid widget
The form widget
Chapter 6: The Magento API
The Core API
Using the API
Extending the API
Securing the API
Chapter 7: Testing and Quality Assurance
Testing Magento
Tools and testing frameworks
Creating our first test
Chapter 8: Deployment and Distribution
The road towards zero-downtime deployment
Version control system and deployment
Publishing our extension

What You Will Learn

  • Understand the fundamental concepts of Magento
  • Deploy and distribute custom modules
  • Explore development techniques and tools for Magento
  • Extend Magento core functionality
  • Discover the design patterns which form Magento
  • Understand Magento architecture
  • Test Magento with different tools and frameworks

In Detail

Magento has completely reshaped the face of e-commerce since its launch in 2008. Its revolutionary focus on object oriented and EAV design patterns has allowed it to become the preferred tool for developers and retailers alike.

"Magento PHP Developer’s Guide" is a complete reference to Magento, allowing developers to understand its fundamental concepts, and get them developing and testing Magento code.

The book starts by building the reader’s knowledge of Magento, providing them with the information, techniques, and tools that they require to start their first Magento development.

After building this knowledge, the book will then look at more advanced topics: how to test your code, how to extend the frontend and backend, and deploying and distributing custom modules.

"Magento PHP Developer’s Guide" will help you navigate your way around your first Magento developments, helping you to avoid all of the most common headaches new developers face when first getting started.


Read More