Save 37% off PRO during our Black Friday Sale! »

Silex, the micro-framework

2e357a083c70d284a31c2ca200758e97?s=47 Ben Longden
February 08, 2013

Silex, the micro-framework

Standing on the shoulders of giants, Silex is a micro framework built on top of Symfony2 components. It provides an ideal environment for throwing together a simple, single file application. We’ll look at a real example of installing and setting up Silex and creating our first application with full dependency injection, templating and all the other features that you would expect of a modern day PHP framework. This session is recommended for anyone looking to break into the Symfony ecosystem with a simple introduction to a small framework build upon the core components of it’s bigger brother.

2e357a083c70d284a31c2ca200758e97?s=128

Ben Longden

February 08, 2013
Tweet

Transcript

  1. Silex, the micro-framework Monday, 11 February 13

  2. @blongden Monday, 11 February 13

  3. Monday, 11 February 13

  4. Monday, 11 February 13

  5. Monday, 11 February 13

  6. Monday, 11 February 13

  7. Silex user Monday, 11 February 13

  8. Monday, 11 February 13

  9. symfony/http-foundation Monday, 11 February 13

  10. symfony/event-dispatcher Monday, 11 February 13

  11. symfony/routing Monday, 11 February 13

  12. symfony/http-kernel Monday, 11 February 13

  13. pimple/pimple Monday, 11 February 13

  14. Why Silex? Monday, 11 February 13

  15. Monday, 11 February 13

  16. Monday, 11 February 13

  17. Monday, 11 February 13

  18. Monday, 11 February 13

  19. echo "alias composer='php /path/to/composer.phar'" >> ~/.bashrc Monday, 11 February 13

  20. Monday, 11 February 13

  21. Monday, 11 February 13

  22. Monday, 11 February 13

  23. Monday, 11 February 13

  24. Monday, 11 February 13

  25. Monday, 11 February 13

  26. Monday, 11 February 13

  27. Routes Monday, 11 February 13

  28. Method, Pattern & Closure Monday, 11 February 13

  29. Monday, 11 February 13

  30. Monday, 11 February 13

  31. Dynamic Routes Monday, 11 February 13

  32. Monday, 11 February 13

  33. Monday, 11 February 13

  34. Converting Parameters Monday, 11 February 13

  35. Monday, 11 February 13

  36. Route Assertions Monday, 11 February 13

  37. Monday, 11 February 13

  38. Providers Monday, 11 February 13

  39. • Service Providers • Controller Providers Monday, 11 February 13

  40. • DoctrineServiceProvider • MonologServiceProvider • SessionServiceProvider • SwiftmailerServiceProvider • TwigServiceProvider

    • TranslationServiceProvider • UrlGeneratorServiceProvider • ValidatorServiceProvider • HttpCacheServiceProvider • FormServiceProvider • SecurityServiceProvider Monday, 11 February 13
  41. Twig Templates Monday, 11 February 13

  42. Monday, 11 February 13

  43. Monday, 11 February 13

  44. Monday, 11 February 13

  45. Monday, 11 February 13

  46. Traits Monday, 11 February 13

  47. Monday, 11 February 13

  48. Forms Monday, 11 February 13

  49. Monday, 11 February 13

  50. Monday, 11 February 13

  51. Monday, 11 February 13

  52. Monday, 11 February 13

  53. Monday, 11 February 13

  54. Monday, 11 February 13

  55. Monday, 11 February 13

  56. Monday, 11 February 13

  57. Monday, 11 February 13

  58. Monday, 11 February 13

  59. Handling POST Monday, 11 February 13

  60. UrlGeneratorServiceProvider Monday, 11 February 13

  61. Monday, 11 February 13

  62. Monday, 11 February 13

  63. Monday, 11 February 13

  64. Monday, 11 February 13

  65. Monday, 11 February 13

  66. Monday, 11 February 13

  67. Monday, 11 February 13

  68. View the guestbook Monday, 11 February 13

  69. Monday, 11 February 13

  70. Monday, 11 February 13

  71. Monday, 11 February 13

  72. Monday, 11 February 13

  73. Http Cache Monday, 11 February 13

  74. Edge Side Includes Monday, 11 February 13

  75. <esi:include src=”/message” /> Monday, 11 February 13

  76. Monday, 11 February 13

  77. Monday, 11 February 13

  78. Monday, 11 February 13

  79. Monday, 11 February 13

  80. Monday, 11 February 13

  81. https://github.com/blongden/silex-guestbook Monday, 11 February 13

  82. https://joind.in/6948 Monday, 11 February 13

  83. wallcoo.net http://www.flickr.com/photos/8ballofwakefield/513907976/ http://weblogs.wxmi.com/news/traffic/dirty-windshield/Highway%20signs.JPG http://plaza.ufl.edu/dianis/images/dna.jpg http://4.bp.blogspot.com/-ucuY9INjqrI/TajciAM3V_I/AAAAAAAAClY/EgdsT_i01Jg/s1600/P1040125.JPG http://www.greatgiddingschool.co.uk/wpimages/wpa87715ae_05_06.jpg http://upload.wikimedia.org/wikipedia/commons/5/5b/Cache_Memory-jurvetson.jpg http://img1.etsystatic.com/003/0/6263865/il_fullxfull.361156505_ghgv.jpg Monday, 11

    February 13