Each time i wanted to get config from Zend Framework, inside application.ini or engine.ini or any other name you wish to call your config i had a problem with writing too much code to get job done. Code needs to be written inside Bootstrap.php which then set object inside Zend_Registry and this was overkill for me. What i wanted to do is to have only one class or method from which i will call any config file and get any property inside this file.
Smarter is better don’t you think?
Let’s imagine that we have bunch of MySQL databases which you need to migrate from one server to another and for every database you need at least 15 minutes.
Well, i had chance to transfer 99 websites from one server to another (99 of them, YES 99), and i was struggling with each database migration, which was overkill for me. Then i was thinking, if i need let say at least 5 minutes for every database this would be like 495 minutes for all, but if i make one simple bash script which will do all the work for me, then i would be done in 20 minutes max, so i made one simple script which i can share with you all. But … don’t be happy just yet.