- [HowTo] Backup and Restore MySql Databases
Do you have a backup of your important mysql databases ? No ? Think about it .. What if you have a Operating System / Filesystem crash ? What if your databases get corrupted due to some reason ? What if you accidentally drop your database or some important tables ? What if you want […]
- [CakePHP] Sending JSON data in response to a controller action
In my last post we saw a very simple trick to set javascript variables from controller action so that they are available in the javascript files. On the same lines a very common requirement is sending JSON data as output of the controller action. This is mainly required for those actions which are called by […]
- Introduction to jqGrid jQuery plugin
‘Data’ is an important term and a backbone for any dynamic web applicaiton. And for that reason, there are no two ways to say that data representation has been a crucial factor in web application development. As we know that there are enormous methods to represent data in any system but what matters is efficiency, […]
- Lambda functions and Closures in PHP 5.3
PHP 5.3 has introduced a whole new range of cool features like Namespaces, late static binding, new error levels, to name a few. But the functionality that I found most handy for day to day programming is the Lambda functions and Closures that found their way in PHP through version 5.3 Lambda functions Lambda functions […]
- [How To] Use of image magick instead of GD for run-time image re-sizing
In my last post, we looked at a way to re-size images at run time. That method used PHP’s built-in GD library for image processing. So it may happen that image processing may increase load on HTTP server. That’s why in this post I am going to tell the way to use ImageMagick for image […]