About Amit Badkas

Amit Badkas is Zend certified PHP5 and Zend Framework engineer, and has been working in SANIsoft for past 9 years, his present designation is 'Technical Manager'
Author Archive | Amit Badkas

[CakePHP] How to show ‘all’ records options while still using paginate

TweetAdmittedly this is a marginal case but recently a client wanted to show "All" records along with a list of 'per page' options for paginated records, for example, something like '2, 5, 10, 25, 50, 100, All' or you need to use 'field sort' feature of pagination while displaying all records. So, following is a [...]

Read full story · Comments { 1 }

[CakePHP] Configure cache parameters for core and model

TweetHappy New Year to everyone and welcome to my first post of the year. Many times you need to have a look at total number of seconds taken by SQL queries in a CakePHP application. It's cumbersome to scroll a long list of SQL queries every time and if the application has a lot of [...]

Read full story · Comments { 0 }

[CakePHP - How To] CKFinder configuration management using component

TweetHello guyz, I am back again with an article on CakePHP. This one is related to CKFinder configuration management. CKFinder is a file management plugin for CKEditor using which you can upload new files or use existing files to link in to CKEditor's content. There is a config.php in CKFinder's directory which has many configuration [...]

Read full story · Comments { 0 }

jCrop Demo using PHP

TweetThis is one more post in my 'image manipulation using PHP' series. This one uses jCrop, a jQuery plugin, which provides the quick and easy way to add image cropping functionality to your web application. Most of the people understand what the image cropping is, hence I am jumping to the demo of it by [...]

Read full story · Comments { 1 }