Magento

Magento for Developers: Part 3 – Magento Controller Dispatch

The Model-View-Controller (MVC) architecture traces its origins back to the Smalltalk Programming language and Xerox Parc. Since then, there have been many systems that describe their architecture as MVC. Each system is slightly different, but all have the goal of separating data access, business logic, and user-interface code from one another. The architecture of most PHP MVC frameworks will looks something like this. A URL is intercepted by a single PHP file (usually called a Front Controller). This PHP file will examine the URL, and derive a Controller name and an Action name (a process that’s often called routing). The … Continue Reading…

Magento

Magento for Developers: Part 2 – The Magento Config

The config is the beating heart of the Magento System. It describes, in whole, almost any module, model, class, template, etc. than you’ll need to access. It’s a level of abstraction that most PHP developers aren’t used to working with, and while it adds development time in the form of confusion and head scratching, it also allows you an unprecedented amount of flexibility as far as overriding default system behaviors go. To start with, we’re going to create a Magento module that will let us view the system config in our web browser. Follow along by copying and pasting the … Continue Reading…

Magento

Magento for Developers: Part 1 – Introduction to Magento

What is Magento? It’s the most powerful online eCommerce platform in the universe and is changing the face of eCommerce forever. Of course, you already know that. What you may not realize is Magento’s also an object-oriented PHP Framework that can be used to develop modern, dynamic web applications that tap into Magento’s powerful eCommerce features. This is the first in a series of articles in which wee’re going to go on a whirlwind tour of Magento’s programming framework features. Don’t worry if you don’t follow everything immediately. As you study the system more everything in this article will start … Continue Reading…