Name : perl-CGI-Panel
| |
Version : 0.97
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : 23.1
| Date : 2015-06-08 07:32:02
|
Group : Development/Libraries/Perl
| Source RPM : perl-CGI-Panel-0.97-23.1.src.rpm
|
Size : 0.14 MB
| |
Packager : (none)
| |
Summary : Create stateful event-driven web applications from simple panel objects
|
Description :
CGI::Panel allows applications to be built out of simple object-based components. It\'ll handle the state of your data and objects so you can write a web application just like a desktop app. You can forget about the http requests and responses, whether we\'re getting or posting, and all that stuff because that is all handled for you leaving to you interact with a simple API.
An application is constructed from a set of \'panels\', each of which can contain other panels. The panels are managed behind the scenes as persistent objects. See the sample applications for examples of how complex object-based applications can be built from simple encapsulated components. To try the demo app, copy the contents of the \'demo\' directory to a cgi-bin directory.
CGI::Panel allows you to design the logic of your application in an event-driven manner. That is, you set up your application the way you want it, with special buttons and links that trigger \'events\'. The application then sits back and when an event is triggered, the code associated with that event is run. The code that responds to an event goes in the same class as the code that generates the event button or link, making the code more readable and maintainable. If the event code changes the state of any of the panels, the panels will then stay in the new state, until their state is changed again.
Each panel is encapsulated not only in terms of the code, but in terms of the form data that is passed through. For example a panel class can be defined which has a textfield called \'name\'. Three instances of this panel can then exist simultaneously and each will get the correct value of the \'name\' parameter when they read their parameters (see the \'local_params\' method).
Please let me know by email if you\'re using the module and would like to be informed when there\'s an update.
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-C/openSUSE_Tumbleweed/noarch |