CatalystX::AppBuilder

Build Your Application Instance Programatically
Download

CatalystX::AppBuilder Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Daisuke Maki
  • Publisher web site:
  • http://search.cpan.org/~dmaki/

CatalystX::AppBuilder Tags


CatalystX::AppBuilder Description

Build Your Application Instance Programatically CatalystX::AppBuilder is a Perl module that gives you a programmatic interface to configuring Catalyst applications.The main motivation to write this module is: to write reusable Catalyst appllications. For instance, if you build your MyApp::Base and you wanted to create a new application afterwards that is mostly like MyApp::Base, but slightly tweaked. Perhaps you want to add or remove a plugin or two. Perhaps you want to tweak just a single parameter.Traditionally, your option then was to use catalyst.pl and create another scaffold, and copy/paste the necessary bits, and tweak what you need.After testing several approaches, it proved that the current Catalyst architecture (which is Moose based, but does not allow us to use Moose-ish initialization, since the Catalyst app instance does not materialize until dispatch time) did not allow the type of inheritance behavior we wanted, so we decided to create a builder module around Catalyst to overcome this. Therefore, if/when these obstacles (to us) are gone, this module may simply dissappear from CPAN. You've been warned.SYNOPSIS # In MyApp.pm my $builder = CatalystX::AppBuilder->new( appname => 'MyApp', plugins => , ) $builder->bootstrap(); Requirements: · Perl


CatalystX::AppBuilder Related Software