Posted by Michael N on 08/13/07 19:17
>
> Actually, something like this I would put the common stuff in classes or
> functions. Then include it in both the command line and web page files.
>
> Much more portable, and cleaner.
>
thats right. but i like to make a webconsole for existing CLI
scripts.
thats why i dont like to change too much the existing scripts.
if i change the existing scripts too much it is a big trouble if the
scripts are updated.
my idea is to make a webconsole for the CakePHP bake script.
the bake script make the output to the user via php://stdout and wait
then for input via php://stdin.
[Back to original message]
|