CakePHP Rapid Development PHP5 Framework

  • December 28, 2012
  • vicus
CakePHP_logo_180x90

CakePHP Rapid Development Framework is a PHP development framework, written in the PHP programming language. CakePHP was started in 2005, based on the concept of Ruby on Rails. The community has since grown and branched out into several subprojects. Like Ruby on Rails, CakePHP makes it easier to use a database through Active Records. It also encourages the use of the Model-View-Controller model.

The fun and appealing thing about Cake is that they approach programming like baking a cake. The equation with recipes, ingredients with program components and specifications. The cookbook concentrates on working with the framework. It presupposes knowledge of OOP, the PHP programming language and related techniques.

CakePHP is a free, open-source, rapid development framework (RAD) for PHP. It is aimed at PHP programmers and provides the basis for developing PHP web applications. The objective is to provide a tool for PHP developers to work in a structured and Rapid way without losing flexibility.

CakePHP has an active development team and community which makes it a valuable project. When building on the basis of CakePHP, the basis of the application is in any case stable and tested, in addition, the framework is continuously developed.

Developer quickly puts down prototype

Scaffolding is a quick way of laying out the initial construction of a project. The first database schema is usually still subject to change, which is normal at the beginning of the design process. This has the disadvantage that a web developer hates to create forms that will never really be used. Scaffolding in CakePHP analyzes the database tables and creates default lists with buttons for adding, deleting and modifying, default forms for modifying and default screens to view a record from the database for.

Difficult to learn but quick results

  1. Download and unpack
  2. ../cakephp/ displays the default test screen
  3. Create a database model (Create tables)
  4. Configure database (and other options if desired)
  5. Set up a new prototype with the Scaffolding feature
  6. After the prototype has been approved, work can begin on adding further content into the framework.

In gaining this hands-on experience, we conclude that CakePHP is a bit difficult to learn, but that CakePHP is much more powerful than frameworks like CodeIgniter, Kohana and Xataface.

  • CakePHP has a stronger database association model; The Object Relational Model saves a lot of time.
  • Unfortunately, documentation and manuals are not a strong point of CakePHP. They lose the link to easy as cake baking; on a pack of cake mix it says very precisely which steps lead to the desired result. Fortunately, the community is very helpful.
  • Unlike CodeIgniter (Ellislab inc) and Zend Framework (Zend), CakePHP is not dependent on the commercial organization behind it. CakePHP belongs entirely to the community.

If you like Object Oriented Development, a job at my company Vicus eBusiness Solutions in Amersfoort might be something for you. Please feel free to contact me!

There are no comments yet

Also interesting

no messages found