AJAX Implementation on Petrolwatch. com. sg Cake PHP & Script. aculo. us
Michael Cheng CTO, Petrolwatch. com. sg CTO, Comwerks Pte Ltd
Convener for… Singapore PHP User Group http: //www. php. com. sg
Petrolwatch. com. sg Ø Petrol Watch is designed as a community project with an aim to provide information and services to all motorists in Singapore. Ø 50, 000+ members on mailing list. Ø Re-launched in November 2006. Ø 500 paying members.
Petrolwatch. com. sg Ø Web 2. 0 concept – Social Networking Ø AJAX – Dynamic and efficient user experience Ø Table-less CSS Layout – Semantic web / search engine friendly
Demo http: //www. petrolwatch. com. sg
Why Cake PHP? Ø Very short development time-frame – Needed a stable / efficient RAD platform Ø 2 weeks (Singapore Motor Show 06) Ø Ro. R – Not familiar with Ruby Ø PHP – PHP on Traks? Ø http: //www. ping. sg uses Cake PHP
Cake PHP Ø Cake is a rapid development framework for PHP which uses commonly known design patterns like Active. Record, Association Data Mapping, Front Controller and MVC. Ø Our primary goal is to provide a structured framework that enables PHP users at all levels to rapidly develop robust web applications, without any loss to flexibility. Source: http: //www. cakephp. org/
Cake PHP Hot Features! Ø Model, View, Controller Architecture Ø View Helpers for AJAX, Javascript, HTML Forms and more Ø Built-in Validation Ø Application Scaffolding Ø Application and CRUD code generation via Bake Source: http: //www. cakephp. org/
Cake PHP Hot Features! Ø Access Control Lists Ø Data Sanitization Ø Security, Session, and Request Handling Components Ø Flexible View Caching Ø And More. . . Source: http: //www. cakephp. org/
Most importantly, native support for… http: //script. aculo. us
Demo
Cake PHP Ø Blog App – Blogs / Categories Ø Baking Time! Ø Mapping Data Ø Normal Form Submission Ø AJAX Form Submission
Singapore PHP User Group Meetup 8 Feb 2007, 7 pm (Location: TBC) http: //www. php. com. sg http: //php. meetup. com/362/