Book Image

Magento 1.8 Development Cookbook

By : Bart Delvaux, Nurul Ferdous
Book Image

Magento 1.8 Development Cookbook

By: Bart Delvaux, Nurul Ferdous

Overview of this book

<p>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.</p> <p>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!</p> <p>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.</p> <p>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.</p>
Table of Contents (19 chapters)
Magento 1.8 Development Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Finding your way in the tables


When you look at the tables, you will realize that the number of tables is very high. In a standard installation, there are more than 300 database tables. A structured naming convention is needed to find your way in this maze of tables.

Getting ready

In this recipe, we will make some queries to the database to get an idea of the tables and their purpose.

Here, you have to firstly make a connection with your database client using phpMyAdmin.

How to do it...

In the next steps, we will learn some methods to familiarize you with the database model in Magento:

  1. Get a list of the core modules. You can do this by running the ls –l command in the app/code/core/Mage folder. This will give you the following output:

    drwxrwxr-x  7 www-data www-data Admin
    drwxrwxr-x  8 www-data www-data Adminhtml
    drwxrwxr-x  6 www-data www-data AdminNotification
    drwxrwxr-x  8 www-data www-data Api
    drwxrwxr-x  8 www-data www-data Api2
    drwxrwxr-x  7 www-data www-data Authorizenet
    drwxrwxr-x  5...