On 6/9/06, Matt S Trout <[EMAIL PROTECTED]> wrote: > Aran Deltac wrote: > > On 6/9/06, Matt S Trout <[EMAIL PROTECTED]> wrote: > >> I love YAML as a serialisation format for data transfer, but so far as > >> stuff > >> like config files that are designed for human write / machine read, I > >> personally think it sucks. Massively. > >> > >> And for hysterical raisins it's currently our default config file formats, > >> and > >> I see users running into trouble getting their myapp.yml to parse right all > >> the flipping time. So, I'm wondering if this is just me being a YAML-hating > >> heretic or if other people are of the same opinion. > > > > Or both? > > > >> A few (IMO) better options - > >> > >> Config::General - > > > > This looks like XML. XML is a language for writing documents, IMO, > > nothing more. A big thumbs down. > > It's apache-style. Do you hate httpd.conf as well?
Oh, no, I think apache config is pretty rockin. I was just looking at the example you put in which looks just like XML. I just checked out the Config::General docs and, as you said, its like Apache configs. I really like it now that I've looked at it. And since you use it I'll deffinately give it a try. I wouldn't say I hate XML, it is not generally useful for what us techies do. If I write a book XML would probably be a good choice. Web site presentation is also a document, so XML would play a good role there I would think. Serialization, configuration, etc, just don't fit the bill. That's what I was trying to say. At this point I think I can say for sure that YAML isn't a good choice. I think changeing the default configuration format to something that isn't breakable just by changeing indentation would be a good thing. Aran PS: Would you be willing to send along a sample Config::General file from one of your Catalyst apps? I'd love to see it in use. > -- > Matt S Trout Offering custom development, consultancy and support > Technical Director contracts for Catalyst, DBIx::Class and BAST. Contact > Shadowcat Systems Ltd. mst (at) shadowcatsystems.co.uk for more information > > + Help us build a better perl ORM: http://dbix-class.shadowcatsystems.co.uk/ + > > _______________________________________________ > Catalyst mailing list > [EMAIL PROTECTED] > http://lists.rawmode.org/mailman/listinfo/catalyst > _______________________________________________ Catalyst mailing list [EMAIL PROTECTED] http://lists.rawmode.org/mailman/listinfo/catalyst
