2024: Domino Containers - The Next Step. News from the Domino Container commu...
Intro to Zend Framework
1. Zend Framework
E-mail: chris@ctankersley.com
Twitter: @dragonmantank
Northwest Ohio PHP User Group 1 1/23/2012
2. Who Am I?
Been Doing PHP for 8 Years
Lots of projects no one uses, and a few that some do
TL;DR https://github.com/dragonmantank
Northwest Ohio PHP User Group 2 1/23/2012
3. What Is the Zend
Framework?
Northwest Ohio PHP User Group 3 1/23/2012
4. It’s Actually A Few Things
Full Stack Framework Component Library
Northwest Ohio PHP User Group 4 1/23/2012
11. Using Everything
Sometimes We Need The Kitchen Sink
Northwest Ohio PHP User Group 11 1/23/2012
12. Download and Install
http://framework.zend.com/download/latest
Northwest Ohio PHP User Group 12 1/23/2012
13. What Do We Get?
Northwest Ohio PHP User Group 13 1/23/2012
14. In The Box…
MVC Framework
Templating System
Database Abstraction and Interaction
Command Line
REST/SOAP Clients and Servers
API Service Interfaces
Form Generation System
Lots, lots more
Northwest Ohio PHP User Group 14 1/23/2012
15. We can use this…
Independently (for the most part)
Together as a whole
Northwest Ohio PHP User Group 15 1/23/2012
16. Examples!
Lets look at the 1’s and 0’s
Northwest Ohio PHP User Group 16 1/23/2012
17. Lets Look At The Stack
Most of the time, Zend Framework 1 will be used as a full
stack
Zend Framework 2 is better designed to be used in
chunks
Northwest Ohio PHP User Group 17 1/23/2012
31. How It Works
1. A URI specifies a controller and an action (and
sometimes a module)
2. The system instantiates the controller, and calls the
action
3. By default, the controller will render a view (HTML, XML,
JSON) for the action
4. This gets displayed to the browser
Northwest Ohio PHP User Group 31 1/23/2012
37. Other Advantages
Dynamic loading of CSS and JS
Layout system, so each action only worries about it’s
specific content
Partials, so code can be reused (like table rows)
Can be turned off when needed
Northwest Ohio PHP User Group 37 1/23/2012
38. Other Useful Pieces
Because we’re probably running out of time
Northwest Ohio PHP User Group 38 1/23/2012
39. Just To Name a Few
Zend_Form for form generation and validation
Zend_Filter for filtering user input
Zend_Auth and Zend_Acl for authentication and access
control
Zend_Mail for dealing with sending (and receiving!) of e-
mail
Northwest Ohio PHP User Group 39 1/23/2012