On 06/16/2010 01:11 AM, Burak Arslan wrote:
> hi,
>
> I suggest to group the "speed of development" thread into
> what's-wrong-with threads. The discussion will be easier to follow;
> especially for people who may want to help out with a particular aspect
> of qooxdoo.
>
> So, what's wrong with the generator? I have three points:
>
> 1) The .json configuration files: What are the reasons behind inventing
> a domain-specific language based on json syntax? Why not just use python
> itself? Getting rid of the .json syntax will help us get rid of a
> considerable chunk of code and makes the entry fee cheaper.
Python would be an interesting alternative, but as JBB already pointed
out that would make Python not only a platform prerequisite, but also a
language prerequisite. The Json format is sort of a "neutral" syntax,
and there are Json parsers for many concrete languages, should we ever
choose to implement the generator in something other than Python.
>
> 2) There's no need for bootstrapping script to be generated for the
> source version if the class import mechanism is made part of the language.
>
> qx.Class.import("qx.ui.table.Table");
> qx.Class.import("qx.ui.table.cellrenderer.Default");
>
> etc.
Yes, but *who* writes all these 'qx.Class.import' statements? You?! I
would honestly be interested to learn if people in the community think
that the automatic dependency analysis is something they can do without.
Because *that* would be an interesting thing.
>
> Once you do this, qooxdoo becomes a pure js library for the source
> version. It becomes basically free to try.
>
> 3) Why not (optionally) generate the parts automatically for the build
> version? It'd make deployment a bit easier. (less docs to read)
>
> e.g. ./generate.py build --with-parts
That's not possible, as the application code has to be changed when you
use parts (calls to qx.io.PartLoader.require()). And how would you
identify the parts automatically?
T.
------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit. See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel