0
Zend Framework                                    E-mail: chris@ctankersley.com                                        Twi...
Who Am I?        Been Doing PHP for 8 Years        Lots of projects no one uses, and a few that some do        TL;DR https...
What Is the Zend                    Framework?Northwest Ohio PHP User Group   3     1/23/2012
It’s Actually A Few Things      Full Stack Framework          Component LibraryNorthwest Ohio PHP User Group   4          ...
Northwest Ohio PHP User Group   5   1/23/2012
Using The Components                                Piece By PieceNorthwest Ohio PHP User Group         6          1/23/2012
Pick and ChooseNorthwest Ohio PHP User Group   7        1/23/2012
Custom Packages with                      packageizer                            http://epic.codeutopia.net/pack/Northwest...
Custom Packages with                      packageizer                            http://epic.codeutopia.net/pack/Northwest...
Include and EnjoyNorthwest Ohio PHP User Group   10        1/23/2012
Using Everything                         Sometimes We Need The Kitchen SinkNorthwest Ohio PHP User Group            11    ...
Download and Install        http://framework.zend.com/download/latestNorthwest Ohio PHP User Group    12                 1...
What Do We Get?Northwest Ohio PHP User Group   13   1/23/2012
In The Box…        MVC Framework        Templating System        Database Abstraction and Interaction        Command Line ...
We can use this…        Independently (for the most part)        Together as a wholeNorthwest Ohio PHP User Group      15 ...
Examples!                                Lets look at the 1’s and 0’sNorthwest Ohio PHP User Group                16      ...
Lets Look At The Stack        Most of the time, Zend Framework 1 will be used as a full        stack        Zend Framework...
Such a Zend_ToolNorthwest Ohio PHP User Group   18      1/23/2012
The Next Slide Isn’t As Scary               As It LooksNorthwest Ohio PHP User Group   19   1/23/2012
Northwest Ohio PHP User Group   20   1/23/2012
Kicking Off The ProcessNorthwest Ohio PHP User Group   21   1/23/2012
Kicking Off The ProcessNorthwest Ohio PHP User Group   22   1/23/2012
Kicking Off The ProcessNorthwest Ohio PHP User Group   23   1/23/2012
Kicking Off The Process                                     Lots of MagicNorthwest Ohio PHP User Group   24             1/...
Parts of the Magic                                This Magic Is The Good KindNorthwest Ohio PHP User Group               2...
The Autoloader        Automatically finds and loads a class when invokedNorthwest Ohio PHP User Group     26              ...
The Configuration FileNorthwest Ohio PHP User Group   27     1/23/2012
The MVC System        URI is converted into a code resource             http://www.myapp.com/mycontroller/myactionNorthwes...
The MVC System        Determines the View to use             http://www.myapp.com/mycontroller/myactionNorthwest Ohio PHP ...
Modules, Controllers,                 Actions                                Oh MyNorthwest Ohio PHP User Group    30     ...
How It Works    1. A URI specifies a controller and an action (and       sometimes a module)    2. The system instantiates...
Northwest Ohio PHP User Group   32   1/23/2012
The Database                     I couldn’t think of a clever tagline for this oneNorthwest Ohio PHP User Group           ...
Zend_Db and Zend_Db_Table        Automatically maps a table to an object        Abstracts the DBNorthwest Ohio PHP User Gr...
The Templating System                                PHP is a template system!Northwest Ohio PHP User Group              3...
Zend_ViewNorthwest Ohio PHP User Group       36      1/23/2012
Other Advantages        Dynamic loading of CSS and JS        Layout system, so each action only worries about it’s        ...
Other Useful Pieces                     Because we’re probably running out of timeNorthwest Ohio PHP User Group           ...
Just To Name a Few        Zend_Form for form generation and validation        Zend_Filter for filtering user input        ...
Questions?Northwest Ohio PHP User Group       40       1/23/2012
Credits        http://www.flickr.com/photos/omegatron/666450803/sizes/l        /in/photostream/        http://www.flickr.c...
Upcoming SlideShare
Loading in...5
×

Intro to Zend Framework

1,270

Published on

