keeping it small - getting to know the slim php micro framework

Download Keeping it small - Getting to know the Slim PHP micro framework

Post on 14-May-2015

5.095 views

Category:

Technology

3 download

Embed Size (px)

DESCRIPTION

Learn what the big deal is about PHP micro frameworks by taking a tour through an application written in Slim PHP. I'll briefly introduce you to some high level concepts, show how those concepts can be implemented in Slim, and see how powerful and elegant micro framework can be.

TRANSCRIPT

  • 1.Keeping it smallGetting to know the Slim micro frameworkphp[tek] 2013Wednesday, May 15, 13

2. Wednesday, May 15, 13 3. I love to codeWednesday, May 15, 13 4. I love to codeIm terribly forgetfulWednesday, May 15, 13 5. I love to codeIm terribly forgetfulI take picturesWednesday, May 15, 13 6. I love to codeIm terribly forgetfulI take picturesI work at OpenSkyWednesday, May 15, 13 7. Micro framework?Wednesday, May 15, 13 8. MicroPHP ManifestoWednesday, May 15, 13 9. MicroPHP ManifestoWritten by Ed FinklerWednesday, May 15, 13 10. MicroPHP ManifestoWritten by Ed FinklerPunk rock vs. Prog rockWednesday, May 15, 13 11. MicroPHP ManifestoWritten by Ed FinklerPunk rock vs. Prog rockProphet or Madman?Wednesday, May 15, 13 12. MicroPHP ManifestoWritten by Ed FinklerPunk rock vs. Prog rockProphet or Madman?Guiding principleWednesday, May 15, 13 13. MicroPHP ManifestoWritten by Ed FinklerPunk rock vs. Prog rockProphet or Madman?Guiding principlehttp://microphp.org/Wednesday, May 15, 13 14. Micro framework?Wednesday, May 15, 13 15. Micro framework?Concise codebaseWednesday, May 15, 13 16. Micro framework?Concise codebaseClear codebaseWednesday, May 15, 13 17. Micro framework?Concise codebaseClear codebaseAddresses a small set of use casesWednesday, May 15, 13 18. Micro framework?Concise codebaseClear codebaseAddresses a small set of use casesAddresses those use cases wellWednesday, May 15, 13 19. I chose Slim PHPWednesday, May 15, 13 20. I chose Slim PHPand I sucked at itWednesday, May 15, 13 21. What is Slim?Wednesday, May 15, 13 22. What is Slim?Inspired by SinatraWednesday, May 15, 13 23. What is Slim?Inspired by SinatraFavors cleanliness over tersenessWednesday, May 15, 13 24. What is Slim?Inspired by SinatraFavors cleanliness over tersenessFavors common cases over edge casesWednesday, May 15, 13 25. Installing SlimWednesday, May 15, 13 26. Install Composercurl -s https://getcomposer.org/installer | phpWednesday, May 15, 13 27. Install Composercurl -s https://getcomposer.org/installer | phpIf you take nothing else away from this talk, I hope thatits Composer. Its that big of a deal.Wednesday, May 15, 13 28. composer.json{"require": {"slim/slim": "2.*"}}Wednesday, May 15, 13 29. Install via Composerphp composer.phar installWednesday, May 15, 13 30. Add this to index.php