4. Modern Tech Stack
❖ jQuery
❖ PHP 5.5 & 5.6
❖ HTML5+CSS3
❖ Less
❖ RequireJS
❖ No ZF2 though
5. ❖ Out of Box support for Varnish
❖ Redis support out of box in CE.
❖ Private & Public Cache
❖ FPC comes in M2 CE
❖ Improved Indexers
❖ Optimized Indexing
❖ Partial Indexing
❖ No - Manual Indexing
required.
Improved Performance &
Scalability
7. Simplified External Integration
Service Contracts
“A service contract is a set of PHP interfaces that are
defined for a module. A service contract includes data
interfaces, which preserve data integrity, and service
interfaces, which hide business logic details from service
requestors such as controllers, web services, and other
modules.”
Benefits of Using Service Contract:
1. Attempt to move business logic out from PHTML to
Model where it belongs.
2. Loosely coupled module
3. Less messy upgrade.
8. High Quality and Testing
Testing and
Automation
Framework
❖ Full set of automated Tests
❖ Magento Testing Framework
❖ Continuous Integration and Delivery
❖ Performance Testing
❖ Increased test coverage
❖ Regression Testing
9. Deployment Tool
❖ Standalone Web and CLI
installer
❖ CLI tools
❖ Composer integration
❖ Product and Software
versions
❖ Semantic versioning.
10. M1 developer notes❖ No Code Pools
❖ No new template engines, We still use PHTML.
❖ Skin folder removed.
❖ Module now contains PHTML and static files.
❖ Full support to php namespace
❖ There is almost no change at database level , Except some naming change and minor structural ones.
❖ You got jQuery.
❖ No shitty XML tags , validator is there now.
❖ More CLI tools
❖ deploy
❖ magento
❖ setup
❖ Cache
❖ Each Layout handles has got its own file.
❖ JS inclusion needs RequireJs config.
❖ Each Controller actions has got its own file.
❖ Plugin(Interception) is new thing. - Kinda closed to AOP .
❖ Event -Observer remains same except it has to be defined in event.xml
❖ New config files.
❖ New cache types.
❖ Rewrite becomes Di.xml preference tag