There is an apache dart module <https://github.com/sam-mccall/mod_dart> in (arrested) development, and there is also an HttpServer class in the dart:io library, with which you can run your own http server and handle requests as you please. For development purposes, this should suffice. Certainly it should be possible to simulate Agavi's index.php script in a similar index.dart file, given data from the dart:io HttpRequest, and bootstrap from there, although I'll be the first to admit that how the AgaviContext gets its AgaviRequest and AgaviExecutionContainer instances has always been a mystery to me. I suspect it's some magic to do with factories.xml... :-)
Ben On Tue, Oct 23, 2012 at 4:18 PM, Michael McHugh < [email protected]> wrote: > Hi Ben, > > Just wanted to voice I too have been looking at Dart recently and think a > good structured MVC like Agavi would be a great match. > > I've only looked at it cursorily as of yet, but I couldn't find any > non-trivial way to set it up as a server, perhaps that needs to be > developed before, or as part of a good MVC framework ( Dartgavi ?? ;). > > Regards, > Michael > > > On 24/10/2012, at 10:01 AM, Ben Wilhelm wrote: > > > Heresy, perhaps, but has ever the idea or porting Agavi to a non-PHP > language been considered? There is a new (server- and client-side) language > on the horizon, Dart, in which language a classical OO MVC framework like > Agavi would really do well, and for which there is of yet nothing close to > Agavi in the making. > > > > (This is work in which I would have a lot of interest in participating, > myself.) > > > > Ben > > _______________________________________________ > > users mailing list > > [email protected] > > http://lists.agavi.org/mailman/listinfo/users > > > _______________________________________________ > users mailing list > [email protected] > http://lists.agavi.org/mailman/listinfo/users >
_______________________________________________ users mailing list [email protected] http://lists.agavi.org/mailman/listinfo/users
