Easily reuse views, controller, layout in a command line interface
        Posted  
        
            by Alex
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Alex
        
        
        
        Published on 2010-05-31T07:16:36Z
        Indexed on 
            2010/05/31
            17:43 UTC
        
        
        Read the original article
        Hit count: 191
        
zend-framework
|client-server
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 working 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?
© Stack Overflow or respective owner