Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
SlideShare a Scribd company logo
April 25, 2014
Magento PowerPoint Template
© 2013
© 2013
Code structure
1. “Magento Framework” extracted
2. Modules split
3. Code pools eliminated
4. Mage -> Magento
Lib/Magento
Acl
App
Archive
Authorization
Autoload
Backup
Cache
Code
Config
Connect
Controller
Convert
Css
Data
DB
DomDocument
Encryption
…
© 2013
Dependency Injection
class FrontController implements FrontControllerInterface
{
/**
* @param RouterList $routerList
*/
public function __construct(RouterList $routerList)
{
$this->_routerList = $routerList;
}
}
© 2013
Unit Tests
© 2013
© 2013
Composition Root
Dependency Injection
© 2013
Dependency Injection
AreaApplication
EntryPoint
Cron App
Web App
WebAPI
Admin
FrontendMedia App
© 2013
Configuration
Primary Global Area Specific
Dependency Injection
(di.xml)
+ + +
Store Configuration
(config.xml)
+
Events
(events.xml)
+ +
Routes
(routes.xml)
+
Cache Types
(cache.xml)
+
© 2013
Ability to observe public calls
Interception
© 2013

More Related Content

Magento devhub