perl-CGI-Lazy-1.10-alt1.noarch.rpm


Advertisement

Description

perl-CGI-Lazy - Simple webdev framework for cgi applications, especially web frontends to databases

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports noarch
Package name perl-CGI-Lazy
Package version 1.10
Package release alt1
Package architecture noarch
Package type rpm
Installed size 249.42 KB
Download size 249.42 KB
Official Mirror ftp.altlinux.org
CGI::Lazy was designed to simply abstract some of the more common cgi scripting tasks because the author finally got sick of writing the same code by hand for every new site or client that comes along.  It is my attempt to extend the wonderful CGI.pm with things that just about every modern website needs or wants, and to do it in a fairly portable manner.
There are plenty of webdev frameworks out there, many are far more full- featured.  Often these solutions are so monstrous that they are overkill for small apps, or so optimized that they require full admin rights on the server they run on.  CGI::Lazy was intended to be lightweight enough to run on any given server that could run perl cgi's.  Of course, the more power you have, the fancier you will be able to get, so Lazy was written to be extensible and to (hopefully) play nice with whatever magic you have up your sleeve.
Lazy has also been written to be useful in a mod_perl environment if that is your pleasure.  The wonders of persistence and namespaces have been (again, hopefully) all accounted for.  It should plug into your mod_perl environment with little or no fuss.
For the most part, CGI::Lazy is simply a subclass of CGI::Pretty, which is an easier to read version of CGI.pm.
We need to use CGI::Pretty due to a css issue in IE where the style definitions aren't always followed unless there is the appropriate amount of whitespace between html tags.  Luckilly, CGI::Pretty takes care of this pretty transparently, and its output is easier to read and debug.
CGI::Lazy adds a bunch of hooks in the interest of not working any harder than we need to, otherwise it's a CGI::Pretty object.
Probably 80% of the apps the author has been asked to write have been front ends to some sort of database, so that's definitely the angle Lazy is coming from.  It works just fine with no db, but most of the fancy work is unavailable.
Output to the web is intended to be through templates via HTML::Template.  However, if you want to write your content into the code manually, we won't stop you.  Again, the whole point was to be flexible and reusable, and to spend our time writing new stuff, not the same old crap over and over again.
The CGI::Lazy::Widget::Dataset module especially was written to bring spreadsheet-like access to a database table to the web in a fairly transparent manner- after all, most of the time you're doing one of 4 operations on a database: select, insert, update, delete.  The Dataset is, at least at the time of the original writing, the crown jewel of the Lazy framework.  The templates for a Dataset are pretty complicated, and are tied pretty tightly to the Javascript that controls them on the client side.  Because nobody (especially the author) wants to write these monsters from scratch every time a new Widget is called for, the CGI::Lazy::Template::Boilerplate class exists to generate boring, but functional templates for your Widgets.  The boilerplate templates give you a functional starting place.  After that, it's up to you.
In any event, it is my hope that this is useful to you.  It has saved me quite alot of work.  I hope that it can do the same for you.  Bug reports and comments are always welcome.

Alternatives

Package Version Architecture Repository
perl-CGI-Lazy - - -

Requires

Name Value
/usr/share/perl5 -
perl(Apache2/RequestUtil.pm) -
perl(CGI/Lazy/ModPerl.pm) -
perl(CGI/Pretty.pm) -
perl(DBI.pm) >= 1.500
perl(Data/Dumper.pm) -
perl(Digest/MD5.pm) >= 2.300
perl(File/Basename.pm) -
perl(HTML/Template.pm) >= 2.900
perl(JSON.pm) >= 2.070
perl(JavaScript/Minifier.pm) >= 1.050
perl(Tie/IxHash.pm) >= 1.210
perl(Time/HiRes.pm) >= 1.860
perl(base.pm) -
perl(constant.pm) -
rpmlib(PayloadIsLzma) -

Provides

Name Value
perl(CGI/Lazy.pm) = 1.100
perl(CGI/Lazy/Authn.pm) -
perl(CGI/Lazy/Authz.pm) -
perl(CGI/Lazy/CSS.pm) -
perl(CGI/Lazy/Config.pm) -
perl(CGI/Lazy/CookieMonster.pm) -
perl(CGI/Lazy/DB.pm) -
perl(CGI/Lazy/DB/RecordSet.pm) -
perl(CGI/Lazy/ErrorHandler.pm) -
perl(CGI/Lazy/Globals.pm) -
perl(CGI/Lazy/ID.pm) -
perl(CGI/Lazy/Image.pm) -
perl(CGI/Lazy/Javascript.pm) -
perl(CGI/Lazy/Javascript/JSONParser.pm) -
perl(CGI/Lazy/Plugin.pm) -
perl(CGI/Lazy/Session.pm) -
perl(CGI/Lazy/Session/Data.pm) -
perl(CGI/Lazy/Template.pm) -
perl(CGI/Lazy/Template/Boilerplate.pm) -
perl(CGI/Lazy/Utility.pm) -
perl(CGI/Lazy/Utility/Debug.pm) -
perl(CGI/Lazy/Widget.pm) -
perl(CGI/Lazy/Widget/Composite.pm) -
perl(CGI/Lazy/Widget/Controller.pm) -
perl(CGI/Lazy/Widget/Dataset.pm) -
perl(CGI/Lazy/Widget/DomLoader.pm) -
perl-CGI-Lazy = 1.10-alt1

