Monks,

A few weeks ago I announced Apache2::ASP to you.

Since then much has changed. Aside from what you might expect with any web framework (session management, request abstraction, etc.) you also get the following:
At this time I would really appreciate it if someone would take a look and give it some constructive criticism. Specifically: Thanks!
  • Comment on Request for Comments: Apache2::ASP v1.15

Replies are listed 'Best First'.
Re: Request for Comments: Apache2::ASP v1.15
by clinton (Priest) on Jul 05, 2007 at 07:52 UTC
    Hi John

    I don't know how complicated your config gets, but you may want to try incorporating my module Config::Loader Config::Merge, which will allow you to:

    • store your data in any of XML, YAML, JSON, INI, Perl, Config::Any
    • break your data up into separate files in a config directory tree, for easier maintenance
    • have a defined policy for overriding data locally, eg for working safely in dev vs in production

    Clint

    Update: Updated the module name to reflect its new name

      The config is fairly simple at this point. Just a few settings plus dsn's for Application state and Session state managers, as well as a dsn for your application itself (i.e. Class::DBI or DBIx::Class).

      Since the Apache2::ASP::GlobalConfig and Apache2::ASP::Config classes are subclassable, one could simply subclass one or the other (depending) to add any desired features (such as a Config::Loader facade).

      Thanks for taking a look.