Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: A Vision for Easy Web Application Deployment for Perl

by westernflame (Sexton)
on Dec 31, 2005 at 14:50 UTC ( [id://520152]=note: print w/replies, xml ) Need Help??


in reply to A Vision for Easy Web Application Deployment for Perl

I agree that expanding the reach of Perl on low level hosting is an excellent idea. However, you suggestion of creating tar balls does not do this. It is the same old approach to creating web applications. You have a series of scripts that rely on modules. The user has to set permissions, edit configuration files, use ftp etc. To much of these things are beyond the basic user. Creating custom tar balls will not solve this.

An alternative approach would be to have a standardised dispatch script for using perl modules as web applications. It would be a single script that specified a module, a method in that module, and query arguments. All web applications would have to be a module, and could all be installed from CPAN.

To make such an approach viable for people with no Perl skill, an alternative interface to CPAN could be devised. One that didn't require shell access. Such a system would need to be able to operate entirely through the browser, downloading modules in segments, as a page refreshed. Alternatively if no web access modules where available (such as LWP), a wizard could be created to help users upload modules themselves.

With a pair of standardised scipts (dispatch and install), CPAN could become an excellent way of distributing web apps.

Replies are listed 'Best First'.
Re^2: A Vision for Easy Web Application Deployment for Perl
by markjugg (Curate) on Jan 02, 2006 at 16:56 UTC
    I had something much like this in mind and agree that is a great idea. Both the CGI::Application and Catalyst frameworks have some dispatching built in, allowing you to use a single script for that. The CGI::Application is currently revamping CGI::Application::Dispatch to be even more powerful in this regard.

    I'm not sure what you mean by the "alternative interface" to CPAN, because that's the core of what the idea is. It provides an interface to CPAN that generates tarballs which are easy to unpack and upload without shell access. For fancy configurations, a web-based installation wizard might well talk to CPAN directly to install additional stuff.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://520152]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (6)
As of 2024-03-28 22:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found