Currently browsing

Magento Model Code Generation

This is a quick one for advanced users, is a recent problem, I answered StackOverflow inspired.

Magento as well as about an abstract system as one of the advantages is the opportunity it presents metaprogramming. Drops action in a controller (which is the following code, you can define an internal function in PHP)

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.

Reindex Data Programmatically in Magento code / import

magento reindex programmaticallymagento There was a problem with reindexing processmagento index managementthere was a problem with reindexing process product flat dataSometime you need to run/force reindex from code for your custom Magento module or import script. This article will show how to deal this in best Magento code practice. You …

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.