Cake PHP Developments
Cake is an open source web application PHP framework, inspired by the concept of Ruby on Rails. The underlying principle is to help PHP developers avoid reinventing the wheel all the time. Bharti Softland is actively using CakePHP framework for rapid and robust web application development. PHP experts at Bharti Softland have developed some successful Web Projects based on CakePHP framework.
CakePHP web application framework model
makes a request to web server
by request URL.
The web server
(Apache, WEBrick, etc.) receives the request. It uses routes
to find out which controller to use: the default route pattern is “/controller/action/id” as defined in configuration file. The web server then uses the dispatcher
to create a new controller, call the action and pass the parameters.
do the work of parsing user requests, data submissions, cookies, sessions and the “browser stuff”.
are PHP classes. They talk to the database, store and validate data, perform the business logic and otherwise do the heavy lifting.
reading what the controller gives them. They don’t know what happens in the back room.
The controller returns the response body (HTML, XML, etc.) & metadata (caching headers, redirects) to the server. The server combines the raw data into a proper HTTP response and sends it to the user.
Key features of Cake PHP
Compatible with PHP4 and PHP5
Model, View, Controller (MVC) architecture
Code generation via Bake
Integrated CRUD for database and simplified querying
Request dispatcher with custom URLs
Templating (PHP syntax with helper methods)
Website directory independent
Access control lists (ACL)
Security, session, and request handling components
Users of CakePHP
Users who like to work on Ruby on Rails.
Users familiar with PHP and don't have time to learn another language.
Users tired of creating bespoke code to do very similar things.
Users using shared hosting.
Users aspiring to get more done in less time.
Users aspiring to use templating.
Users who want nice, searchable URLs
Users who don't want to run things from the command-line
Users having only one MySQL database (table prefixing is an option)