Download

Type URL
Binary Package perl-CGI-Lazy-1.10-alt1.noarch.rpm
Source Package perl-CGI-Lazy-1.10-alt1.src.rpm

Install Howto

  1. Add the following line to /etc/apt/sources.list:
    
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
    
  2. Update the package index:
    # sudo apt-get update
  3. Install perl-CGI-Lazy rpm package:
    # sudo apt-get install perl-CGI-Lazy

Files

Path
/usr/share/doc/perl-CGI-Lazy-1.10/Changes
/usr/share/doc/perl-CGI-Lazy-1.10/README
/usr/share/perl5/CGI/Lazy.pm
/usr/share/perl5/CGI/Lazy/Authn.pm
/usr/share/perl5/CGI/Lazy/Authz.pm
/usr/share/perl5/CGI/Lazy/CSS.pm
/usr/share/perl5/CGI/Lazy/Config.pm
/usr/share/perl5/CGI/Lazy/CookieMonster.pm
/usr/share/perl5/CGI/Lazy/DB.pm
/usr/share/perl5/CGI/Lazy/ErrorHandler.pm
/usr/share/perl5/CGI/Lazy/Globals.pm
/usr/share/perl5/CGI/Lazy/ID.pm
/usr/share/perl5/CGI/Lazy/Image.pm
/usr/share/perl5/CGI/Lazy/Javascript.pm
/usr/share/perl5/CGI/Lazy/Plugin.pm
/usr/share/perl5/CGI/Lazy/Session.pm
/usr/share/perl5/CGI/Lazy/Template.pm
/usr/share/perl5/CGI/Lazy/Utility.pm
/usr/share/perl5/CGI/Lazy/Widget.pm
/usr/share/perl5/CGI/Lazy/DB/RecordSet.pm
/usr/share/perl5/CGI/Lazy/Javascript/JSONParser.pm
/usr/share/perl5/CGI/Lazy/Session/Data.pm
/usr/share/perl5/CGI/Lazy/Template/Boilerplate.pm
/usr/share/perl5/CGI/Lazy/Utility/Debug.pm
/usr/share/perl5/CGI/Lazy/Widget/Composite.pm
/usr/share/perl5/CGI/Lazy/Widget/Controller.pm
/usr/share/perl5/CGI/Lazy/Widget/Dataset.pm
/usr/share/perl5/CGI/Lazy/Widget/DomLoader.pm

See Also

Package Description
perl-CGI-Lazy-ModPerl-0.04-alt1.noarch.rpm >new({
perl-CGI-Lingua-0.59-alt1.noarch.rpm Create a multilingual web page
perl-CGI-List-0.05-alt1.noarch.rpm Easily generate HTML Lists From a DataBase
perl-CGI-Listman-0.05-alt1.noarch.rpm Easily managing web subscribtion lists
perl-CGI-Lite-Request-0.06-alt1.noarch.rpm Request object based on CGI::Lite
perl-CGI-Log-1.00-alt1.noarch.rpm perl module CGI-Log
perl-CGI-MakeItStatic-0.03-alt1.noarch.rpm perl module CGI-MakeItStatic
perl-CGI-MiniFramework-0.01-alt1.noarch.rpm perl module CGI-MiniFramework
perl-CGI-Minimal-1.29-alt2.noarch.rpm A lightweight CGI form processing package
perl-CGI-MultiValuedHash-1.09-alt1.noarch.rpm perl module CGI-MultiValuedHash
perl-CGI-Multiscript-0.73-alt1.noarch.rpm Perl extension for Multiscript programming
perl-CGI-Mungo-1.9-alt1.noarch.rpm Very simple CGI web framework
perl-CGI-MxScreen-0.103-alt1.noarch.rpm a multi-screen stateful CGI framework
perl-CGI-NoPoison-3.11-alt1.noarch.rpm perl module CGI-NoPoison
perl-CGI-OptimalQuery-0.30-alt1.noarch.rpm rich HTML viewer for your SQL select queries
Advertisement
Advertisement