Often times we have to create command line utilities and it doesn’t make sense every time to put one command in a separate file specially when you have a bunch of related functionalities. This is a quick tutorial for handling sub commands in python which shows how we can write multiple functions in one module […]
PHP – People Helping People Following the twitter trend of #20yearsofphp, I could not resist to share my experience of my little PHP career 🙂 I am a commerce graduate and spend almost 5 years of my professional career in areas like accounts, customer service, BPO. I learned HTML during my school days in early […]
During the development of an API for a client i feel the need to have one class that can return me instance of different databases. I made a singleton pattern to achieve this. Below is the class that you can utilize if needed.