My last few blog post’s are result of the project that I am currently working on, and this blog is also in that series. We needed to catch PHP Fatal Errors in the production environment and notify about it to developers, also at the same time, showing our beautiful fail whale page to user instead […]
Get An Introduction To Functional Programming At TechWeekend 5
5th edition of the TechWeekend is going to be about Functional Programming and if are hearing this term for first time, or if you are like me who has heard about it, but never got time to look into the details then you should definitely attend it. Event is on 18th Dec 2010, ie this […]
PHP5 patch for FunctionList plugin of Notepad + +
As you may know Notepad++ is my preferred development tool for PHP, and two months back I found FunctionList plugin that shows list of function in a opened PHP file, and it increased my productivity almost immediately. Only drawback was that it showed just function list and not variables. And today I found this neat […]
Testing Extjs Application With Selenium : Few Pointers
On a project that I am working on we needed to create few automated tests using selenium. Our frontend is completely written in Extjs. Being new to testing using selenium, I searched the web and here are few useful advices that I found. The most comprehensive one was by Ates Goral on stackoverflow. The biggest […]
Installing PEAR and PHPUnit on WAMP and Windows 7
In the project that i am currently working on, we decided to use PHPUnit for doing our unit testing, and i found that it was not a straight forward thing to install that I had thought it would be. I had to start by installing Pear, and as soon as i type ‘go-pear’ in command […]
Simple Way To Add Global Exception Handling In CodeIgniter
I am working on a project where we needed to capture exceptions at a global level instead of doing it at every step as they were not critical, but important for us to know. The idea was that whenever such an exception occur on production we should send an email to developers mailing list so […]
CodeIgniter 2.0 Is Baking
Just when I was loosing all hopes about CodeIgniter, yesterday EllisLab announced about their move to assembla and mercurial, in that there was a small but significant news about CodeIgniter 2.0. A quick look into the change log revealed PHP 4 support is deprecated. Features new to 2.0.0 may not be support PHP 4, and […]
How to get Latitude/Longitude from an address (or Geocoding ) using PHP
While Google’s documents for maps API does good job in showing how to get lat/long from an address in JavaScript they do not really show any example of doing the same with PHP. So to make you life simple here is a small script in PHP that does that. $geocode=file_get_contents(‘http://maps.google.com/maps/api/geocode/json?address=573/1,+Jangli+Maharaj+Road,+Deccan+Gymkhana,+Pune,+Maharashtra,+India&sensor=false’); $output= json_decode($geocode); […]
Backup your WordPress blog to Rackspace Cloud Files
Update : This plugin is not available any more. You may want to check http://pluginbuddy.com/purchase/backupbuddy/ We all have heard of importance of regular backups, but for a long time I had neglected it for my blog. But recently things happened that prompted me to take backups. While I was looking for option to keep backups, […]
PHPCamp is Back
Preparations are on for second edition of India’s biggest un-conference for PHP developers. It is going to be held on 9 January 2010 at Symbiosis Centre For Distance Learning, Pune. Check out the talks and if you think you can give a better one then please propose your talk. If you have not registered yet, […]