Roland,

Me likey.

Some comments and suggestions inline:

> I think it might make more sense to create a single point of entry for all
> types of compilation. Let's call this point of entry FLEXC (credit:
>  Michael Schmalle). Wouldn't it be cleaner to use this FLEXC compiler as a
> sort of factory for all the different types of compilers that
> make up the Falcon framework? FLEXC could use an XML configuration file
> that describes the various compilers and could create
> a fully configured instance. (Essentially FLEXC would be a specialised DI
> container for Falcon compilers).

Big +1 here.

> So, by way of the configurability/modularity of Falcon and the examples
> above, I come to the notion of extensibility.
> Currently there is no plugin architecture in place in the Falcon framework
> (at least, not that I'm aware, please correct me if I'm wrong).
> ...
> Coming back to the case of Erik's and Frank's proposal of Javascript
> emission. If the Falcon backends will be designed (and I believe Michael
> Schmalle has already done so in his ASJS implementation) then we don't need
> to fight over which implementation Apache Flex should officially
> choose. Folks can build both and offer them to the Apache Flex community as
> a configurable option.
> ...
> for a specific backend could be defined. (Because, if I recall correctly,
> currently Erik's and Frank's solutions are basically different
> implementations of
> an emitter, right?)

This is pretty much how Mike set it up. The code for the emitters is
really nicely compartmentalized and you can easily switch out the
backend for another. After Mike helped me set up the Goog emitters and
I got how it worked,  it was really easy for me to start an
AMD/RequireJS version, to help out Frank with his contribution. It's
not quite abstracted to the level of a plugin structure, and it's
beyond me to create that (I only started doing Java to help out Mike
and implement Goog), but it certainly should be possible, IMHO.

> I'd love to hear some opinions, so let the games begin :)

In my opinion you've hit the nail on the head. Now all we need to do
is to take it from theory to implementation, after we get all the
compiler factions on the same page... Good luck ;-)

EdB



--
Ix Multimedia Software

Jan Luykenstraat 27
3521 VB Utrecht

T. 06-51952295
I. www.ixsoftware.nl

Reply via email to