#480: Implement Console Request, Routing, Response etc
--------------------------------------------+-------------------------------
Reporter: [EMAIL PROTECTED] | Owner: david
Type: enhancement | Status: new
Priority: normal | Milestone: 1.0
Component: _OTHER_ | Version:
Severity: major | Resolution:
Keywords: console commandline | Has_patch: 0
--------------------------------------------+-------------------------------
Changes (by ross):
* has_patch: => 0
Comment:
I've adding a new patch - Console.patch.txt.
(You might want to split it up into parts before applying to your code
base) If needs be I can add the files separately - just ask!
OK - the console files live in app/lib/console and have to be added to
autoload.xml There are some changes and by default it calls the console
method - I have extended the ProjectBaseAction to have a handler for
executeConsole - so you override that an your away.
The factories.xml has a bit more information in it, like turning off
sessions, other than that its much the same as the original - just some
extra methods in the core Console classes that were missing.
I've also added an example route in routes.xml which is called from the
commandline like so:
{{{
/pub/cli.php /cron/tag_cloud/
}}}
--
Ticket URL: <http://trac.agavi.org/ticket/480#comment:5>
Agavi <http://www.agavi.org/>
An MVC Framework for PHP5
_______________________________________________
Agavi Tickets Mailing List
[email protected]
http://lists.agavi.org/mailman/listinfo/tickets