Slide 1

Slide 1 text

Sam Yong Rapid API Development with 11 July 2012

Slide 2

Slide 2 text

http://mauris.sg/packfire Who am I? • Recent Graduate, Diploma in IT, Class of 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 11 July 2012

Slide 3

Slide 3 text

http://mauris.sg/packfire What is Packfire Framework? 11 July 2012

Slide 4

Slide 4 text

http://mauris.sg/packfire Packfire is… • an Object-Oriented PHP Framework 11 July 2012

Slide 5

Slide 5 text

http://mauris.sg/packfire Packfire is… • RESTful / API friendly. 11 July 2012

Slide 6

Slide 6 text

http://mauris.sg/packfire Packfire is… • Extensive and Extensible. 11 July 2012

Slide 7

Slide 7 text

http://mauris.sg/packfire Packfire is… • an Encapsulation to PHP. 11 July 2012

Slide 8

Slide 8 text

http://mauris.sg/packfire Why Packfire Framework? 11 July 2012

Slide 9

Slide 9 text

http://mauris.sg/packfire Another framework?! Luracast Restler 11 July 2012

Slide 10

Slide 10 text

http://mauris.sg/packfire Put to Practice 11 July 2012 http://www.flickr.com/photos/55685248@N06/5856379635/

Slide 11

Slide 11 text

http://mauris.sg/packfire Fulfilling Hunger YAML GoF Design Patterns LINQ IoC Mustache Code Generation Unit Testing Git 11 July 2012

Slide 12

Slide 12 text

http://mauris.sg/packfire Creating API Services Alton Live GPS Tracker 11 July 2012

Slide 13

Slide 13 text

http://mauris.sg/packfire Alton Live GPS Tracker • Receives GPS coordinates from phone • Displays it in real-time on the map 11 July 2012

Slide 14

Slide 14 text

http://mauris.sg/packfire Architecture 11 July 2012

Slide 15

Slide 15 text

http://mauris.sg/packfire Receiving GPS Coordinates 11 July 2012

Slide 16

Slide 16 text

http://mauris.sg/packfire RESTful Requests 11 July 2012 session.create: rewrite: "/session/create" actual: "Session:create" Routing Entry Controller

Slide 17

Slide 17 text

http://mauris.sg/packfire RESTful Requests 11 July 2012 Postback to self

Slide 18

Slide 18 text

http://mauris.sg/packfire Database LINQ 11 July 2012 SELECT FROM `CoordinateId`, `Latitude`, `Longitude` FROM `coordinates` WHERE SessionId = :session AND Coordinateid > :lastPoint ORDER BY `Updated`

Slide 19

Slide 19 text

http://mauris.sg/packfire Long Polling 11 July 2012 // Database LINQ.

Slide 20

Slide 20 text

http://mauris.sg/packfire Demo 11 July 2012

Slide 21

Slide 21 text

http://mauris.sg/packfire Alton Live GPS Tracker 11 July 2012 Alton Live GPS Tracker on Github http://github.com/thephpdeveloper/alton-gps

Slide 22

Slide 22 text

http://mauris.sg/packfire Q & A 11 July 2012

Slide 23

Slide 23 text

http://mauris.sg/packfire Fork Packfire! 11 July 2012 Packfire Framework on Github http://github.com/packfire

Slide 24

Slide 24 text

http://mauris.sg/packfire Comm Channels • http://mauris.sg/packfire • http://packfire.tumblr.com/ • @packfire • “Packfire Framework” on Facebook 11 July 2012

Slide 25

Slide 25 text

http://mauris.sg/packfire Thank you ?> 11 July 2012

Slide 26

Slide 26 text

11 July 2012

Slide 27

Slide 27 text

http://mauris.sg/packfire ref https://speakerdeck.com/u/andycroll/p/responsive-web-design http://www.slideshare.net/uzyn/qropit-sharing-on-singapore- php-user-group http://www.scribd.com/doc/94389313/TDD-with-PHP-the- secret-of-coding-with-confidence https://speakerdeck.com/u/uzyn/p/opauth-an-introduction 11 July 2012

Slide 28

Slide 28 text

http://mauris.sg/packfire 11 July 2012