Dart can be transpiled/compiled to JS, right? That would make agavi an
option as framework for a lot more people, not just the ones using Dart,
but for all JS developers. That would be great.

On Wed, Oct 24, 2012 at 2:00 AM, Ben Wilhelm <[email protected]> wrote:

> Yes! Dart factory constructors would be a nice way to build a context and
> its components, even if they in turn looked to a cached config file for
> directives. I also like the idea of rendering views/slots as web
> components. :)
>
>
> On Tue, Oct 23, 2012 at 6:21 PM, Michael McHugh <
> [email protected]> wrote:
>
>>
>> Thanks for the tip on dart apache module, I saw the HttpServer class in
>> the dart:io library but dismissed it as too low level just to start serving
>> up files. However in the context of building a robust framework like Agavi
>> onto it, it could be a great place to start - perhaps something like
>> express for node but with a robust MVC based on Agavi baked in from the
>> start.
>>
>> You are right about the factories.xml, here at CompliSpace we usually
>> extend a handful of the default factory classes  for our own needs, but
>> this is interesting with Dart as it supports factories as part of the
>> language, not just as a pattern:
>> http://www.dartlang.org/docs/dart-up-and-running/ch02.html#ch02-constructor-factory
>>
>> Regards,
>> Michael
>>
>>
>> On 24/10/2012, at 11:05 AM, Ben Wilhelm wrote:
>>
>> 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
>>
>>
>>
>> _______________________________________________
>> 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

Reply via email to