Twitter

Rapid Web Development with CakePHP




Author: David Richards

CakePHP is a comparatively new technology in the field of web development. It was invented at a time when ruby on rails was gaining popularity. Many must be unaware of it but the fact is Cakephp's very existence can be credited to ruby on rails, from which it was inspired. It is hence often labeled as rails clone. CakePHP is based on an MVC-like architecture that is both powerful and easy to grasp for developers.

Controllers, models and views guarantee a strict but natural separation of business logic from data and presentation layers. Controller contains the logic of the application. Controllers retrieve and modify data by accessing database tables through models. Models are representations of database tables, they connect to the database, query it (if instructed by the controller) and save data to the database.

Views can be described as template files that present their content to the user.

This MVC architecture greatly improves the maintainability and sustainability of the organization and the websites code. It separates the business logic from presentation and data retrieval. Here a website is divided into logical sections, each of which is governed by a particular controller. Any programmer who is accustomed to CakePHP's structure will be able to detect and rectify errors, while testing and debugging an application and that too without being aware of all of the details of the code.

Like Ruby on Rails, CakePHP development framework follows the two key features, DRY or "Don't Repeat Yourself" and CoC or "Convention over Configuration". The framework also offers a useful Rails-inspired feature called scaffolding, which basically allows the creation of an interface that's able to perform Create, Read, Update and Delete (CRUD) database operations with only a few lines of code.

Some of the CakePHP's built in features are as following:

- Compatible with PHP4 and PHP5

- Integrated CRUD for database and simplified querying

- Request dispatcher with custom URLs

- Templating (PHP syntax with helper methods)

- View helpers for AJAX, JavaScript, HTML forms

- Website directory independent

- Access control lists (ACL)

- Application scaffolding

- Data sensitization

- Security, session, and request handling components

- View caching

- Unit testing using the Simple Test framework

- Built-in validation

With the help of all these host of features, CakePHP reduces development costs of the projects and helps developers write less code.

About the Author:
David Richards works for an custome software development company. Many of his articles showcases the contribution outsourcing has brought into the arena of Ruby on rails development "


Total Word Count: 450
Click here to View more Articles at: Invision-Graphics
Invision-Graphics Article Source:

Approved on Monday, November 15 @ 12:15:12 CST by Shawn DesRochers
 
Options
 Return to the main page Return Home

 Print Page Print Version

 Ezine Ready Ezine Ready

 Send to a Friend Send To A Friend

 Discuss Article Discuss Article

 Related Articles Related Articles

 Search Articles Search Articles

 Stories Archive Stories Archive

 Subscribe Newsletter Subscribe Newsletter

 Syndicate Article Topic: PHP XML News Feed

 Contact US Contact US
Article Rating
Average Score:
Votes: 0

Rate this article:
Rapid Web Development with CakePHP

Rapid Web Development with CakePHP – Aticle Rating 5 Stars
Rapid Web Development with CakePHP – Aticle Rating 4 Stars
Rapid Web Development with CakePHP – Aticle Rating 3 Stars
Rapid Web Development with CakePHP – Aticle Rating 2 Stars
Rapid Web Development with CakePHP – Aticle Rating 1 Star


Syndicate Article
 My Yahoo!
 Google
 NewsGator
 Stumbleupon
 PluckIT
 Rojo
 Bloglines
 My AOL
 Blogrolling
 ENewsblog
 NewsIsFree
 NetVibes
 del.icio.us
 Technorati
 Digg This
 FeedBurner
 FeedMailer
Sponsor Advertising
Blogger Talk Blogging Community
Blogs directories, blogging resources, blog tools, blog sites, blogging news, Blog tutorial, Blogging books.

Text Advertising Info Text Advertising Info
Support US

Make a donation!
If you enjoy our services, make a donation today!

Google Support Ads
Related Links
More about PHP
News by Admin

Advertise Here

Most read story about PHP:
How To Use php Include On Your Godaddy Hosted Web Site

Book Advertising
Get this Book Now
Buy this Book Now!
Click Here
Comment on Article:"Rapid Web Development with CakePHP" Login | Create an Account | 0 comments
The following comments are owned by the individual who posted them. Invision-Graphics is not responsible for the content or the accuracy of the following statements.
No Comments Allowed for Anonymous, please Register
Related Categories
Technorati TagsTechnorati Tags


Click Here to Advertise
Affordable Hosting! http://www.invision-graphics.com/images/banners/468X60_VISIONHOSTING.gif
 Today: 19,865  Yesterday: 31,995  Total Hits: 13,069,551
Page Rendered in: 0.24s - Total Queries: 20 - MySQL DB: 47.5 mb's - Pages served in past 5 minutes: 146