Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 32.290.654 Times

CGI::XMLApplication 1.1.3

  Date Added: April 16, 2010  |  Visits: 778

CGI::XMLApplication

Report Broken Link
Printer Friendly Version


Product Homepage
Download (71 downloads)

CGI::XMLApplication is an Object Oriented Interface for CGI Script Applications. SYNOPSIS use CGI::XMLApplication; $script = new CGI::XMLApplication; $script->setStylesheetPath( "the/path/to/the/stylesheets" ); # either this for simple scripts $script->run(); # or if you need more control ... $script->run(%context_hash); # or a context object CGI::XMLApplication is a CGI application class, that intends to enable perl artists to implement CGIs that make use of XML/XSLT functionality, without taking too much care about specialized errorchecking or even care too much about XML itself. It provides the power of the XML::LibXML/ XML::LibXSLT module package for content deliverment. As well CGI::XMLApplication is designed to support project management on code level. The class allows to split web applications into several simple parts. Through this most of the code stays simple and easy to maintain. Throughout the whole runtime of a script CGI::XMLApplication tries to keep the application stable. As well a programmer has not to bother about some of XML::LibXML/ XML::LibXSLT transformation pitfalls. The class module extends the CGI class. While all functionality of the original CGI package is still available, it should be not such a big problem, to port existing scripts to CGI::XMLApplication, although most functions used here are the access function for client data such as param(). CGI::XMLApplication, intended to be an application class should make writing of XML enabled CGI scripts more easy. Especially because of the use of object orientated concepts, this class enables much more transparent implemententations with complex functionality compared to what is possible with standard CGI-scripts. The main difference with common perl CGI implementation is the fact, that the client-output is not done from perl functions, but generated by an internally build XML DOM that gets processed with an XSLT stylesheet. This fact helps to remove a lot of the HTML related functions from the core code, so a script may be much easier to read, since only application relevant code is visible, while layout related information is left out (commonly in an XSLT file). This helps to write and test a complete application faster and less layout related. The design can be appended and customized later without effecting the application code anymore. Since the class uses the OO paradigma, it does not force anybody to implement a real life application with the complete overhead of more or less redundant code. Since most CGI-scripts are waiting for events, which is usually the code abstraction of a click of a submit button or an image, CGI::XMLApplication implements a simple event system, that allows to keep event related code as separated as possible. Therefore final application class is not ment to have a constructor anymore. All functionality should be encapsulated into implicit or explicit event handlers. Because of a lack in Perls OO implementation the call of a superclass constructor before the current constructor call is not default behavior in Perl. For that reason I decided to have special events to enable the application to initialize correctly, excluding the danger of leaving important variables undefined. Also this forces the programmer to implement scripts more problem orientated, rather than class or content focused. Another design aspect for CGI::XMLApplication is the strict differentiation between CODE and PRESENTATION. IMHO this, in fact being one of the major problems in traditional CGI programming. To implement this, the XML::LibXML and XML::LibXSLT modules are used by default but may be replaced easily by any other XML/XSLT capable modules. Each CGI Script should generate an XML-DOM, that can be processed with a given stylesheet..

Requirements: No special requirements
Platforms: Linux
Keyword: Application Cgi Script Cgixmlapplication Class Code Libxml Libxslt Object Object Oriented Object Oriented Interface Related Script Xmlapplication Xslt
Users rating: 0/10

License: Freeware Size: 21.5 KB
CGI::XMLAPPLICATION RELATED
Miscellaneous  -  Static or Class Methods 1.0
This script implements class methods that do not require an object instance.
 
Libraries  -  Rose::DB::Object::Helpers 0.764
Rose::DB::Object::Helpers is a mix-in class containing convenience methods for Rose::DB::Object. SYNOPSIS package MyDBObject; use Rose::DB::Object; our @ISA = qw(Rose::DB::Object); use Rose::DB::Object::Helpers clone, { load_or_insert =>...
481.28 KB  
Programming  -  JCR 0.4.4
JCR also know as jcodereview is a web application for performing and managing code reviews. Although it has some special smarts for reviewing Java projects, it can be used for reviews of any type of source code..
163.84 KB  
Programming  -  glibc-audit 2.4-4
glibc-audit is a modified version of glibc for application developers who check their code with an automatic memory access checker such as valgrind, Insure++, or Purify. glibc-audit has been audited and cleaned up so that reports from the...
4.2 MB  
Home & Leisure  -  QR-Code Image Generator 2011
QR-Code Image Generator is a professional application designed to generate QR-Code symbols for VCARDs, FaceBook, Business Cards, Twitter Follow and URL encoding. Includes time-saving memorization features and forms that combine multiple fields...
 
Database Tools  -  SQL class alfars 1.0
This PHP script SQL class alfars is designed to implement a very simple MySQL database access wrapper. A connection was established to a given MySQL server with this script, and then select the database to access, execute queries, return the...
10 KB  
Code Management Tools  -  NConstruct Lite 2.5.0
NConstruct Lite is a powerful wizard-like tool for creating application's data layer source code for NHibernate object/relational persistence and query framework. NConstruct Lite examines database's metadata and creates NHibernate HBM files,...
19.75 MB  
Libraries  -  Object::Relation::Meta::Class::Schema 0.1.0
Object::Relation::Meta::Class::Schema is a Perl module for Object::Relation database store builder. This module is provides metadata for all Object::Relation classes while building a storage schema. Loading Object::Relation::Schema causes it to...
24.58 KB  
Libraries  -  XML::LibXML::DOM 1.58
XML::LibXML::DOM is a XML::LibXML DOM Implementation. XML::LibXML provides an lightwight interface to modify a node of the document tree generated by the XML::LibXML parser. This interface follows as far as possible the DOM Level 3...
163.84 KB  
Web Browsers  -  XenoCrawler 1.6
XenoCrawler is an application that allows you to crawl websites, servers, and web pages to view source code, style sheets, scripts, html, graphics, documents, and other related information safely, quickly, and easily without opening a browser or...
6.1 MB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB  
Libraries  -  wolfSSL 3.15.3
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
3.88 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB