Book Image

Magento PHP Developer's Guide

By : Allan MacGregor
Book Image

Magento PHP Developer's Guide

By: Allan MacGregor

Overview of this book

<p>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.</p> <p>"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.</p> <p>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.</p> <p>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.</p> <p>"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.</p>
Table of Contents (16 chapters)
Magento PHP Developer's Guide
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Extending Magento


Before jumping ahead and start building our extension, let's define an example scenario and a scope for our extension. This way we will have a clear idea of what we are building and more importantly, of what we are not building.

Scenario

Our scenario is simple; we want to extend Magento to allow customers to create gift registry lists and share them with friends and family. Customers should be able to create multiple gift registries and specify the recipients of those gift registries.

A gift registry will hold the following information:

  • Event type

  • Event name

  • Event date

  • Event location

  • List of products

Features

Have a look at the following features:

  • Store administrator can define multiple event types (birthdays, weddings, and gift registries)

  • Create events and assign multiple gift registry lists to each event

  • Customers can add products to their registries from the cart, wish list, or directly from the product pages

  • Customers can have multiple gift registries

  • People can share their registries...