Code for Fun!!
Seeing me freak out at solving maths equations, my mom used to say that solving maths problems is fun once you get the hang of it. I thought that she’s just telling me that to finish up my homework,...
View ArticleWhich PHP Framework?
Which PHP Framework is right for you? There seems to be an uprising in the world of PHP frameworks ever since the formidable Ruby on Rails took the programming world by storm, catapulting the quiet...
View ArticleWhat's important??!!
I’ve been away for quite a while from this part of world, mean that I’m writing here on this blog of mine after 6 months, well a day more than 6 months to be exact!! No need for explanations,...
View ArticleThe need for speed!!
Paul Jones has posted the results of his benchmark on speed of different PHP Frameworks here. He has benchmarked four frameworks; CakePHP, Solar, Symfony and Zend Framework. The benchmark was fairly...
View ArticleSetting up PHP Development environment in a Virtual Machine
I’ve been meaning to move my local development stack to a VM for sometime now. The hardware has come a long way and running a Linux server as a Virtual Machine with 1-2 GB of RAM allocated to it...
View ArticleWordPress plugin activation/deactivation hooks.....
If you develop stuff on WordPress, chances are you’ll be familiar with the plugin activation and de-activation hooks. But should they be used? Or are they to be avoided? Now that’s a bit of a tricky...
View ArticleBack from the dead.....
The last release of iG:Syntax Hiliter was about 7 years ago when v3.5 was released. After that I got side tracked with other things which staked claim over my time, the plugin didn’t have any show...
View ArticleiG:Syntax Hiliter v4.2
iG:Syntax Hiliter v4.2 is now available for download. Some bugs have been fixed in v4.1 and v4.2 along with a few new additions and improvements, some of which are: Additional language files can be put...
View ArticleUpdating a cache automatically
A change that I pushed in iG:Syntax Hiliter v4.2 was that shorthand style tags were enabled for all languages. Apart from the GeSHi language files bundled in the plugin, you can add additional language...
View ArticlePHP equivalent of Rails' to_sentence()
So Corey popped a question last night in company chat room on whether WordPress has an equivalent of Rails’ to_sentence() function or not. The answer was no it doesn’t, & I thought heck that can be...
View ArticleiG:Twitter Cards - now available.....
Twitter Cards are quite the rage now when it comes to sharing your stuff on Twitter. They add that zing to sharing. But there are loads of plugins for WordPress already, so why did I create my own?...
View ArticleSetting up a PHP Development Environment - v2
Sometime back I wrote a step-by-step guide for setting up PHP development environment in a virtual machine. This is a simplified (& less tiring) version of that. You’ll need a few things to...
View ArticleZen of WordPress development.....
At BarCamp Delhi 9 someone asked me how I go about developing on WordPress and what would I advice to someone starting on it. We had a good discussion at length & though its been a couple of months...
View ArticlePHP: Which framework??
At recently concluded BarCamp Delhi 10, there was more than one discussion on frameworks, be it Javascript or PHP. There are a lot of frameworks around for just about everything – server side stuff...
View ArticleUsing AJAX in Laravel
This question came up in a forum where I drop by now & then. It is also something that I recall answering previously on one or two occasions. So I thought I’d write about it here with a rudimentary...
View ArticleSupercharged Models in Laravel
When I was first started playing around with NodeJS few months back, I came across Mongoose, a really neat ODM for MongoDB. You just needed to define the schema for each entity and pass it to that...
View ArticleAbstract properties in PHP
What are abstract properties? There are abstract methods but the notion of an abstract property seems a bit ridiculous. Why so, you might ask! Well, the thing is, methods are declared & defined...
View ArticleWordPress metaboxes Object Oriented way.....
This is something that I’ve been meaning to do for a while but didn’t get around to it till recently, or rather, mid November last year. I wanted a neat, clean, Object Oriented way to create metaboxes...
View ArticleiG:Syntax Hiliter v5.0
iG:Syntax Hiliter v5.0 is now available for download. Its been about two and half years since last release of v4.2 (v4.3 was a bugfix release made next day). What has changed? Well, lots on the code...
View ArticleiG:Twitter Cards - now available.....
Twitter Cards are quite the rage now when it comes to sharing your stuff on Twitter. They add that zing to sharing. But there are loads of plugins for WordPress already, so why did I create my own?...
View Article