Application::Pipeline

Application::Pipeline is a module designed to map methods to different phases of an application's life cycle.
Download

Application::Pipeline Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Stephen Howard
  • Publisher web site:
  • http://search.cpan.org/~howars/Application-Pipeline-0.1.1/lib/Application/Pipeline.pm

Application::Pipeline Tags


Application::Pipeline Description

Application::Pipeline is a module designed to map methods to different phases of an application's life cycle. Application::Pipeline is a module designed to map methods ( referred to in this role as handlers ) to different phases of an application's life cycle. By assigning methods to different phases of this pipeline, the author can concentrate on the logic for each phase and let the framework manage the application flow. Adopting the same idea as CGI::Application, writing an application with Application::Pipeline is a matter of creating a module that is a subclass of Application::Pipeline.To build a pipeline application, it is necessary to register methods to run during each phase. This can be done one at a time, with the addHandler method. But Application::Pipeline also looks in the subclass package for the package variable %plan. This hash's keys are the names of the phases of the pipeline. Each key points to an array reference which is a list of the methods to run for that phase. The methods are either the names of the methods to run, or references to the actual methods.This is not the be-all end-all definition of the pipeline. It is still possible to use addHandler to modify the pipeline, and as explained later, it is possible to take into account %plans defined in superclasses. Requirements: · Perl


Application::Pipeline Related Software