A basic introduction to the Zend Framework

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
1,270
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
23
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Transcript of "Intro to Zend Framework"

  1. 1. Zend Framework E-mail: chris@ctankersley.com Twitter: @dragonmantankNorthwest Ohio PHP User Group 1 1/23/2012
  2. 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/dragonmantankNorthwest Ohio PHP User Group 2 1/23/2012
  3. 3. What Is the Zend Framework?Northwest Ohio PHP User Group 3 1/23/2012
  4. 4. It’s Actually A Few Things Full Stack Framework Component LibraryNorthwest Ohio PHP User Group 4 1/23/2012
  5. 5. Northwest Ohio PHP User Group 5 1/23/2012
  6. 6. Using The Components Piece By PieceNorthwest Ohio PHP User Group 6 1/23/2012
  7. 7. Pick and ChooseNorthwest Ohio PHP User Group 7 1/23/2012
  8. 8. Custom Packages with packageizer http://epic.codeutopia.net/pack/Northwest Ohio PHP User Group 8 1/23/2012
  9. 9. Custom Packages with packageizer http://epic.codeutopia.net/pack/Northwest Ohio PHP User Group 9 1/23/2012
  10. 10. Include and EnjoyNorthwest Ohio PHP User Group 10 1/23/2012
  11. 11. Using Everything Sometimes We Need The Kitchen SinkNorthwest Ohio PHP User Group 11 1/23/2012
  12. 12. Download and Install http://framework.zend.com/download/latestNorthwest Ohio PHP User Group 12 1/23/2012
  13. 13. What Do We Get?Northwest Ohio PHP User Group 13 1/23/2012
  14. 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 moreNorthwest Ohio PHP User Group 14 1/23/2012
  15. 15. We can use this… Independently (for the most part) Together as a wholeNorthwest Ohio PHP User Group 15 1/23/2012
  16. 16. Examples! Lets look at the 1’s and 0’sNorthwest Ohio PHP User Group 16 1/23/2012
  17. 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 chunksNorthwest Ohio PHP User Group 17 1/23/2012
  18. 18. Such a Zend_ToolNorthwest Ohio PHP User Group 18 1/23/2012
  19. 19. The Next Slide Isn’t As Scary As It LooksNorthwest Ohio PHP User Group 19 1/23/2012
  20. 20. Northwest Ohio PHP User Group 20 1/23/2012
  21. 21. Kicking Off The ProcessNorthwest Ohio PHP User Group 21 1/23/2012
  22. 22. Kicking Off The ProcessNorthwest Ohio PHP User Group 22 1/23/2012
  23. 23. Kicking Off The ProcessNorthwest Ohio PHP User Group 23 1/23/2012
  24. 24. Kicking Off The Process Lots of MagicNorthwest Ohio PHP User Group 24 1/23/2012
  25. 25. Parts of the Magic This Magic Is The Good KindNorthwest Ohio PHP User Group 25 1/23/2012
  26. 26. The Autoloader Automatically finds and loads a class when invokedNorthwest Ohio PHP User Group 26 1/23/2012
  27. 27. The Configuration FileNorthwest Ohio PHP User Group 27 1/23/2012
  28. 28. The MVC System URI is converted into a code resource http://www.myapp.com/mycontroller/myactionNorthwest Ohio PHP User Group 28 1/23/2012
  29. 29. The MVC System Determines the View to use http://www.myapp.com/mycontroller/myactionNorthwest Ohio PHP User Group 29 1/23/2012
  30. 30. Modules, Controllers, Actions Oh MyNorthwest Ohio PHP User Group 30 1/23/2012
  31. 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 browserNorthwest Ohio PHP User Group 31 1/23/2012
  32. 32. Northwest Ohio PHP User Group 32 1/23/2012
  33. 33. The Database I couldn’t think of a clever tagline for this oneNorthwest Ohio PHP User Group 33 1/23/2012
  34. 34. Zend_Db and Zend_Db_Table Automatically maps a table to an object Abstracts the DBNorthwest Ohio PHP User Group 34 1/23/2012
  35. 35. The Templating System PHP is a template system!Northwest Ohio PHP User Group 35 1/23/2012
  36. 36. Zend_ViewNorthwest Ohio PHP User Group 36 1/23/2012
  37. 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 neededNorthwest Ohio PHP User Group 37 1/23/2012
  38. 38. Other Useful Pieces Because we’re probably running out of timeNorthwest Ohio PHP User Group 38 1/23/2012
  39. 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- mailNorthwest Ohio PHP User Group 39 1/23/2012
  40. 40. Questions?Northwest Ohio PHP User Group 40 1/23/2012
  41. 41. Credits http://www.flickr.com/photos/omegatron/666450803/sizes/l /in/photostream/ http://www.flickr.com/photos/oskay/437341128/sizes/l/in/p hotostream/ http://andigutmans.blogspot.com/2006/12/zend- framework-06-posted.html http://www.flickr.com/photos/billward/5046557642/sizes/l/i n/photostream/ http://ffmux.savingthrow.org/wiki/images/c/c7/BlackMage.j pgNorthwest Ohio PHP User Group 41 1/23/2012
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×