[Catalyst] [RFC] Catalyst::ConfigLoader -- load a config from various formats

Brandon Black blblack at gmail.com
Thu Jan 26 13:50:44 CET 2006


On 1/26/06, Christopher H. Laco <claco at chrislaco.com> wrote:
> Sebastian Riedel wrote:
> >
> > 26.01.2006 05:23 Brian.cassidy:
> >
> >> Hi All,
> >>
> >> I've worked on a pluggable arbitrary config file loader for the
> >> Catalyst core. Attached is a patch with the .pm files and a bunch of
> >> tests. It's possible i've forgotten something, it's late. :)
> >>
> >> So far it can load: INI, Perl, YAML, XML and JSON
> >>
> >> Comments welcome.
> >
> > You missed the point a bit, what we really need is a sane default config
> > format for the core.
> > All other formats can be easily added with plugins.
> >
> > Most of us still prefer YAML, but one parser uses Spiffy and the other
> > has XS prereqs.
> > Maybe the best solution is to release and use YAML::Frozen::039.
>
>
> Right. I think blblack@#dbix-class is working on it already...
> I could be wrong...
>
> -=Chris
>

Yeah, I have a YAML::Frozen::039 in
http://dev.catalyst.perl.org/repos/bast/trunk/YAML-Frozen-039, based
on the same kinds of techniques as Class::DBI::Frozen:301.

Just needs a bit of validation before releasing, I hacked it up last
night just before I went to bed.

-- Brandon



More information about the Catalyst mailing list