Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Stay Nimble by Rolling Your Own PSR-7 Framework - Lone Star PHP 2017

Stay Nimble by Rolling Your Own PSR-7 Framework - Lone Star PHP 2017

PSR-7 is ushering in a new era of interoperability in PHP. This also means that there are a lot of complicated choices to make when deciding how to build a "PSR-7 application." Which framework should you use? Do you need to write your own PSR-7 implementation? Should you choose a microframework, a full-stack framework, or roll something of your own?

To help answer some of those questions you'll be introduced to a light PSR-7 framework named Nimble. More than just a sales pitch, explore the reasons for rolling your own framework, how the third-party components that make up the core of Nimble were selected, and how the pieces all fit together. Walk away knowing that PSR-7 frameworks aren't as scary as they look and that creating one yourself may be the best idea of all!

Beau Simensen

April 20, 2017

More Decks by Beau Simensen

Other Decks in Programming


  1. None
  2. None
  3. None
  4. None
  5. Laravel's Container FTW!

  6. PSR-7

  7. None
  8. None
  9. No PSR-7

  10. None
  11. PSR-7 Ecosystem

  12. Frameworks too immature

  13. Frameworks too opinionated

  14. Middleware and utilities, too

  15. None
  16. None
  17. None
  18. None
  19. None
  20. nikic's fast route

  21. Relay

  22. Laravel's Container

  23. Container Interop

  24. None
  25. None
  26. None
  27. MIT

  28. :)

  29. None
  30. None
  31. PSR-15

  32. PSR-17

  33. HTTP Interop

  34. Middlewares

  35. Diactoros

  36. nikic's fast route

  37. Stack Builder

  38. Laravel's Container

  39. PSR-11

  40. Containers at the core

  41. Service providers

  42. Application

  43. Web application optional

  44. Functional

  45. None