Intro to Micro-frameworks                 Jake Smith                 Dallas PHP - 4/12/2011Thursday, April 14, 2011
Who is Jake?                      • PHP 5.3 ZCE                      • Co-Organizer of DallasPHP                      • Co...
Introducing the first annual                                 PHP Conference in North Texas               Join us for this ...
What is a Micro-                            framework?                      • Simple, no full stack bloat                 ...
What to expect                      • Routing                      • HTTP Request/Response                      • RESTful ...
Why should I use it?Thursday, April 14, 2011
Fishing with dynamite?                      • Simple site built using ZF/Symfony/CakeThursday, April 14, 2011
Small Sites                      • Landing Page                      • Micro Site                      • Quiz/Campaign    ...
Legacy of SinatraThursday, April 14, 2011
No...This Sinatra                               require sinatra                               get /hi do                  ...
Sinatra Background                      • Minimalist                      • Extensible                      • Sinatra is n...
PHP Micro-frameworksThursday, April 14, 2011
MinimumThursday, April 14, 2011
Minimum Profile                      • http://jamalsa.tumblr.com/post/1521361137/                           lithify-it-like...
Minimum AppThursday, April 14, 2011
Minimum Pros                      • Built using lithium                      • Simple to get started                      ...
Minimum Cons                      • More of a Proof of Concept                      • No documentation, besides that of Li...
SilexThursday, April 14, 2011
Silex Profile                      • http://silex-project.org/                      • PHP: 5.3.xThursday, April 14, 2011
Silex AppThursday, April 14, 2011
Silex Pros                      • Great Documentation (just recently                           released)                  ...
Silex Cons                      • Utilizing Service Container can be good,                           but gets complex quic...
LimonadeThursday, April 14, 2011
Limonade Profile                      • http://www.limonade-php.net/                      • PHP: 5.1.xThursday, April 14, 2...
Limonade AppThursday, April 14, 2011
Limonade Pros                      • Longevity                      • Isn’t PHP 5.3 only                      • Actively u...
Limonade Cons                      • Not OOP                      • Syntax is not as clean                      • Not usin...
SlimThursday, April 14, 2011
Slim Profile                      • http://www.slimframework.com/                      • PHP 5.1.x                       • ...
Slim AppThursday, April 14, 2011
Slim Pros                      • Amazing Documentation, but all on Github                           Pages                 ...
Slim Cons                      • Requires mcrypt for signed sessions                      • Needs more exception handling,...
Questions? Concerns?Thursday, April 14, 2011
Thanks for listening           Contact Information           [t]: @jakefolio           [e]: jake@phpdallas.org           [...
Upcoming SlideShare
Loading in...5
×

Intro to Micro-frameworks

3,702

Published on

Do you find yourself using full stack frameworks for small sites, but think it's overkill. Micro-frameworks could be your solution.

Sinatra (Ruby) has popularized micro-frameworks, and we have many options in PHP. Jake Smith will introduce you to the current micro-frameworks in PHP and where they are best utilized.

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
3,702
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
21
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Intro to Micro-frameworks

  1. 1. Intro to Micro-frameworks Jake Smith Dallas PHP - 4/12/2011Thursday, April 14, 2011
  2. 2. Who is Jake? • PHP 5.3 ZCE • Co-Organizer of DallasPHP • Co-Organizer of Lone Star PHP • Your tour on this magical journey called Micro-frameworksThursday, April 14, 2011
  3. 3. Introducing the first annual PHP Conference in North Texas Join us for this day-long event and hear the best local speakers from the Lone Star State. Register Now http://lonestarphp.com $60Thursday, April 14, 2011
  4. 4. What is a Micro- framework? • Simple, no full stack bloat • Single Page (usually)Thursday, April 14, 2011
  5. 5. What to expect • Routing • HTTP Request/Response • RESTful • Template Engine or choice of none • Helpers and extensionsThursday, April 14, 2011
  6. 6. Why should I use it?Thursday, April 14, 2011
  7. 7. Fishing with dynamite? • Simple site built using ZF/Symfony/CakeThursday, April 14, 2011
  8. 8. Small Sites • Landing Page • Micro Site • Quiz/Campaign • API • Prototyping/Proof of ConceptThursday, April 14, 2011
  9. 9. Legacy of SinatraThursday, April 14, 2011
  10. 10. No...This Sinatra require sinatra get /hi do "Hello World!" endThursday, April 14, 2011
  11. 11. Sinatra Background • Minimalist • Extensible • Sinatra is not RailsThursday, April 14, 2011
  12. 12. PHP Micro-frameworksThursday, April 14, 2011
  13. 13. MinimumThursday, April 14, 2011
  14. 14. Minimum Profile • http://jamalsa.tumblr.com/post/1521361137/ lithify-it-like-sinatra • PHP: 5.3.x • Proof of ConceptThursday, April 14, 2011
  15. 15. Minimum AppThursday, April 14, 2011
  16. 16. Minimum Pros • Built using lithium • Simple to get started • FiltersThursday, April 14, 2011
  17. 17. Minimum Cons • More of a Proof of Concept • No documentation, besides that of Lithium • Limited feature setThursday, April 14, 2011
  18. 18. SilexThursday, April 14, 2011
  19. 19. Silex Profile • http://silex-project.org/ • PHP: 5.3.xThursday, April 14, 2011
  20. 20. Silex AppThursday, April 14, 2011
  21. 21. Silex Pros • Great Documentation (just recently released) • Easy to get started (PHAR) • Unit Test Integration • Built using Symfony2 libraries • Easily extendableThursday, April 14, 2011
  22. 22. Silex Cons • Utilizing Service Container can be good, but gets complex quick • Built using Symfony2 librariesThursday, April 14, 2011
  23. 23. LimonadeThursday, April 14, 2011
  24. 24. Limonade Profile • http://www.limonade-php.net/ • PHP: 5.1.xThursday, April 14, 2011
  25. 25. Limonade AppThursday, April 14, 2011
  26. 26. Limonade Pros • Longevity • Isn’t PHP 5.3 only • Actively updated • Plenty of helper functions • txt, html, json, etc.Thursday, April 14, 2011
  27. 27. Limonade Cons • Not OOP • Syntax is not as clean • Not using PHPUnit for Unit TestingThursday, April 14, 2011
  28. 28. SlimThursday, April 14, 2011
  29. 29. Slim Profile • http://www.slimframework.com/ • PHP 5.1.x • Uses Closures if 5.3.xThursday, April 14, 2011
  30. 30. Slim AppThursday, April 14, 2011
  31. 31. Slim Pros • Amazing Documentation, but all on Github Pages • Very active development, can talk with creator almost any time • Works in 5.1.X, but utilizes closures • Easy/Extensive template engine support • Twig, Haanga, Smarty, Mustache, etc.Thursday, April 14, 2011
  32. 32. Slim Cons • Requires mcrypt for signed sessions • Needs more exception handling, unwritable logs directoryThursday, April 14, 2011
  33. 33. Questions? Concerns?Thursday, April 14, 2011
  34. 34. Thanks for listening Contact Information [t]: @jakefolio [e]: jake@phpdallas.org [w]: http://www.jakefolio.com [irc]: #dallasphpThursday, April 14, 2011
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×