开发者

Easily reuse views, controller, layout in a command line interface

My Zend application is going to get an command line php script that should email reports. There generation depends on Zend_View, Zend_Layout and is currently already w开发者_Go百科orking fine in the web interface.

How can I reuse this whole MVC functionality in the command line?

Should I add a new controller CommandLineController and call this somehow from the commandline?

How can I kick of such a Controller manually, without having a HTTP request?


I would recommend to check out this excelent tutorial for the Zend Framework from the command line:

Tutorial

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