Magento development chapter 5: Model and model resource development.