Rapid API Development with Packfire Framework for PHP

1,465 views

Published on

Rapid API Development with Packfire Framework for PHP @ SGPHPUG Meetup July 2012.

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
1,465
On SlideShare
0
From Embeds
0
Number of Embeds
4
Actions
Shares
0
Downloads
5
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Rapid API Development with Packfire Framework for PHP

  1. 1. 11 July 2012Rapid API Development withSam Yong
  2. 2. Who am I?• Recent Graduate, Diploma in IT, Class of 2012 11 July 2012 • School of ICT, Ngee Ann Polytechnic• WorldSkills London 2011, Web Design• Research and Design Engineer • RHyMeS Centre, School of ICT, Ngee Ann Polytechnic• Waiting in line to Tekong http://mauris.sg/packfire
  3. 3. 11 July 2012What is Packfire Framework? http://mauris.sg/packfire
  4. 4. Packfire is…• an Object-Oriented PHP Framework 11 July 2012 http://mauris.sg/packfire
  5. 5. Packfire is…• RESTful / API friendly. 11 July 2012 http://mauris.sg/packfire
  6. 6. Packfire is…• Extensive and Extensible. 11 July 2012 http://mauris.sg/packfire
  7. 7. Packfire is…• an Encapsulation to PHP. 11 July 2012 http://mauris.sg/packfire
  8. 8. 11 July 2012Why Packfire Framework? http://mauris.sg/packfire
  9. 9. Another framework?! 11 July 2012 Luracast Restler http://mauris.sg/packfire
  10. 10. Put to Practice 11 July 2012 http://www.flickr.com/photos/55685248@N06/5856379635/ http://mauris.sg/packfire
  11. 11. Fulfilling Hunger Code Generation 11 July 2012 Unit Testing Mustache Git IoC YAML LINQ GoF Design Patterns http://mauris.sg/packfire
  12. 12. 11 July 2012Creating API ServicesAlton Live GPS Tracker http://mauris.sg/packfire
  13. 13. Alton Live GPS Tracker• Receives GPS coordinates from phone 11 July 2012• Displays it in real-time on the map http://mauris.sg/packfire
  14. 14. Architecture 11 July 2012 http://mauris.sg/packfire
  15. 15. Receiving GPS Coordinates 11 July 2012 http://mauris.sg/packfire
  16. 16. RESTful Requests Routing Entry session.create: 11 July 2012 rewrite: "/session/create" actual: "Session:create" Controller http://mauris.sg/packfire
  17. 17. RESTful Requests Postback to self 11 July 2012 http://mauris.sg/packfire
  18. 18. Database LINQ 11 July 2012SELECT FROM `CoordinateId`, `Latitude`, `Longitude` FROM `coordinates`WHERE SessionId = :session AND Coordinateid > :lastPointORDER BY `Updated` http://mauris.sg/packfire
  19. 19. Long Polling 11 July 2012 // Database LINQ. http://mauris.sg/packfire
  20. 20. 11 July 2012Demo http://mauris.sg/packfire
  21. 21. Alton Live GPS Tracker 11 July 2012Alton Live GPS Tracker on Githubhttp://github.com/thephpdeveloper/alton-gps http://mauris.sg/packfire
  22. 22. 11 July 2012Q&A http://mauris.sg/packfire
  23. 23. Fork Packfire! 11 July 2012 Packfire Framework on Github http://github.com/packfire http://mauris.sg/packfire
  24. 24. Comm Channels• http://mauris.sg/packfire 11 July 2012• http://packfire.tumblr.com/• @packfire• “Packfire Framework” on Facebook http://mauris.sg/packfire
  25. 25. 11 July 2012Thank you ?> http://mauris.sg/packfire
  26. 26. 11 July 2012
  27. 27. refhttps://speakerdeck.com/u/andycroll/p/responsive-web-designhttp://www.slideshare.net/uzyn/qropit-sharing-on-singapore- 11 July 2012 php-user-grouphttp://www.scribd.com/doc/94389313/TDD-with-PHP-the- secret-of-coding-with-confidencehttps://speakerdeck.com/u/uzyn/p/opauth-an-introduction http://mauris.sg/packfire
  28. 28. 11 July 2012http://mauris.sg/packfire

×