Quantcast
Channel: PHP | Canned Atropine!!
Browsing all 33 articles
Browse latest View live

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 Article


Which 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 Article


Image may be NSFW.
Clik here to view.

What'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 Article

The 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 Article

Image may be NSFW.
Clik here to view.

Setting 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 Article


WordPress 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 Article

Back 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 Article

iG: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 Article


Updating 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 Article


PHP 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 Article

Image may be NSFW.
Clik here to view.

iG: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

Setting 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 Article

Zen 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 Article


PHP: 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 Article

Using 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 Article


Supercharged 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 Article

Abstract 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 Article


Image may be NSFW.
Clik here to view.

WordPress 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 Article

iG: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 Article

Image may be NSFW.
Clik here to view.

iG: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
Browsing all 33 articles
Browse latest View live