Your SlideShare is downloading. ×
Rapid API Development with Packfire Framework for PHP
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Saving this for later?

Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime - even offline.

Text the download link to your phone

Standard text messaging rates apply

Rapid API Development with Packfire Framework for PHP

1,050
views

Published on

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

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,050
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
3
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. 11 July 2012Rapid API Development withSam Yong
  • 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. 11 July 2012What is Packfire Framework? http://mauris.sg/packfire
  • 4. Packfire is…• an Object-Oriented PHP Framework 11 July 2012 http://mauris.sg/packfire
  • 5. Packfire is…• RESTful / API friendly. 11 July 2012 http://mauris.sg/packfire
  • 6. Packfire is…• Extensive and Extensible. 11 July 2012 http://mauris.sg/packfire
  • 7. Packfire is…• an Encapsulation to PHP. 11 July 2012 http://mauris.sg/packfire
  • 8. 11 July 2012Why Packfire Framework? http://mauris.sg/packfire
  • 9. Another framework?! 11 July 2012 Luracast Restler http://mauris.sg/packfire
  • 10. Put to Practice 11 July 2012 http://www.flickr.com/photos/55685248@N06/5856379635/ http://mauris.sg/packfire
  • 11. Fulfilling Hunger Code Generation 11 July 2012 Unit Testing Mustache Git IoC YAML LINQ GoF Design Patterns http://mauris.sg/packfire
  • 12. 11 July 2012Creating API ServicesAlton Live GPS Tracker http://mauris.sg/packfire
  • 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. Architecture 11 July 2012 http://mauris.sg/packfire
  • 15. Receiving GPS Coordinates 11 July 2012 http://mauris.sg/packfire
  • 16. RESTful Requests Routing Entry session.create: 11 July 2012 rewrite: "/session/create" actual: "Session:create" Controller http://mauris.sg/packfire
  • 17. RESTful Requests Postback to self 11 July 2012 http://mauris.sg/packfire
  • 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. Long Polling 11 July 2012 // Database LINQ. http://mauris.sg/packfire
  • 20. 11 July 2012Demo http://mauris.sg/packfire
  • 21. Alton Live GPS Tracker 11 July 2012Alton Live GPS Tracker on Githubhttp://github.com/thephpdeveloper/alton-gps http://mauris.sg/packfire
  • 22. 11 July 2012Q&A http://mauris.sg/packfire
  • 23. Fork Packfire! 11 July 2012 Packfire Framework on Github http://github.com/packfire http://mauris.sg/packfire
  • 24. Comm Channels• http://mauris.sg/packfire 11 July 2012• http://packfire.tumblr.com/• @packfire• “Packfire Framework” on Facebook http://mauris.sg/packfire
  • 25. 11 July 2012Thank you ?> http://mauris.sg/packfire
  • 26. 11 July 2012
  • 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. 11 July 2012http://mauris.sg/packfire