On 7/14/09 2:29 PM, Ian Bicking wrote: > OK... looking at pypes/bfgish/sampleapp/configure.yml... I am at first > rather put off by all the "--- !". I don't know what it means, and a > quick read of the YAML spec isn't very helpful. i assume the empty > sections could actually be left out, but they are kept in for > documentation purposes.
So I just got some tips from the PyYAML folks about this particular thing. It'd be possible to change the format (without loss of functionality) from: """ --- !route name: home path: / --- !route name: pages path: /pages """ To: """ --- directive: route name: home path: / --- directive: route name: pages path: /pages """ I have a slight preference for the former, because it's shorter, but at the end of the day I don't care too much. To me, being able to share any flexible declarative application configuration system between frameworks is a desirable thing, for reasons I've been yammering on about for a year or so now. - C --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
