I am not a hardcore Vim/Vi user. But this tiny piece of editor is very much helpful for certain cases, such as editing files on remote server instance while connected via terminal/ssh. Thus, I have occasionally used this whenever needed. However, I felt that, as I don't use it very frequently, I often forget how to do a certain task in it and I need to google it every time I am … [Read more...] about A Collection Of Frequently Used Vim Commands
Development
PHPUnit Tutorial For Beginners
I have been using PHPUnit for quite some time now. I thought a few times about writing about it, but it didn't happen till now. This is my first tutorial on testing as well. The official documentation/getting started guide is already quite good for starting. However, I find it a little insufficient in several cases and could be a little hard to start with as a beginner. Thus, I … [Read more...] about PHPUnit Tutorial For Beginners
Using Composer With Codeigniter
For all web app developers, who have started using modern frameworks like Symfony, Silex, Laravel etc. and have wished for composer support inside their CodeIgniter application, I will try to show you the most efficient and standardized way to achieve this goal. I have also added this feature on my own codeigniterplus project, and if you are familiar with that project, you can … [Read more...] about Using Composer With Codeigniter
PHP Dependency Injection With Pimple
Injecting dependencies to our core application is an everyday requirements/needs and thus is a most commonly used design patterns. Composer already made our live easier by managing library dependencies for PHP applications. Today, I will introduce you with the best way of PHP dependency injection into a web application with using very simple and slim Pimple library. This … [Read more...] about PHP Dependency Injection With Pimple
2 Useful Tips For Using Gearman From MySQL UDF
So, are you offloading time-consuming tasks by sending them to separate distributed cloud computing instances to gain performance via the gearman job server? That's great news! What if this needs to be performed on some creation/update of new/existing MySQL database table entries? Will you run another script to track it? Of course, that is not a good solution at all. So, then … [Read more...] about 2 Useful Tips For Using Gearman From MySQL UDF