Command Line Tool To Supercharge Web Development?
Is there a way to create a command line tool which will help extensively in building an application.
For example, say I have a zend project and I want to add a whole new admin module based on some predefined patterns.
I run:
$ myzf create admin-module-framework
Which would then setup (as per a predefined template):
The module, models, views, controllers, actions, helpers, plugins, and even create a sql file to go with that.
Of course, I wouldn't be looking for something which simply copies certain files to certain directories (I can do that myself). I'd be looking for something which will actually modify the code to fit in with the app (based on开发者_运维百科 some predefined variables).
Possible? Worth the effort?
Thanks!
See http://blog.stuartherbert.com/php/beyond-frameworks/ for a series of articles where Stuart creates such a system.
精彩评论