Ian Sparks wrote:
Its a slow Friday afternoon, I hope folks will forgive my public musings.

I was looking at Zope 3's configuration XML scheme, ZCML (1) and thought to myself how horrible using XML files is for web-site configuration tasks.
same here, i worked with a .NET MVC framework with
an XML configuration file and i've found it too verbose and
a pain to maintain.

you may want to take a look at YAML for this purpose:

http://www.yaml.org
''YAML(tm) (rhymes with "camel") is a straightforward machine parsable data serialization format designed for human readability and interaction with scripting languages such as Perl and Python. YAML is optimized for data serialization, configuration settings, log files, Internet messaging and filtering''


unlike XML, YAML maps serialized elements into scalars, lists and dictionaries values, so in python you work with native data structures,
instead of parsing trees with DOM/SAX.


bye






------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to