Currently browsing

Magento Translations module

One of the best things in Magento, you can easily add new languages on its Web site. It is done all using CSV files – a file for a module for each language. For most major languages translations are available as free Magento Magento Connect modules. The product seems to …

MVC Developers Part 2 – Magento Controller Shipping and Hello World

The Model-View-Controller (MVC) architecture traces its roots back to the programming language Smalltalk and Xerox Parc. Since then, many systems to describe their architecture and MVC. Each system is different, but they all have the goal of separating data access, business logic and user interface code from each other.

The architecture of PHP MVC frameworks, most will look something like this.

Magento Developer Certification Topics Index

1 – Basics This topic comprises approximately 5% of the exam. Questions are drawn randomly from the following objectives: Fundamentals ○ Describe and apply basic principles and processes of Object Oriented Programming (OOP) and Model-View-Controller (MVC) to build Magento websites ○ Identify and describe the principles of Event-Driven Architecture (EDA) …

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 9 – Varien Data Collections

Originally as a PHP programmer, if you wanted to gather together a group of related variables that you had a choice, the venerable Array. Although it shares a name with C's array of memory addresses, a PHP array is a general purpose dictionary like object with the behavior of a numerically indexed array variable.

In other languages, the choice is not so simple. You have several data structures to choose from, each with specific advantages in storage, speed and semantics. The PHP philosophy was to remove that choice from the client programmer and give them a useful data structure that was “good enough”. I have long held that PHP arrays are a major reason for the popularity of the platform.