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.989.002 Times

AxKit2::XSP::SimpleTaglib 1.1

  Date Added: January 07, 2010  |  Visits: 398

AxKit2::XSP::SimpleTaglib

Report Broken Link
Printer Friendly Version


Product Homepage
Download (70 downloads)

AxKit2::XSP::SimpleTaglib is an alternate XSP taglib helper. SYNOPSIS package Your::XSP::Package; use AxKit2::XSP::SimpleTaglib; ... more initialization stuff, start_document handler, utility functions, whatever you like, but no parse_start/end handler needed - if in doubt, just leave empty ... sub some_tag : XSP_attrib(id) XSP_attribOrChild(some-param) XSP_node(result) XSP_keepWhitespace { my ($tag, $attr, $stack, $struct) = @_; return do_something($$attr{some-param},$$attr{id}); } # old style usage no longer documented, but still supported This taglib helper allows you to easily write tag handlers with most of the common behaviours needed. It manages all Design Patterns from the XSP man page plus several other useful tag styles, including object-like access as in ESQL. Simple handler subs A tag " " will trigger a call to sub "foo" during the closing tag event. What happens in between can be configured in many ways using Perl function attributes. In the rare cases where some action has to happen during the opening tag event, you may provide a sub "foo__open" (double underscore) which will be called at the appropriate time. Usually you would only do that for if- style tags which enclose some block of code. if-style tags usually also need the XSP_compile flag. Contrary to the former behaviour, your tag handler is called during the XSP execution stage, so you should directly return the result value. The XSP_compile flag is available to have your handler called in the parse stage, when the XSP script is being constructed. Then, it is the responsibility of the handler to return a Perl code fragment to be appended to the XSP script. As a comparison, TaglibHelper subs are strictly run-time called, while plain taglibs without any helper are strictly compile-time called. Warning: The old usage is still fully supported, but you should not use it anymore. It may become deprecated in a future release and will be removed entirely afterwards. Porting it to the new style usage is quite easy: remove the line reading "package your-taglib::Handler;", then prefix "XSP_" to all Perl attributes (e.g., "childStruct" becomes "XSP_childStruct"), and add "XSP_compile" to every handler sub. If after your refactoring some handler sub doesnt carry any Perl attribute anymore, add a plain "XSP" Perl attribute. Perl attributes without the XSP_ prefix cause a warning (actually, sometimes even two, one from Perl and one from SimpleTaglib), as lower-case Perl attributes are reserved for Perl itself..

Requirements: No special requirements
Platforms: Linux
Keyword: Called Handler Libraries Perl Programming Simpletaglib Sub Tag Taglib Xsp
Users rating: 0/10

License: Freeware Size: 645.12 KB
AXKIT2::XSP::SIMPLETAGLIB RELATED
Network & Internet  -  mod_perl 2.0.3
mod_perl project brings together the full power of the Perl programming language and the Apache HTTP server. You can use Perl to manage Apache, respond to requests for web pages and much more. mod_perl gives you a persistent Perl interpreter...
3.5 MB  
Libraries  -  AxKit::XSP::WebUtils 1.6
AxKit::XSP::WebUtils is a Perl module for utilities for building XSP web apps. SYNOPSIS Add the taglib to AxKit (via httpd.conf or .htaccess): AxAddXSPTaglib AxKit::XSP::WebUtils Add the web: namespace to your XSP tag: < xsp:page...
5.12 KB  
Libraries  -  Apache::AxKit::XSP::Language::SimpleTaglib 1.6.2
Apache::AxKit::XSP::Language::SimpleTaglib is an alternate XSP taglib helper. SYNOPSIS package Your::XSP::Package; use Apache::AxKit::Language::XSP::SimpleTaglib; ... more initialization stuff, start_document handler, utility functions,...
307.2 KB  
Utilities  -  Perl OS 4
Perl OS is a program written in the Perl programming language combined with the Perl module Tk. Perl OS was created to make an easy interface to run Perl/Tk programs. It was also created to be an easy working environment complete with a text...
143.36 KB  
Programming  -  Acme::BOPE 0.01
Created at the base of the hill of Babylon, New York, in full evening of funk, this module allows you to make inroads Perl programming using just jargon and language taken from the famous movie "Elite Squad" director Jose Padilha
10.24 KB  
Web Authoring  -  WebAPP 1.0 SE
WebAPP is a popular, open source Content Management System (cms) written in the Perl programming language. The name WebAPP is an abbreviation of Web Automated Perl Portal. Available under the GNU General Public License, WebAPP is free software....
2 KB  
Libraries  -  B::LintSubs 0.04
B::LintSubs is a Perl compiler backend to check sub linkage. SYNOPSIS perl -MO=LintSubs [FILE] [-e PROGRAM] When using use strict, subroutine names are not checked at the callsite; this makes the following a perfectly valid program at...
3.07 KB  
Libraries  -  Catalyst 5.7007
Catalyst is a Perl module that contains the elegant MVC web application framework. SYNOPSIS See the Catalyst::Manual distribution for comprehensive documentation and tutorials. # Install Catalyst::Devel for helpers and other development...
143.36 KB  
Libraries  -  MP3::Tag 0.9709
MP3::Tag is a Perl module for reading tags of MP3 audio files. SYNOPSIS use MP3::Tag; $mp3 = MP3::Tag->new($filename); # get some information about the file in the easiest way ($title, $track, $artist, $album, $comment, $year, $genre) =...
174.08 KB  
Libraries  -  Sub::Regex 0.02
Sub::Regex is a Perl module to create synonymous subroutines. SYNOPSIS use Sub::Regex; sub /look(s|ing)?_for/ ($){ foobar blah blah } look_for(Amanda); looks_for(Amanda); looking_for(Amanda); lOoKiNg_fOr(Amanda); Sub::Regex is a...
2.05 KB  
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