Commandline Interface with Seagull

I (Demian Turner) just put in the wiki Roadmap we need 3 files in the webroot:

  • index.php for web stuff
  • cli.php for cli stuff
  • xmlrpc.php for [AJAX, etc.] , but perhaps in its own web-exposed directory so it could be password protected and use an SSL cert
    > For most of these, I didn't use seagull, but created seperate scripts 
    > with the following includes:
    > 
    > require_once "../init.php";
    > require_once SGL_CORE_DIR . "/Output.php";
    > commandline batch jobs
    

From the object point of view this means we'll need

  • CliRequest extends SGL_Request; HttpRequest extends SGL_Request, etc ..

from Mail