This presentation introduces Zend Framework 2 and talks about the various benefits of using this PHP framework.
Get 50% discount on my online Zend Framework 2 course by following the below link!
https://www.udemy.com/zend-framework-2-from-beginner-to-professional/?couponCode=SS10&utm_source=slideshare&utm_campaign=sspresentation&utm_medium=referral
2. What is Zend Framework 2?
A popular and professional open source PHP framework
Builds on best practices
Enterprise ‘friendly’
Modern in that it utilizes new tools and technologies
Enables developers to write better code, and to write it fast
Mainly used for web applications
Initially released in September 2012
4. Modular architecture
Code is logically separated into modules
Modularity is a core part of the framework, unlike in ZF1
Separation of concerns
Cleaner and more structured code
Highly extensible
5. Modern
Uses modern PHP features (PHP >= 5.3)
Namespaces
Lambda functions and closures
Late static binding
100% object-oriented
All of the code base is written within classes - and almost all of your code will be, too!
6. Loosely coupled components
ZF2 components are developed with minimal dependencies on other
components
Together, the components form an extensive web application framework
Zend Framework 2 is mostly used for web application, but not exclusively
Components can be used as standalone libraries
Even in applications that are not developed in ZF2!
7. Dependency Injection (DI)
ZF2 provides a dependency injection container
Manages dependencies among services/objects
Implements IoC (Inversion of Control)
Also accomplishes this by implementing the service locator pattern
The benefits of using dependency injection are many
The code base is much, much easier to test
Avoid repeatably wiring objects together
8. Extensively unit tested
Zend Framework 2 is extensively unit tested with phpUnit
This means that the framework is more robust
Less error prone when new features or patches are introduced
The ZF2 project uses Git for revision control, and pull requests must be
accompanied with appropriate unit tests
Ensures a higher code standard than many other open source projects
Good quality control is enforced
9. and much more!
This presentation is part of my Zend Framework 2 online course.
Get 50% discount by navigating to the below URL!
https://www.udemy.com/zend-framework-2-from-beginner-to-
professional/?couponCode=SS50