Editing
Portal:SaaS and Web Development
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== CGI::Application === As Perl web applications grew, developers needed better structure than one large CGI script full of `print` statements. One important response was '''CGI::Application'''. MetaCPAN describes CGI::Application as a framework for building reusable web applications, designed to make applications easier to design, write, and evolve while avoiding unnecessary dependence on a single toolset, operating system, or web server.<ref>MetaCPAN, βCGI::Application,β https://metacpan.org/pod/CGI%3A%3AApplication, accessed July 3, 2026.</ref> CGI::Application encouraged a more organized model. Instead of a script being only a sequence of actions, an application could be divided into run modes. Each run mode represented a state or action, such as showing a form, saving data, displaying a record, or confirming a result. This approach helped Perl developers write more maintainable CGI applications. It also worked with templating systems, plugins, and database layers. CGI::Application did not require mod_perl, but it could benefit from persistent environments. CGI::Application is historically important because it represents a transitional stage in Perl web development. It was still close to CGI, but it moved Perl applications toward reusable structure, separation of concerns, and framework-style organization.
Summary:
Please note that all contributions to Perl Guilds - Getting Medieval with Perl may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Perl Guilds - Getting Medieval with Perl:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
Edit source
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
Tools
What links here
Related changes
Page information