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 29.990.060 Times

Apache2::PageKit 2.14_14

  Date Added: March 10, 2010  |  Visits: 514

Apache2::PageKit

Report Broken Link
Printer Friendly Version


Product Homepage
Download (71 downloads)

Apache2::PageKit is a MVCC web framework using mod_perl, XML and HTML::Template. SYNOPSIS In httpd.conf SetHandler perl-script PerlSetVar PKIT_ROOT /path/to/pagekit/files PerlSetVar PKIT_SERVER staging PerlHandler +Apache2::PageKit Apache2::PageKit->startup(/path/to/pagekit/files, staging); In MyPageKit/Common.pm package MyPageKit::Common; use base Apache2::PageKit::Model; sub pkit_dbi_connect { return DBI->connect("DBI:mysql:db","user","passwd"); } sub pkit_session_setup { my $model = shift; my $dbh = $model->dbh; return { session_lock_class => MySQL, session_store_class => MySQL, session_args => { Handle => $dbh, LockHandle => $dbh, }, }; } sub pkit_auth_credential { my ($model) = @_; # in this example, login and passwd are the names of the credential fields my $login = $model->input(login); my $passwd = $model->input(passwd); # create a session key # your code here......... return $ses_key; } sub pkit_auth_session_key { my ($model, $ses_key) = @_; # check whether $ses_key is valid, if so return user id in $user_id # your code here......... return $ok ? $user_id : undef; } PageKit is an mod_perl based application framework that uses HTML::Template and XML to separate code, design, and content. Includes session management, authentication, form validation, co-branding, and a content management system. Its goal is to solve all the common problems of web programming, and to make the creation and maintenance of dynamic web sites fast, easy and enjoyable. You have to write a module named MyPageKit::Common that inherits from Apache2::PageKit::Model and provides methods common across the site. For example, if you wish to support authentication, it must include the two methods pkit_auth_credential and pkit_auth_session_key..

Requirements: No special requirements
Platforms: Linux
Keyword: Html Key Libraries Mod Mvcc Mypagekit Pagekit Perl Return Session Web Web Framework Xml
Users rating: 0/10

License: Freeware Size: 122.88 KB
APACHE2::PAGEKIT RELATED
Libraries  -  HTML::Widgets::Index 0.6
HTML::Widgets::Index is a Perl module for creating web indexes and menus. This module renders the index of a document tree using the data stored in a MySQL database generated by anxova. It has a flexible set of render options that gives the...
65.54 KB  
Libraries  -  HTML::EP
HTML::EP is a system for embedding Perl into HTML. SYNOPSIS CGI-Env This is an HTML document. You see. Perhaps you wonder about the unknown HTML tags like ep-comment above? They are...
43.01 KB  
Libraries  -  Template::Tutorial::Web 2.19
Template::Tutorial::Web is a Perl module for generating web content using the template toolkit. This tutorial document provides a introduction to the Template Toolkit and demonstrates some of the typical ways it may be used for generating web...
778.24 KB  
Libraries  -  Graphics::ColorPicker 0.10
Graphics::ColorPicker is a Perl module for WYSIWYG web applications that allow selection of HEX color numbers. SYNOPSIS use Graphics::ColorPicker; or require Graphics::ColorPicker; make_page($path_to_images); send_page($html_txt,$type);...
112.64 KB  
Libraries  -  Test::WWW::Simple 0.24
Test::WWW::Simple is a Perl module to test Web applications using TAP. SYNOPSIS use Test::WWW::Simple; # This is the default user agent. user_agent(Windows IE 6); page_like("http://yahoo.com", qr/.../, "check for expected text");...
12.29 KB  
Libraries  -  HCKit::Template 0.02
HCKit::Template is a Perl module with a template system for HTML construction. This module constructs an HTML page from a template. The conversion proceeds with the help of rewrite rules and data sources. Rewrite rules can be specified in the...
11.26 KB  
Libraries  -  XAO::Web 1.07
XAO::Web is a Perl module for XAO Web Developer, dynamic content building suite. XAO::Web is a part of XAO open source web services suite. It allows to build dynamic web content using data, templates and external input. The distinguishing...
112.64 KB  
Libraries  -  XML::Compile::Schema::XmlReader 0.18
XML::Compile::Schema::XmlReader Perl module contains bricks to translate XML to HASH. SYNOPSIS my $schema = XML::Compile::Schema- >new(...); my $code = $schema- >compile(READER = > ...); The translator understands schemas, but does not...
122.88 KB  
Libraries  -  WWW::Poll 0.01
WWW::Poll is a Perl extension to build web polls. Perl module to build and run web polls with built-in administrative capabilities. SYNOPSIS use Poll; my $poll = new Poll; $poll->path(/system/path/to/data/directory); # Voting and...
11.26 KB  
Web Authoring  -  HTML Studio 1.0
HTML Studio is a webeditor that offers you more. If you are a professional webdesigner or just starting out then HTML Studio is the tool for you. HTML Studio provides every web developer with the right tools to get the job done with great results...
1.02 MB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by freedesktop.org, it is used to describe information about an application such as the name and...
327.68 KB  
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  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB  
Libraries  -  wolfSSL 3.12.0
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...
2.73 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