Maypole

Maypole is a Perl framework for MVC-oriented web applications, similar to Jakarta's Struts.
Download

Maypole Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Aaron Trevena
  • Publisher web site:
  • http://search.cpan.org/~teejay/XML-Xerces-BagOfTricks-0.03/lib/XML/Xerces/BagOfTricks.pm

Maypole Tags


Maypole Description

Maypole is a Perl framework for MVC-oriented web applications, similar to Jakarta's Struts. Maypole is a Perl framework for MVC-oriented web applications, similar to Jakarta's Struts. Maypole is designed to minimize coding requirements for creating simple web interfaces to databases, while remaining flexible enough to support enterprise web applications. What does that mean?Many web applications follow the same kind of flow of operation in response to a request from a user, they mess about with a database, and present the results of that messing about back to the user through some templating system. For instance, searching a company's product catalogue will take a query from the remote web client, search the database for the rows matching that query, and format the rows as a list for display on a page. This set-up is sometimes called "MVC", after the famous Smalltalk-80 Model-View-Controller paradigm. For our concerns, this means that the interaction with the user, (the controller element) the actions required at the database, (the model element) and the presentation of data (the view elements) are all neatly compartmentalised. Maypole provides a generic way of handling that compartmentalisation. It provides the top-level code which examines the user's request, fires off the relevant method in the model, collates the data, asks the view class to format it up and sends it back to the user. * As well as this, some common Perl modules, such as Apache, Class::DBI and Template, already perform important parts required for model, view or controller operation, so Maypole provides wrapper classes to help them fit into the framework.What's New in This Release:Bug Fixes :· Fixed some db_colinfo test bugs· Fixed typo in edit form template· AsForm fixes to stringification _to_select· made DFV and FromCGI warn instead of die on unexpected cgi params· small improvements to some factory templates· fix to path handling in mod_perl and CGI when location ends in /· fixed template path ordering so i.e. /tablename/list is used before /list when provided with a tablename· fixed template path with array refs· fix to template being reset from path in plain templates (i.e. where no model), may affect those relying on the bug ( bug 23722 )· fix to display_line macro in factory templates (bug 22920)· fix to correct problem with LocationMatch and regex based Location directives in apache config.· fix to redirect_request· Fixed typo in _do_update_or_create (bug 26495)API additions and enhancements :· new Class::DBI::DFV based model· New config method : additional, for stashing additional info, especially from additional_data method· new warn method in maypole/request class/object, over-ridden by Apache::MVC, etc or own driver· new build_form_elements attribute for Maypole request and Maypole::Config, set it to 0 to avoid building cgi form if you don't need it· added CGI params to TT error template· improvements to factory templates· added search_columns method to base cdbi model class, provides display_columns unless over-ridden· added new hook - preprocess_location· added new attribute to Maypole::Config - request_options· improved pager template macroInternal additions and enhancements :· Inheritence simpler and nicer and less hacked· add_model_superclass method moves @ISA munging into the model· new test to check everything compiles· Model inheritance re-organised


Maypole Related Software