Your SlideShare is downloading. ×
0
Integrating symfony and Zend Framework (PHPNW09)
Integrating symfony and Zend Framework (PHPNW09)
Integrating symfony and Zend Framework (PHPNW09)
Integrating symfony and Zend Framework (PHPNW09)
Integrating symfony and Zend Framework (PHPNW09)
Integrating symfony and Zend Framework (PHPNW09)
Integrating symfony and Zend Framework (PHPNW09)
Integrating symfony and Zend Framework (PHPNW09)
Integrating symfony and Zend Framework (PHPNW09)
Integrating symfony and Zend Framework (PHPNW09)
Integrating symfony and Zend Framework (PHPNW09)
Integrating symfony and Zend Framework (PHPNW09)
Integrating symfony and Zend Framework (PHPNW09)
Integrating symfony and Zend Framework (PHPNW09)
Integrating symfony and Zend Framework (PHPNW09)
Integrating symfony and Zend Framework (PHPNW09)
Integrating symfony and Zend Framework (PHPNW09)
Integrating symfony and Zend Framework (PHPNW09)
Integrating symfony and Zend Framework (PHPNW09)
Integrating symfony and Zend Framework (PHPNW09)
Integrating symfony and Zend Framework (PHPNW09)
Integrating symfony and Zend Framework (PHPNW09)
Integrating symfony and Zend Framework (PHPNW09)
Integrating symfony and Zend Framework (PHPNW09)
Integrating symfony and Zend Framework (PHPNW09)
Integrating symfony and Zend Framework (PHPNW09)
Integrating symfony and Zend Framework (PHPNW09)
Integrating symfony and Zend Framework (PHPNW09)
Integrating symfony and Zend Framework (PHPNW09)
Integrating symfony and Zend Framework (PHPNW09)
Integrating symfony and Zend Framework (PHPNW09)
Integrating symfony and Zend Framework (PHPNW09)
Integrating symfony and Zend Framework (PHPNW09)
Integrating symfony and Zend Framework (PHPNW09)
Integrating symfony and Zend Framework (PHPNW09)
Integrating symfony and Zend Framework (PHPNW09)
Integrating symfony and Zend Framework (PHPNW09)
Integrating symfony and Zend Framework (PHPNW09)
Integrating symfony and Zend Framework (PHPNW09)
Integrating symfony and Zend Framework (PHPNW09)
Integrating symfony and Zend Framework (PHPNW09)
Integrating symfony and Zend Framework (PHPNW09)
Integrating symfony and Zend Framework (PHPNW09)
Integrating symfony and Zend Framework (PHPNW09)
Integrating symfony and Zend Framework (PHPNW09)
Integrating symfony and Zend Framework (PHPNW09)
Integrating symfony and Zend Framework (PHPNW09)
Integrating symfony and Zend Framework (PHPNW09)
Integrating symfony and Zend Framework (PHPNW09)
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Integrating symfony and Zend Framework (PHPNW09)

1,518

Published on

My Integrating symfony and Zend Framework talk, as done at PHPNW09 in Manchester

My Integrating symfony and Zend Framework talk, as done at PHPNW09 in Manchester

Published in: Technology
0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

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

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Integrating <ul><li>symfony and Zend Framework </li></ul>PHPNW, Manchester, 10-10-2009
  • 2. About me <ul><li>Stefan Koopmanschap </li></ul><ul><li>PhpBenelux secretary </li></ul><ul><li>symfony Community Manager </li></ul><ul><li>Zend Framework Contributor </li></ul>
  • 3. Frameworks <ul><li>Why? </li></ul><ul><li>Which? </li></ul>
  • 4. symfony
  • 5. Zend Framework
  • 6. integrate
  • 7. Zend Framework in symfony projects
  • 8. Getting set up
  • 9. Getting set up
  • 10. A quick Twitter call away <ul><li>Blog application </li></ul><ul><li>New way of commenting: via Twitter </li></ul><ul><li>No sfTwitter class </li></ul><ul><li>But wait, there is Zend_Service_Twitter </li></ul>
  • 11. Send comment
  • 12. Send comment
  • 13. Send comment
  • 14. Comment
  • 15. Show comments
  • 16. Show comments
  • 17. Show comments
  • 18. Search
  • 19. Search <ul><li>index my posts </li></ul><ul><li>provide search option </li></ul>
  • 20. Zend Search Lucene
  • 21. Index
  • 22. Index
  • 23. Index
  • 24. Index
  • 25. Search
  • 26. Index
  • 27. Search
  • 28. Search
  • 29. Search
  • 30. Recycle <ul><li>Abstract into plugins </li></ul><ul><li>Plugins are PEAR packages </li></ul><ul><li>symfony CLI can install plugins easily </li></ul><ul><li>Many ZF-based plugins already available </li></ul>
  • 31. Recycle <ul><li>Zend_Mail </li></ul><ul><li>Zend_OpenId </li></ul><ul><li>Zend_Cache </li></ul><ul><li>Zend_Search_Lucene </li></ul>
  • 32. symfony in Zend Framework projects
  • 33. Wait, huh? <ul><li>symfony (full stack framework) </li></ul><ul><li>symfony components </li></ul>
  • 34. Introducing Symfony Components <ul><li>completely decoupled components </li></ul><ul><li>initial work for symfony 1.1 </li></ul><ul><li>now available as seperate libraries </li></ul>
  • 35. YAML <ul><li>Yaml library </li></ul><ul><li>Yaml to PHP arrays </li></ul><ul><li>PHP arrays to Yaml </li></ul><ul><li>Advanced errors </li></ul>
  • 36. YAML
  • 37. YAML
  • 38. Event Dispatcher <ul><li>Observer design pattern </li></ul><ul><li>Create events </li></ul><ul><li>Register actions </li></ul><ul><li>Actions get triggered </li></ul>
  • 39. Event Dispatcher bootstrap code from http://www.survivethedeepend.com/
  • 40. Event Dispatcher
  • 41. Dependency Injection <ul><li>Dependency Injection container </li></ul><ul><li>Based on Spring framework </li></ul><ul><li>Can contain and instantiate objects </li></ul>
  • 42. Dependency Injection Example from Ben Eberlei (he rocks!): http://www.whitewashing.de/blog/articles/118
  • 43. Templating <ul><li>Common templating options </li></ul><ul><li>Object Oriented approach to views </li></ul><ul><li>Helpers, Template autoloading, rendering </li></ul>
  • 44. Request Handler <ul><li>coming soon </li></ul>
  • 45. More ... <ul><li>There is much more in the symfony stack </li></ul>
  • 46. Integration <ul><li>No need to limit yourself </li></ul><ul><li>Pick the right base </li></ul><ul><li>Use external resources </li></ul>
  • 47. Frameworks <ul><li>Zend Framework </li></ul><ul><li>Symfony Components </li></ul><ul><li>ezComponents </li></ul><ul><li>PEAR </li></ul><ul><li>Prado </li></ul><ul><li>Solar </li></ul><ul><li>many more ... </li></ul>
  • 48. Questions?
  • 49. <ul><li>http://www.leftontheweb.com </li></ul><ul><li>http://twitter.com/skoop </li></ul><ul><li>http://slideshare.net/skoop </li></ul>

×