The Magento REST API: A Better Way to Integrate Business Applications
May 17, 2012 | in Magento Knowledge Base
May 17, 2012 | in Magento Knowledge Base
April 9, 2012 | in Magento Knowledge Base
January 25, 2012 | in Magento Tutorials
December 15, 2011 | in Magento Tutorials
October 14, 2011 | in Magento Tutorials
March 28, 2011 | in Magento Tutorials
Still searching a best way to intergrate your magento with wordpress, you can have it done in a few small steps, no more headache. Try Fishpig’s Magento/WordPresss Integration Extension, and [...]
March 1, 2011 | in Magento Step by Step
Originally, as a PHP programmer, if you wanted to collect together a group of related variables you had one choice, the venerable Array. While it shares a name with C's array of memory addresses, a PHP array is a general purpose dictionary like object combined with the behaviors of a numerically indexed mutable array.
In other languages the choice isn't so simple. You have multiple data structures to chose from, each offering particular advantages in storage, speed and semantics. The PHP philosophy was to remove this choice from the client programmer and give them one useful data structure that was "good enough".
All of this is galling to a certain type of software developer, and PHP 5 set out to change the status quo by offering built-in classes and interfaces that allow you to create your own data structures.
March 1, 2011 | in Magento Step by Step
In the first ORM article we told you there were two kinds of Models in Magento. Regular, or "simple" Models, and Entity Attribute Value (or EAV) Models. We also told you this was a bit of a fib. Here's where we come clean.
ALL Magento Models inherit from the Mage_Core_Model_Abstract / Varien_Object chain. What makes something either a simple Model or an EAV Model is its Model Resource. While all resources extend the base Mage_Core_Model_Resource_Abstract class, simple Models have a resource that inherits from Mage_Core_Model_Mysql4_Abstract, and EAV Models have a resource that inherits from Mage_Eav_Model_Entity_Abstract
If you think about it, this makes sense. As the end-programmer-user of the system you want a set of methods you can use to talk to and manipulate your Models. You don't care what the back-end storage looks like, you just want to get properties and invoke methods that trigger business rules.
February 25, 2011 | in Magento Knowledge Base
Great news for customers and developers, full page cache is now come natively with magento community version 1.5.0.1, check it out yourself.
Magento Enterprise Edition already come with full page cache [...]
February 24, 2011 | in Magento Step by Step
On any fast paced software development project, the task of keeping the development and production databases in sync become a sticky wicket. Magento offers a system to create versioned resource migration scripts that can help your team deal with this often contentious part of the development process.
In the ORM article we created a model for a weblog post. At the time, we ran our CREATE TABLE statements directly against the database. This time, we'll create a Setup Resource for our module that will create the table for us. We'll also create an upgrade script for our module that will update an already installed module. The steps we'll need to take are