13
Zend Framework Meetup Date: 5/1/2014 Event Host – Ajinkya Organizers – Aditya, Santosh, Vinay, Vikas & Uday. Link: http://www.meetup.com/PHP-Jagruti-Meetup-G roup/events/155337902 / Venue - Nigdi, Pune.

Why Zend Framework? - Meetup event!

Embed Size (px)

Citation preview

Page 1: Why Zend Framework? - Meetup event!

Zend FrameworkMeetup

Date: 5/1/2014 Event Host – Ajinkya Organizers – Aditya, Santosh, Vinay, Vikas &

Uday. Link:

http://www.meetup.com/PHP-Jagruti-Meetup-Group/events/155337902/

Venue - Nigdi, Pune.

Page 2: Why Zend Framework? - Meetup event!

About Me• Ajinkya Nahar• Professional PHP Consultant • LAMP Experience – 9 years +• Zend Certified Engineer –PHP 5.3 & ZF • LinkedIn - http://linkedin.com/pub/ajinkya-nahar/8/404/77b• Twitter - @ajinkyanahar

Page 3: Why Zend Framework? - Meetup event!

Agenda

MVC Introduction. Why Zend Framework? Comparison of Zend Framework 1.x and

Zend Framework 2.x Walk through of Major Zend Framework

Components. References

Page 4: Why Zend Framework? - Meetup event!

MVC MVC stands for Model View Controller Design

Pattern. Model contains the Business/Domain Logic

and Database Abstraction. Controller routes the requests to & fro

between View and Models. Different components in an ZF MVC

application are Routes, Front Controllers, Action Controllers, preDispatcher, postDispatcher, Models, Action/View Helpers, Components, Configuration, Partials, Views, Layouts.

Page 5: Why Zend Framework? - Meetup event!
Page 6: Why Zend Framework? - Meetup event!

Why Zend Framework? It uses PHP 5 to its full advantage. Everything is in the box. It has a modern object oriented design. It has full documentation and support. Development is simple & rapid. It has lot of in-built high quality

components including module support. Easy to learn. Internationalization support.

Page 7: Why Zend Framework? - Meetup event!

zf1 v/s zf2 New MVC architecture based on events We have namespaces support as PHP v5.3

minimum. e.g. Zend_Controller_Action is replaced by use Zend\Mvc\Controller\AbstractActionController;

The design of Zend Framework 2 is done with "design by contract" which means you rely on interfaces rather than classes.

New packaging system, based on Composer to download and install - PHP dependencies and autoloading.

A powerful module management system.

Page 8: Why Zend Framework? - Meetup event!

Zend Framework Components

Page 9: Why Zend Framework? - Meetup event!

Core: Zend_Controller Zend_View, Zend_Layout Zend_Db Zend_Config Zend_Filter & Zend_Valdiate Zend_Registry, Zend_Uri

Authentication and Access: Zend_Acl Zend_Auth Zend_Session

Internationalization: Zend_Date, Zend_Currency Zend_Locale, Zend_Translate

Http: Zend_Http_Client Zend_Http_Server Zend_Uri

Page 10: Why Zend Framework? - Meetup event!

Inter-application communication: Zend_Json Zend_XmlRpc Zend_Soap Zend_Rest

Web Services: Zend_Feed Zend_Gdata Zend_Service_Amazon Zend_Service_Flickr Zend_Service_Yahoo

Utility: Zend_Cache Zend_Search Zend_Pdf Zend_Mail / Zend_Mime

Misc! Zend_Measure

Page 11: Why Zend Framework? - Meetup event!

Zend Framework 2 Concepts

Dependency Injection. Service Manager. Event Manager. Routing – rewritten. Zend View – rewritten. Zend Db – rewritten. Zend Form – Decorators no longer exists,

Zend Filters, Validations are re-written for better understanding.

Page 12: Why Zend Framework? - Meetup event!

References

Code – Zend Framework library Code.

Books – Zend Framework In Action by Rob Allen

Websites – http://akrabat.com http://framework.zend.com/ http://www.zend.com/en/resources/ http://

www.zend.com/en/webinar/Framework/70170000000bwrT-ZF1forZF2Developers-20130226.flv

Page 13: Why Zend Framework? - Meetup event!

THANK YOU!