SlideShare a Scribd company logo
ZendCon 2009 Nov 4, 2009   |     | Magento – a Zend Framework application By Dmitriy Soroka System Architect at Varien
Magento Nov 4, 2009   |     |
Magento today 1,000,000+ downloads  ~70 core modules in Community Edition  and  ~20 in Enterprise Edition Magento Core Team Magento community Magento connect Nov 4, 2009   |     |
Magento under the hood PHP 5 OOP (MVC) Zend Framework Modular Architecture  Nov 4, 2009   |     |
Nov 4, 2009   |     | Select Magento Platform Frameworks CMS/CMF Systems E-Commerce Zend Framework CakePHP CodeIgniter Symfony etc. Joomla Drupal EZ Publisher Mambo etc. osCommerce VirtueMart Zen-Cart xCart etc.
MVC architecture Good documentation Robust functionality Comunity Zend - the PHP company Fast  growth PHP applications standard  ZF based application provides clear understanding for PHP developers Clear development process and ability to contribute custom components Nov 4, 2009   |     | Going with the Zend Framework
Application Level Components Zend_Controller, Zend_View, Zend_Layout, Zend_Form etc. Localization/Internationalization Level Components Zend_Locale, Zend_Date, Zend_Currency, Zend_ Measure, Zend_Translate Data Level Components Zend_Db, Zend_Dom, Zend_Feed, Zend_Search etc. Services Zend_Gdata, Zend_Services, Zend_Soap etc. Nov 4, 2009   |     | Zend Framework Functionality
Zend_Controller Zend_View Zend_Config Zend_Application  (since 1.8.0!) Nov 4, 2009   |     | ZF components currently not used in Magento
Support multiple module routing Internal URL rewrite logic http://domain.com/product.html  => catalog/product/view/id/1   Additional entry points  Magento events Nov 4, 2009   |     | Magento Controller
Nov 4, 2009   |     | View level: Page Layout
Nov 4, 2009   |     | View level: Blocks page structure
Nov 4, 2009   |     | View level: Multiple themes support
About 15 ZF components are currently used We plan to use ~10 more components Goal – to use as many native ZF components as possible Nov 4, 2009   |     | ZF components used in Magento
Nov 4, 2009   |     | Zend_Acl
Files APC (shared memory) Memcached eAccelerator Xcache ZendPlatform ZendServer Nov 4, 2009   |     | Zend_Cache: backend models
Nov 4, 2009   |     | Zend_Cache: single server installation
Nov 4, 2009   |     | Zend_Cache: multiple frontends
Zend_Db_Adapter Allows for integrating with different DB storage Simplifies data managing operations Zend_Db_Select Nov 4, 2009   |     | Zend_Db
Nov 4, 2009   |     | Zend_Locale, Zend_Date, Zend_Currency
Nov 4, 2009   |     | Multiple locales support
Zend_Pdf Zend_Feed Zend_Mail Zend_Validate Zend_Filter Nov 4, 2009   |     | Other ZF components in Magento
Nov 4, 2009   |     | Coming Soon Zend_Application Zend_Crypt Zend_Form Zend_Layout Zend_Measure Zend_Navigation Zend_Paginator Zend_Tag …
Nov 4, 2009   |     | Zend_Form Customer attributes as form fields  Form validation and filtering is easy Integration with display logic
Nov 4, 2009   |     | ZF application and Magento Application ZF Application Magento Application application/         configs/         controllers/         layouts/         models/         modules/         services/         views/         Bootstrap.php data/         locales/         uploads/ library/ public/         css/         images/         js/         .htaccess         index.php scripts/         jobs/         build/ temp/ tests/ app/ code/ community/ core/ Mage/ .. modules local/ design/ adminhtml/ frontend/ install/ etc/ locale/ js/ lib/ Varien/ Zend/ media/ skin/ adminhtml/ frontend/ install/ var /
Nov 4, 2009   |     | ZF Module and Magento module structure ZF Module Magento Module <modulename>     configs/     controllers/     forms/     layouts/         filters/         helpers/         scripts/     models/     services/     views/         filters/         helpers/         scripts/     Bootstrap.php <modulename> Block/ controllers/ etc/ Helper/ Model/ Sql/
Nov 4, 2009   |     | Module Dependency
Dependency is specified in module declaration (app/etc/modules/*.xml)  Dependency determines the order in which the database is built/updated Example:   <config>     <modules>         <Mage_Bundle>             <active>true</active>             <codePool>core</codePool>             <depends>                 <Mage_Catalog />             </depends>         </Mage_Bundle>     </modules> </config>   Nov 4, 2009   |     | Module Dependency
Nov 4, 2009   |     | Module Installation and Upgrade
Code Pools /app/code/ core/ community/ local/ Configuration models, blocks, helpers     Nov 4, 2009   |     | Overwriting Magento
Class overwriting (Model Example) Create new module  (Ex: local/MyProject/MyModule) Create class for your model customization  (Ex: MyProject_MyModule_Model_Customer extends Mage_Customer_Model_Customer) Add overwriting instructions to config.xml  <config>             <global>                 <models>                     <customer>                          <rewrite>                             <customer>MyProject_MyModule_Model_Customer</customer>                         </rewrite> Overwrite needed methods in your class Now  Mage::getModel('customer/customer')    => new MyProject_MyModule_Model_Customer  Nov 4, 2009   |     | Overwriting Core Model
Nov 4, 2009   |     | http://www.magentocommerce.com   [email_address]

More Related Content

What's hot (20)

PPTX
Django
Abhijeet Shekhar
 
ODP
GAEO
guest1d183d
 
KEY
LvivPy - Flask in details
Max Klymyshyn
 
PDF
Scalable web application architecture
postrational
 
PDF
Python Flask Tutorial For Beginners | Flask Web Development Tutorial | Python...
Edureka!
 
PPTX
Jasmine with JS-Test-Driver
Devesh Chanchlani
 
PDF
Build website in_django
swee meng ng
 
PPTX
Django Architecture Introduction
Haiqi Chen
 
PPT
Django, What is it, Why is it cool?
Tom Brander
 
PDF
Don't worry be API with Slim framework and Joomla
Pierre-André Vullioud
 
PPTX
REST API for your WP7 App
Agnius Paradnikas
 
PDF
Ride on the Fast Track of Web with Ruby on Rails- Part 2
A.K.M. Ahsrafuzzaman
 
PDF
Writing Software not Code with Cucumber
Ben Mabey
 
PDF
Kicking off with Zend Expressive and Doctrine ORM (PHPNW2016)
James Titcumb
 
PDF
Introduction to django
Ilian Iliev
 
PDF
Extending the WordPress REST API - Josh Pollock
Caldera Labs
 
PDF
Quick flask an intro to flask
juzten
 
PDF
Automated Testing with Ruby
Keith Pitty
 
PDF
Django Framework and Application Structure
SEONGTAEK OH
 
PPTX
The Django Web Application Framework 2
fishwarter
 
LvivPy - Flask in details
Max Klymyshyn
 
Scalable web application architecture
postrational
 
Python Flask Tutorial For Beginners | Flask Web Development Tutorial | Python...
Edureka!
 
Jasmine with JS-Test-Driver
Devesh Chanchlani
 
Build website in_django
swee meng ng
 
Django Architecture Introduction
Haiqi Chen
 
Django, What is it, Why is it cool?
Tom Brander
 
Don't worry be API with Slim framework and Joomla
Pierre-André Vullioud
 
REST API for your WP7 App
Agnius Paradnikas
 
Ride on the Fast Track of Web with Ruby on Rails- Part 2
A.K.M. Ahsrafuzzaman
 
Writing Software not Code with Cucumber
Ben Mabey
 
Kicking off with Zend Expressive and Doctrine ORM (PHPNW2016)
James Titcumb
 
Introduction to django
Ilian Iliev
 
Extending the WordPress REST API - Josh Pollock
Caldera Labs
 
Quick flask an intro to flask
juzten
 
Automated Testing with Ruby
Keith Pitty
 
Django Framework and Application Structure
SEONGTAEK OH
 
The Django Web Application Framework 2
fishwarter
 

Viewers also liked (20)

DOC
NV ASTRID boekte 60 miljoen euro verlies in 2015
Thierry Debels
 
PDF
MySQL Manchester TT - Replication Features
Mark Swarbrick
 
PDF
Oracle Compute Cloud Service介绍
Zhaoyang Wang
 
PDF
A Storage Story #ChefConf2013
Kyle Bader
 
KEY
Framework Shootout
ZendCon
 
PDF
Oracle Compute Cloud Service快速实践
Zhaoyang Wang
 
PDF
Why MySQL High Availability Matters
Mark Swarbrick
 
PDF
Solving the C20K problem: Raising the bar in PHP Performance and Scalability
ZendCon
 
PDF
MySQL Manchester TT - 5.7 Whats new
Mark Swarbrick
 
PDF
Oracle cloud 使用云市场快速搭建小型电商网站
Zhaoyang Wang
 
PPTX
MySQL Optimizer Overview
Olav Sandstå
 
PPT
PHP on Windows - What's New
ZendCon
 
PDF
Zend Core on IBM i - Security Considerations
ZendCon
 
PPTX
PHP on IBM i Tutorial
ZendCon
 
PDF
Tiery Eyed
ZendCon
 
PDF
Script it
Giuseppe Maxia
 
PPTX
PHP and Platform Independance in the Cloud
ZendCon
 
KEY
Zend_Tool: Practical use and Extending
ZendCon
 
PPT
MySQL Tech Tour 2015 - 5.7 Connector/J/Net
Mark Swarbrick
 
PDF
MySQL in your laptop
Giuseppe Maxia
 
NV ASTRID boekte 60 miljoen euro verlies in 2015
Thierry Debels
 
MySQL Manchester TT - Replication Features
Mark Swarbrick
 
Oracle Compute Cloud Service介绍
Zhaoyang Wang
 
A Storage Story #ChefConf2013
Kyle Bader
 
Framework Shootout
ZendCon
 
Oracle Compute Cloud Service快速实践
Zhaoyang Wang
 
Why MySQL High Availability Matters
Mark Swarbrick
 
Solving the C20K problem: Raising the bar in PHP Performance and Scalability
ZendCon
 
MySQL Manchester TT - 5.7 Whats new
Mark Swarbrick
 
Oracle cloud 使用云市场快速搭建小型电商网站
Zhaoyang Wang
 
MySQL Optimizer Overview
Olav Sandstå
 
PHP on Windows - What's New
ZendCon
 
Zend Core on IBM i - Security Considerations
ZendCon
 
PHP on IBM i Tutorial
ZendCon
 
Tiery Eyed
ZendCon
 
Script it
Giuseppe Maxia
 
PHP and Platform Independance in the Cloud
ZendCon
 
Zend_Tool: Practical use and Extending
ZendCon
 
MySQL Tech Tour 2015 - 5.7 Connector/J/Net
Mark Swarbrick
 
MySQL in your laptop
Giuseppe Maxia
 
Ad

Similar to Magento - a Zend Framework Application (20)

PPT
Magento eCommerce And The Next Generation Of PHP
varien
 
PPTX
php[world] Magento101
Mathew Beane
 
PPTX
Zendcon magento101
Mathew Beane
 
PDF
Yoav Kutner Dutchento
Guido X Jansen
 
PPT
Jan Burkl - Zend & Magento
Guido X Jansen
 
PDF
Magento 2 - An Intro to a Modern PHP-Based System - ZendCon 2015
Joshua Warren
 
PDF
A shop goes shopping - running Magento on Amazon EC2
Zend by Rogue Wave Software
 
PDF
Magento++
Alessandro Nadalin
 
PPTX
Get Started with Zend Framework 2
Mindfire Solutions
 
PDF
Optimizing Magento Performance with Zend Server
varien
 
PDF
Макс Екатериненко - Meet Magento Ukraine - Magento 2 Overview
Atwix
 
PDF
Magento 2 Backend Development Essentials
BarnyShergold1
 
PPTX
Madison PHP - Getting Started with Magento 2
Mathew Beane
 
PPTX
Magento 2 overview. Alan Kent
MeetMagentoNY2014
 
PPTX
Magento 2 : development and features
Commit Software Sh.p.k.
 
PDF
Magento 2 - An Intro to a Modern PHP-Based System - Northeast PHP 2015
Joshua Warren
 
PPTX
Meet Magento Belarus - Sergey Ivashchenko
Amasty
 
PDF
Design patterns in Magento
Divante
 
PDF
Introduction to Magento
Singapore PHP User Group
 
PPTX
Virtues of platform development
Phillip Jackson
 
Magento eCommerce And The Next Generation Of PHP
varien
 
php[world] Magento101
Mathew Beane
 
Zendcon magento101
Mathew Beane
 
Yoav Kutner Dutchento
Guido X Jansen
 
Jan Burkl - Zend & Magento
Guido X Jansen
 
Magento 2 - An Intro to a Modern PHP-Based System - ZendCon 2015
Joshua Warren
 
A shop goes shopping - running Magento on Amazon EC2
Zend by Rogue Wave Software
 
Get Started with Zend Framework 2
Mindfire Solutions
 
Optimizing Magento Performance with Zend Server
varien
 
Макс Екатериненко - Meet Magento Ukraine - Magento 2 Overview
Atwix
 
Magento 2 Backend Development Essentials
BarnyShergold1
 
Madison PHP - Getting Started with Magento 2
Mathew Beane
 
Magento 2 overview. Alan Kent
MeetMagentoNY2014
 
Magento 2 : development and features
Commit Software Sh.p.k.
 
Magento 2 - An Intro to a Modern PHP-Based System - Northeast PHP 2015
Joshua Warren
 
Meet Magento Belarus - Sergey Ivashchenko
Amasty
 
Design patterns in Magento
Divante
 
Introduction to Magento
Singapore PHP User Group
 
Virtues of platform development
Phillip Jackson
 
Ad

More from ZendCon (20)

PPT
I18n with PHP 5.3
ZendCon
 
PDF
Cloud Computing: The Hard Problems Never Go Away
ZendCon
 
PPT
Planning for Synchronization with Browser-Local Databases
ZendCon
 
PDF
Enterprise-Class PHP Security
ZendCon
 
PDF
PHP and IBM i - Database Alternatives
ZendCon
 
PDF
Insights from the Experts: How PHP Leaders Are Transforming High-Impact PHP A...
ZendCon
 
PDF
Joe Staner Zend Con 2008
ZendCon
 
PDF
Make your PHP Application Software-as-a-Service (SaaS) Ready with the Paralle...
ZendCon
 
PDF
DB2 Storage Engine for MySQL and Open Source Applications Session
ZendCon
 
PDF
Digital Identity
ZendCon
 
PDF
Modernizing i5 Applications
ZendCon
 
PDF
Lesser Known Security Problems in PHP Applications
ZendCon
 
PDF
Architecting for PHP5 - Why "Runs on PHP5" is not "Written for PHP5"
ZendCon
 
PDF
SQL Query Tuning: The Legend of Drunken Query Master
ZendCon
 
PDF
ZendCon 2008 Closing Keynote
ZendCon
 
PDF
Top Zend Studio Secrets
ZendCon
 
PDF
VIM for (PHP) Programmers
ZendCon
 
PDF
Test Driven Development
ZendCon
 
PDF
Rickroll To Go With PHP, WURFL, and Other Open Source Tools
ZendCon
 
PDF
PECL Picks - Extensions to make your life better
ZendCon
 
I18n with PHP 5.3
ZendCon
 
Cloud Computing: The Hard Problems Never Go Away
ZendCon
 
Planning for Synchronization with Browser-Local Databases
ZendCon
 
Enterprise-Class PHP Security
ZendCon
 
PHP and IBM i - Database Alternatives
ZendCon
 
Insights from the Experts: How PHP Leaders Are Transforming High-Impact PHP A...
ZendCon
 
Joe Staner Zend Con 2008
ZendCon
 
Make your PHP Application Software-as-a-Service (SaaS) Ready with the Paralle...
ZendCon
 
DB2 Storage Engine for MySQL and Open Source Applications Session
ZendCon
 
Digital Identity
ZendCon
 
Modernizing i5 Applications
ZendCon
 
Lesser Known Security Problems in PHP Applications
ZendCon
 
Architecting for PHP5 - Why "Runs on PHP5" is not "Written for PHP5"
ZendCon
 
SQL Query Tuning: The Legend of Drunken Query Master
ZendCon
 
ZendCon 2008 Closing Keynote
ZendCon
 
Top Zend Studio Secrets
ZendCon
 
VIM for (PHP) Programmers
ZendCon
 
Test Driven Development
ZendCon
 
Rickroll To Go With PHP, WURFL, and Other Open Source Tools
ZendCon
 
PECL Picks - Extensions to make your life better
ZendCon
 

Recently uploaded (20)

DOCX
Python coding for beginners !! Start now!#
Rajni Bhardwaj Grover
 
PDF
New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
PDF
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
PDF
Biography of Daniel Podor.pdf
Daniel Podor
 
PDF
Exolore The Essential AI Tools in 2025.pdf
Srinivasan M
 
PPTX
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
PDF
The Rise of AI and IoT in Mobile App Tech.pdf
IMG Global Infotech
 
PDF
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
PPTX
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
Fwdays
 
PDF
LOOPS in C Programming Language - Technology
RishabhDwivedi43
 
PDF
“NPU IP Hardware Shaped Through Software and Use-case Analysis,” a Presentati...
Edge AI and Vision Alliance
 
PDF
Transcript: New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
PPTX
AUTOMATION AND ROBOTICS IN PHARMA INDUSTRY.pptx
sameeraaabegumm
 
PPTX
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
DOCX
Cryptography Quiz: test your knowledge of this important security concept.
Rajni Bhardwaj Grover
 
PDF
What Makes Contify’s News API Stand Out: Key Features at a Glance
Contify
 
PDF
IoT-Powered Industrial Transformation – Smart Manufacturing to Connected Heal...
Rejig Digital
 
PDF
Using FME to Develop Self-Service CAD Applications for a Major UK Police Force
Safe Software
 
PPTX
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
PDF
POV_ Why Enterprises Need to Find Value in ZERO.pdf
darshakparmar
 
Python coding for beginners !! Start now!#
Rajni Bhardwaj Grover
 
New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
Biography of Daniel Podor.pdf
Daniel Podor
 
Exolore The Essential AI Tools in 2025.pdf
Srinivasan M
 
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
The Rise of AI and IoT in Mobile App Tech.pdf
IMG Global Infotech
 
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
Fwdays
 
LOOPS in C Programming Language - Technology
RishabhDwivedi43
 
“NPU IP Hardware Shaped Through Software and Use-case Analysis,” a Presentati...
Edge AI and Vision Alliance
 
Transcript: New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
AUTOMATION AND ROBOTICS IN PHARMA INDUSTRY.pptx
sameeraaabegumm
 
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
Cryptography Quiz: test your knowledge of this important security concept.
Rajni Bhardwaj Grover
 
What Makes Contify’s News API Stand Out: Key Features at a Glance
Contify
 
IoT-Powered Industrial Transformation – Smart Manufacturing to Connected Heal...
Rejig Digital
 
Using FME to Develop Self-Service CAD Applications for a Major UK Police Force
Safe Software
 
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
POV_ Why Enterprises Need to Find Value in ZERO.pdf
darshakparmar
 

Magento - a Zend Framework Application

  • 1. ZendCon 2009 Nov 4, 2009 | | Magento – a Zend Framework application By Dmitriy Soroka System Architect at Varien
  • 2. Magento Nov 4, 2009 | |
  • 3. Magento today 1,000,000+ downloads ~70 core modules in Community Edition and ~20 in Enterprise Edition Magento Core Team Magento community Magento connect Nov 4, 2009 | |
  • 4. Magento under the hood PHP 5 OOP (MVC) Zend Framework Modular Architecture Nov 4, 2009 | |
  • 5. Nov 4, 2009 | | Select Magento Platform Frameworks CMS/CMF Systems E-Commerce Zend Framework CakePHP CodeIgniter Symfony etc. Joomla Drupal EZ Publisher Mambo etc. osCommerce VirtueMart Zen-Cart xCart etc.
  • 6. MVC architecture Good documentation Robust functionality Comunity Zend - the PHP company Fast growth PHP applications standard ZF based application provides clear understanding for PHP developers Clear development process and ability to contribute custom components Nov 4, 2009 | | Going with the Zend Framework
  • 7. Application Level Components Zend_Controller, Zend_View, Zend_Layout, Zend_Form etc. Localization/Internationalization Level Components Zend_Locale, Zend_Date, Zend_Currency, Zend_ Measure, Zend_Translate Data Level Components Zend_Db, Zend_Dom, Zend_Feed, Zend_Search etc. Services Zend_Gdata, Zend_Services, Zend_Soap etc. Nov 4, 2009 | | Zend Framework Functionality
  • 8. Zend_Controller Zend_View Zend_Config Zend_Application (since 1.8.0!) Nov 4, 2009 | | ZF components currently not used in Magento
  • 9. Support multiple module routing Internal URL rewrite logic http://domain.com/product.html => catalog/product/view/id/1 Additional entry points Magento events Nov 4, 2009 | | Magento Controller
  • 10. Nov 4, 2009 | | View level: Page Layout
  • 11. Nov 4, 2009 | | View level: Blocks page structure
  • 12. Nov 4, 2009 | | View level: Multiple themes support
  • 13. About 15 ZF components are currently used We plan to use ~10 more components Goal – to use as many native ZF components as possible Nov 4, 2009 | | ZF components used in Magento
  • 14. Nov 4, 2009 | | Zend_Acl
  • 15. Files APC (shared memory) Memcached eAccelerator Xcache ZendPlatform ZendServer Nov 4, 2009 | | Zend_Cache: backend models
  • 16. Nov 4, 2009 | | Zend_Cache: single server installation
  • 17. Nov 4, 2009 | | Zend_Cache: multiple frontends
  • 18. Zend_Db_Adapter Allows for integrating with different DB storage Simplifies data managing operations Zend_Db_Select Nov 4, 2009 | | Zend_Db
  • 19. Nov 4, 2009 | | Zend_Locale, Zend_Date, Zend_Currency
  • 20. Nov 4, 2009 | | Multiple locales support
  • 21. Zend_Pdf Zend_Feed Zend_Mail Zend_Validate Zend_Filter Nov 4, 2009 | | Other ZF components in Magento
  • 22. Nov 4, 2009 | | Coming Soon Zend_Application Zend_Crypt Zend_Form Zend_Layout Zend_Measure Zend_Navigation Zend_Paginator Zend_Tag …
  • 23. Nov 4, 2009 | | Zend_Form Customer attributes as form fields Form validation and filtering is easy Integration with display logic
  • 24. Nov 4, 2009 | | ZF application and Magento Application ZF Application Magento Application application/         configs/         controllers/         layouts/         models/         modules/         services/         views/         Bootstrap.php data/         locales/         uploads/ library/ public/         css/         images/         js/         .htaccess         index.php scripts/         jobs/         build/ temp/ tests/ app/ code/ community/ core/ Mage/ .. modules local/ design/ adminhtml/ frontend/ install/ etc/ locale/ js/ lib/ Varien/ Zend/ media/ skin/ adminhtml/ frontend/ install/ var /
  • 25. Nov 4, 2009 | | ZF Module and Magento module structure ZF Module Magento Module <modulename>     configs/     controllers/     forms/     layouts/         filters/         helpers/         scripts/     models/     services/     views/         filters/         helpers/         scripts/     Bootstrap.php <modulename> Block/ controllers/ etc/ Helper/ Model/ Sql/
  • 26. Nov 4, 2009 | | Module Dependency
  • 27. Dependency is specified in module declaration (app/etc/modules/*.xml) Dependency determines the order in which the database is built/updated Example: <config>     <modules>         <Mage_Bundle>             <active>true</active>             <codePool>core</codePool>             <depends>                 <Mage_Catalog />             </depends>         </Mage_Bundle>     </modules> </config> Nov 4, 2009 | | Module Dependency
  • 28. Nov 4, 2009 | | Module Installation and Upgrade
  • 29. Code Pools /app/code/ core/ community/ local/ Configuration models, blocks, helpers Nov 4, 2009 | | Overwriting Magento
  • 30. Class overwriting (Model Example) Create new module (Ex: local/MyProject/MyModule) Create class for your model customization (Ex: MyProject_MyModule_Model_Customer extends Mage_Customer_Model_Customer) Add overwriting instructions to config.xml <config>             <global>                 <models>                     <customer>                          <rewrite>                             <customer>MyProject_MyModule_Model_Customer</customer>                         </rewrite> Overwrite needed methods in your class Now Mage::getModel('customer/customer')   => new MyProject_MyModule_Model_Customer Nov 4, 2009 | | Overwriting Core Model
  • 31. Nov 4, 2009 | | http://www.magentocommerce.com [email_address]