Controlling WordPress plugins remotely

One of the important reasons for the popularity of WordPress is its plugin architecture, which has enabled thousands of programmers to write additional functionality for WordPress. But the plugins are constrained in silos, unable to be controlled by outside programs ( well this can be advantageous if you consider security).

Take the popular WP-Super-Cache plugin. I frequently make changes to my blog from a FTP client, and every time I’ve to login to the WordPress admin and clear the cache so that I can see the latest changes reflected. At times this can be tiring. It would be nice if one could have a desktop app that interfaces with the remote WP-Super-Cache instance. This is exactly what we will do in the current post.
Read More

Rethinking Pagination

Pagination is one of the ubiquitous UI elements in website design. Designed in various formats and color combinations, this UI element has remained relatively static with respect to its usability functions. But in my opinion there is a lot more we can squeeze out of this little element. My pet peeve regarding pagination is its inability to inform me about the content residing on a particular page in question, especially in Worpress like CMS.
Read More

Benchmarking WordPress SQL using FirePHP

firephp_thumbBuilding and running a WordPress site is a simple matter. WordPress is a considerably fast CMS system, until you start to add more and more plugins and one day you notice that Worpdress has started to slow down. It may be the case that SQL queries within some plugins are not optimized and are taking an increased amount of time executing them, this can considerably slow down your site. The first thing you can do to rectify the situation is to find out where exactly the bottleneck resides by analyzing the time each SQL query takes to executes. Some inquisitive people among you may also be interested in knowing in what sequence the WordPress SQL queries themselves are being run. Not that all bottlenecks occur due to unoptimized SQL, most are due to poor coding practices. Whatever the reason; the following post will show you how to look inside the SQL query execution of WordPress.
Read More