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

Websites and store scopes


One of the core features of Magento is the ability to handle multiple websites and stores with a single Magento installation; internally, Magento refers to each of these instances as scopes.

Values for certain elements such as products, categories, attributes, and configurations are scope specific and can differ on different scopes; this gives Magento tremendous flexibility, for example, a product can be set up on two different websites with different prices but can still share the rest of the attribute configuration.

As developers, one of the areas where we will be using scopes the most is when working with configuration. The different configuration scopes available in Magento are:

  • Global: As the name implies, this applies across all scopes.

  • Website: These are defined by a domain name and are composed by one or more stores. Websites can be set up to share customer data or be completely isolated.

  • Store: Stores are used to manage products and categories, and to group...