2 weeks (Singapore Motor Show 06)
Download
Report
Transcript 2 weeks (Singapore Motor Show 06)
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)
RoR – 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 ActiveRecord,
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, 7pm
(Location: TBC)
http://www.php.com.sg
http://php.meetup.com/362/