Certification

Themes in Magento. Part IV (Magento Certified Developer Exam)

February 11, 2013 / Posted in Certification by Mishel Soiko
Themes in Magento. Part IV (Magento Certified Developer Exam)
Download PDF

renderLayout

Before we begin, let us sum up what we know about loadLayout  since in previous parts pretty much information  has been provided.

  1. Mage::getSingleton(‘core/layout’)->getNode()
  2. We declared all Block classes  and executed all found Actions.
  3. Each Block knows its descendants. So now, launching the main block rendering we will step by step render the entire page.
  4. The initial block for rendering has been defined. <block  …  name=”root” output=”toHtml”>

All this, and even more you can find in the loadLayout chapter. That was all pretty interesting, but we still have more to show you! (more…)

Themes in Magento. Part II (Magento Certified Developer Exam)

February 6, 2013 / Posted in Certification by Mishel Soiko
Themes in Magento. Part II (Magento Certified Developer Exam)
Download PDF

How it works

In this article I am going to shed light on the classes and functions which work with Magento themes.

Main classes:

  1. Mage_Core_Model_Layout
  2. Mage_Core_Model_Layout_Update
  3. Mage_Core_Model_Design
  4. Mage_Core_Model_Design_Package
  5. Mage_Core_Block_Templat

So, where does it all start?

Well, I am not going bother you with the detailed description of how Magento is launched from the outset.  Instead, I would like to begin with Controllers, since they launch the assembling of a shop theme . (more…)

Themes in Magento. Part I (Magento Certified Developer Exam)

February 1, 2013 / Posted in Certification by Mishel Soiko
Themes in Magento. Part I (Magento Certified Developer Exam)
Download PDF

First of all, we’d like to extend the topic to “How to create a web site using the Magento CMS”. The reason for it is that it is the theme(s) creation (including the mobile ones) the user starts the development of the store with.

The principal thing in theme creation is the desire to update to a new Magento version without facing problems. For now the final versions of Magento Community 1.7 and Enterprise 1.12 came out, and you would say “Why think of updating, Magento 2 is already being designed, whereas the development of the first version has been brought to a stop”. Well, what about updating the extensions then? If we do something, we prefer it to be done faultlessly. It will always stand us in good stead using the second Magento version. (more…)

Module Initialization (Magento Certified Developer Exam)

December 27, 2012 / Posted in Certification by Andrei Danilchyk
Module Initialization (Magento Certified Developer Exam)
Download PDF

This post covers a simple and, at the same time, a very important topic of module initialization in Magento. No extension can be developed without knowledge about it. As a rule, a developer takes a ready-to-use initialization template without even knowing how it works. That is why I want to provide a detailed picture of the correct way to initialize your module and construct complex systems of several dependent extensions.

So, here we go. Initialization of every module as well as “building” of the whole Magento configuration starts in the “magical” app/etc folder. Even earlier, to be more specific – from the Mage::run() method in the index.php file: (more…)