Currently browsing

MVC Developers Part 7 – Custom System Configuration

One of the most powerful elements of the Magento e-commerce system is the System Admin Config section. As a developer, will it allow you to quickly and easily set, elements that allow your end-users to their system and your Magento custom modules to configure.

Like a lot of things in Magento can be intimidating the first time you try to install a new configuration section from scratch, but once you done it once the power of (almost) code will form a less addictive. Let us begin.

magento – instantiation abstraction and Autoload

If you Aore at all familiar with object-oriented programming, the following line should you look for familiar. $customer_group = new Mage_Customer_Model_Group(); We, Aore instantiating an instance of the class Mage_Customer_Model_Group. However, if you were looking at the code base for Magento Mage_Customer_Model_Group you, AOD never a single expression that everything …

MVC Developers Part 6 – Entity Attribute Value

In our last article we told you there were two types of models in Magento. Regular, or “simple” models, and entity attribute value (or EAV) model. We also told you this was a bit of a fib. Here is where we come clean.

The following is part of a longer series on Magento aimed at developers familiar with PHP MVC development. Although each article can be read stand alone, each article is based on concepts and code covered in previous articles. If you are confused, especially to catch up on the earlier work first.

MVC Developers Part 4 – models and Basics ORM

The implementation of a “Tier Models” is a large part of an MVC framework. It represents the details of your application, and most applications are useless without data. Magento Models play an even greater role, because they usually contain the “Business Logic” that often (good or bad) are relegated to the controller helper methods or other PHP MVC frameworks.

The following is part of a longer series on Magento aimed at developers familiar with PHP MVC development. Although each article can be read stand alone, each article is based on concepts discussed in earlier articles. If you are confused, especially to catch up on the earlier work first.