A Glymse of Symfony 2

418 views

Published on

An Introduction to Symfony

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

  • Be the first to like this

No Downloads
Views
Total views
418
On SlideShare
0
From Embeds
0
Number of Embeds
17
Actions
Shares
0
Downloads
4
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

A Glymse of Symfony 2

  1. 1. A  Glimpse  of Muhammadali Shaduli www.shaduli.com
  2. 2. About  Me ü  ü  ü  ü  ü  ü  PHP  Developer  since  2003. Symfony  Developer  since  2008 Open  source  Consultant Trainer Lead  Developer  at  Como  Group  Asia  Pacific  Pte.  Ltd. A  loving  Husband  and  Father  
  3. 3. What  is  Symfony  2  ?
  4. 4. ü  Symfony2  is  a  PHP  Web  Development  framework. ü  Symfony2  is  a  reusable  set  of  standalone,  decoupled,  and   cohesive  PHP  components  that  solve  common  web   development  problems. ü  Then,  based  on  these  components,  Symfony2  is  also  a   full-­‐‑stack  web  framework.
  5. 5. Really,  What  is  it  ?
  6. 6. ² Wri@en  for  PHP  5.3  . ² Anonymous  Functions  and  Closures ² Late  Static  Binding ² Standalone  Components ² Born  from  a  company  called  SensioLabs
  7. 7. Does  not  reinvent  the   wheel
  8. 8. ² Doctrine ² PHPUnit ² SwiftMailer ² Twig
  9. 9. The  Components
  10. 10. ²  ²  ²  ²  ²  ²  ²  ²  ²  ²  ²  ²  ²  ²  BrowserKit   ClassLoader   Config   Console   CssSelector   Debug           DependencyInjection DomCrawler   EventDispatcher   Filesystem   Finder   Form         H@pFoundation   H@pKernel   ²  ²  ²  ²  ²  ²  ²  ²  ²  ²  ²  ²  ²  ²  Locale   Intl   Icu   OptionsResolver   Process   PropertyAccess   Routing   Security   Serializer   Stopwatch   Templating   Translation   Validator   Yaml        
  11. 11. What  is  Symfony  2   framework  ?
  12. 12. Project  Structure
  13. 13. Application  Flow
  14. 14. Routes
  15. 15. ² blog_show  can  be  anything ² pa@ern  –  uri  to  match ² defaults  –  controller  shortcut
  16. 16. Controllers
  17. 17. ² Goal  is  to  always  return  HNpResponse  Object
  18. 18. Views
  19. 19. ² Very  extensible
  20. 20. Doctrine  (Models)
  21. 21. How  do  we  use  it  ?
  22. 22. Looking  up  entities
  23. 23. Many  More… ² Services ² Dependency  Injection ² Console  Commands ² Security ² Forms ² Unit  Testing
  24. 24. Training  Sessions ² Object  Oriented  PHP ² HTTP ² Symfony  2  Architecture ² Standardization ² Bundle  Best  Practices ² Controllers ² Routing ² Twig ² Forms ² Validation ² Dependency  Injection ² Security ² HTTP  Caching ² Command  Line  Interface ² Automated  Testing ² Error  Management  and  Debugging

×