Main > Programming > Libraries >

OpenPlugin::Application 0.11

OpenPlugin::Application 0.11

Sponsored Links

OpenPlugin::Application 0.11 Ranking & Summary

RankingClick at the star to rank
Ranking Level
User Review: 0 (0 times)
File size: 0.077 MB
Platform: Any Platform
License: Perl Artistic License
Price:
Downloads: 1090
Date added: 2006-10-31
Publisher: Eric Andreychek

OpenPlugin::Application 0.11 description

OpenPlugin::Application is a subclass of CGI::Application, meant to help you create reusable web applications.

SYNOPSIS

# Example from OpenThoughts Demo.pm

package Demo;
use base "OpenPlugin::Application";
sub setup {
my $self = shift;
$self->run_modes(
mode1 => init_demo,
mode2 => get_os_list,
mode3 => get_os_info,
);
$self->start_mode( mode1 );
$self->mode_param(run_mode);
}
sub init_demo { ... }
sub get_os_list { ... }
sub get_os_info { ... }
1;

# Example from OpenThoughts demo.pl

#!/usr/bin/perl -wT
use strict;
my $r = shift;
my $demo = Demo->new( PARAMS => {
config => { src => "/path/to/OpenPlugin.conf" },
request => { apache => $r },
});

$demo->run();

OpenPlugin::Application is built on Jesse Erlbaums popular CGI::Application module. OpenPlugin::Application is simply a subclass of CGI::Application. Jesse says the following about CGI::Application:

"CGI::Application is intended to make it easier to create sophisticated, reusable web-based applications. This module implements a methodology which, if followed, will make your web software easier to design, easier to document, easier to write, and easier to evolve."

How does it do this? Jesse goes on to say:

"The guiding philosophy behind CGI::Application is that a web-based application can be organized into a specific set of "Run-Modes." Each Run-Mode is roughly analogous to a single screen (a form, some output, etc.). All the Run-Modes are managed by a single "Application Module" which is a Perl module. In your web servers document space there is an "Instance Script" which is called by the web server"

The biggest difference between CGI::Application and OpenPlugin::Application is that query object they both use; one is designed to use CGI.pm, the other OpenPlugin. Generally speaking, everything in the still applies. Any differences will be noted in this document.
It is not necessary to use OpenPlugin::Application in order to build web applications using OpenPlugin. This plugin is meant to be for your convenience -- to help you structure your web applications in a manner which makes sense, and is reusable.

OpenPlugin::Application 0.11 Screenshot

Advertisements

OpenPlugin::Application 0.11 Keywords

Bookmark OpenPlugin::Application 0.11

Hyperlink code:
Link for forum:

OpenPlugin::Application 0.11 Copyright

WareSeeker periodically updates pricing and software information of OpenPlugin::Application 0.11 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of OpenPlugin::Application 0.11 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed

Allok Video Splitter 2.2.0 Review:

Name (Required)
Email(Required)
Captcha
Featured Software

Want to place your software product here?
Please contact us for consideration.

Contact WareSeeker.com
Related Software
OpenPlugin is an architecture written in Perl which manages plugins for Web applications. Free Download
CGI::Application is a framework for building reusable web-applications. Free Download
CGI::XMLApplication is an Object Oriented Interface for CGI Script Applications. Free Download
REST::Application is a framework for building RESTful web-applications. Free Download
OpenPlugin::Datasource::DBI is a DBI driver, used to create DBI database handles for the OpenPlugin::Datasource plugin. Free Download
Application::Pipeline is a module designed to map methods to different phases of an applications life cycle. Free Download
CGI::Application::Magic is a template based framework for CGI applications. Free Download
Bundle::Application::Magic is a a bundle to install CGI::Application::Magic plus all related prerequisites. Free Download