ajax implementation on petrolwatch.com.sg cake php & script.aculo.us

14
AJAX AJAX Implementation on Implementation on Petrolwatch.com.sg Petrolwatch.com.sg Cake PHP & Cake PHP & Script.aculo.us Script.aculo.us

Upload: doris-park

Post on 17-Dec-2015

216 views

Category:

Documents


4 download

TRANSCRIPT

Page 1: AJAX Implementation on Petrolwatch.com.sg Cake PHP & Script.aculo.us

AJAX Implementation AJAX Implementation on on

Petrolwatch.com.sgPetrolwatch.com.sg

Cake PHP & Script.aculo.usCake PHP & Script.aculo.us

Page 2: AJAX Implementation on Petrolwatch.com.sg Cake PHP & Script.aculo.us

Michael ChengMichael ChengCTO, Petrolwatch.com.sgCTO, Petrolwatch.com.sg

CTO, Comwerks Pte LtdCTO, Comwerks Pte Ltd

Page 3: AJAX Implementation on Petrolwatch.com.sg Cake PHP & Script.aculo.us

Singapore PHP User Singapore PHP User GroupGroup

http://www.php.com.sghttp://www.php.com.sg

Convener for…

Page 4: AJAX Implementation on Petrolwatch.com.sg Cake PHP & Script.aculo.us

Petrolwatch.com.sgPetrolwatch.com.sg

Petrol Watch is designed as a Petrol Watch is designed as a community projectcommunity project with an aim to with an aim to provide information and services to provide information and services to all all motoristsmotorists in Singapore. in Singapore.

50,000+50,000+ members on mailing list. members on mailing list. Re-launched in Re-launched in November 2006November 2006.. 500500 paying members. paying members.

Page 5: AJAX Implementation on Petrolwatch.com.sg Cake PHP & Script.aculo.us

Petrolwatch.com.sgPetrolwatch.com.sg

Web 2.0 concept – Social NetworkingWeb 2.0 concept – Social Networking AJAX – Dynamic and efficient user AJAX – Dynamic and efficient user

experienceexperience Table-less CSS Layout – Semantic Table-less CSS Layout – Semantic

web / search engine friendlyweb / search engine friendly

Page 6: AJAX Implementation on Petrolwatch.com.sg Cake PHP & Script.aculo.us

DemoDemohttp://www.petrolwatch.com.sghttp://www.petrolwatch.com.sg

Page 7: AJAX Implementation on Petrolwatch.com.sg Cake PHP & Script.aculo.us

Why Cake PHP?Why Cake PHP?

Very short development time-frame – Very short development time-frame – Needed a stable / efficient RAD Needed a stable / efficient RAD platform platform

2 weeks (Singapore Motor Show 2 weeks (Singapore Motor Show 06)06)

RoR – Not familiar with RubyRoR – Not familiar with Ruby PHP – PHP on Traks? PHP – PHP on Traks? http://www.ping.sghttp://www.ping.sg uses Cake PHP uses Cake PHP

Page 8: AJAX Implementation on Petrolwatch.com.sg Cake PHP & Script.aculo.us

Cake PHPCake PHP

Cake is a rapid development Cake is a rapid development framework for PHP which uses framework for PHP which uses commonly known design patterns like commonly known design patterns like ActiveRecordActiveRecord, , Association Data Association Data MappingMapping, , Front ControllerFront Controller and and MVCMVC. .

Our primary goal is to provide a Our primary goal is to provide a structured framework that enables PHP structured framework that enables PHP users at all levels to rapidly develop users at all levels to rapidly develop robust web applications, without any robust web applications, without any loss to flexibility. loss to flexibility.

Source: http://www.cakephp.org/

Page 9: AJAX Implementation on Petrolwatch.com.sg Cake PHP & Script.aculo.us

Cake PHP Hot Features!Cake PHP Hot Features!

Model, View, Controller Architecture Model, View, Controller Architecture View Helpers for AJAX, Javascript, View Helpers for AJAX, Javascript,

HTML Forms and more HTML Forms and more Built-in Validation Built-in Validation Application Scaffolding Application Scaffolding Application and CRUD code Application and CRUD code

generation via Bake generation via Bake

Source: http://www.cakephp.org/

Page 10: AJAX Implementation on Petrolwatch.com.sg Cake PHP & Script.aculo.us

Cake PHP Hot Features!Cake PHP Hot Features!

Access Control Lists Access Control Lists Data Sanitization Data Sanitization Security, Session, and Request Security, Session, and Request

Handling Components Handling Components Flexible View Caching Flexible View Caching And More... And More...

Source: http://www.cakephp.org/

Page 11: AJAX Implementation on Petrolwatch.com.sg Cake PHP & Script.aculo.us

http://script.aculo.ushttp://script.aculo.us

Most importantly, native support for…

Page 12: AJAX Implementation on Petrolwatch.com.sg Cake PHP & Script.aculo.us

DemoDemo

Page 13: AJAX Implementation on Petrolwatch.com.sg Cake PHP & Script.aculo.us

Cake PHPCake PHP

Blog App – Blogs / CategoriesBlog App – Blogs / Categories Baking Time!Baking Time! Mapping DataMapping Data Normal Form SubmissionNormal Form Submission AJAX Form SubmissionAJAX Form Submission

Page 14: AJAX Implementation on Petrolwatch.com.sg Cake PHP & Script.aculo.us

Singapore PHP Singapore PHP User Group MeetupUser Group Meetup

http://www.php.com.sghttp://www.php.com.sg

http://php.meetup.com/362/http://php.meetup.com/362/

8 Feb 2007, 7pm (Location: TBC)