Joachim Schmitz wrote:
> Hi,
> 
> from what I read in Florents tutorial I like the general idea of
> GenericSetup. What I don't like is, that everything is defined in xml.
> 
> I don't see, how I could design an application from scratch by creating
> and editing all those xml-files. I can read and understand python, but
> xml-files for me are hard to read and understand, even more to write.

The idea is not to "write the application in XML", but to configure the
application using the ZMI (or possibly other tools), and save the
configuration as XML.

> Was there ever considered to use other formats like yaml or json, which
> are very much more pythonic ? Or even better to use python itself ?

As much as I like the elegance of yaml and json, I think that "the
industry" has much more support for XML.

A possible solution, of course, for hardcode yaml fanatics, would be to
have a yaml->xml converter, so that you type your yaml by hand and then
use a makefile to convert it to xml.

  S.

-- 
Stéfane Fermigier, Tel: +33 (0)6 63 04 12 77 (mobile).
Nuxeo Collaborative Portal Server: http://www.nuxeo.com/cps
Gestion de contenu web / portail collaboratif / groupware / open source!
_______________________________________________
cps-devel mailing list
http://lists.nuxeo.com/mailman/listinfo/cps-devel

Reply via email to