One of common tasks for optimizing server load and database speed is data pagination. CakePHP already supports this feature, however it’s javascript framework is prototype which is more rare than jQuery. Since a lot of developers love jQuery, I am going to share a easy for paginating database results retrieved via AJAX the easy way.
Controller [...]
I have been working on this project for a client using CakePHP and it turns out it is quite a tricky project.
After clapping my hands that every hard part of the website is working as a charm, I have started realizing that my Car Model has no proper association to return data by its own [...]
