18, Aug 2011
In the earlier version of CakePHP i.e. version 1.2, one could only use the built in Ajax pagination if you were using Prototype as your JavaScript library. However creating Ajax pagination has gotten more simple and flexible for 1.3. Adding required helper + component In order to easily do Ajax pagination, first we add the following to our controller; this will set us up to use the MooTools adapter in the JsHelper and the RequestHandler for automatic disabling of layouts on Ajax requests. Show Plain Text var $components = array('RequestHandler'); var $helpers = array('Js' => array('Mootools')); Prepare the layout. In order to use
17, Aug 2011
The web community is aware of the two most powerful web application development tools, namely CakePHP and Ruby on Rails. These frameworks are best in their own ways. However, it has been an age long question – which framework should be used for web development? Well, these frameworks have their own pros and cons. This article will help you in deciding which framework to choose. CakePHP V/S Ruby on Rails Both of them follow the MVC design pattern and adhere to the “Convention over Configuration” philosophy. Both of them also support AJAX and have an almost identical directory structure. They are very OOP-like. They have their own
17, Aug 2011
CakePHP has been one of the most remarkable PHP frameworks available. Used for making web pages and applications, this framework has made its mark on the web development world. One of the great challenges of building user friendly web applications is designing an intuitive UI. Most of the applications are large and complex. Designers and programmers find they are unable to cope with displaying hundreds or thousands of records. Refactoring takes time, and performance as well as user satisfaction can tend to suffer. Displaying a reasonable number of records per page has always been a critical part of every application and used to cause many