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

Template::Plugin::Config::General 0.01

  Date Added: June 03, 2010  |  Visits: 870

Template::Plugin::Config::General

Report Broken Link
Printer Friendly Version


Product Homepage
Download (75 downloads)



Template::Plugin::Config::General is a template toolkit plugin which implements wrapper around Config::General module. SYNOPSIS # Config file format ; app.cfg - common configuration for scripts and both ; static and dynamic template pages. base_url = /~liol images_url = $base_url/images < news > title = Top News url = $base_url/news images_url = $url/images < /news > < admin > title = Admin area url = $base_url/admin images_url = $url/images < /admin > include specific.cfg # Reading configuration from code use Config::General; $plConfig = new Config::General( -ConfigFile => app.cfg, -ConfigPath => [ /web/etc ] -InterPolateVars => 1, -UseApacheInclude => 1, ); my %cfg = $plConfig->getall; # Reading configuration from template [%- USE plConfig = Config::General( ConfigFile = app.cfg, ConfigPath = [ /web/etc ] InterPolateVars = 1, UseApacheInclude = 1, ); cfg = plConfig.getall; -%] [% cfg.news.title %] [% cfg.admin.images_url %] This module implements interface wrapper around Config::General. The task of easy access to configuration items from both code and templates may appear in applications which uses configuration files which are saved apart from code and templates. This module would help to avoid data doubling. To access configuration from code we can use Config::General module which parses apache-like config files. This plugin makes the same thing for templates. So we can use the same file in both code, "dynamic" templates and "static" templates. There is no difference what application uses template - ttree or other script. Plugin would provide proper configuration..

Requirements: No special requirements
Platforms: Linux
Keyword: Configuration Implements Libraries Plugin Programming Template Template Toolkit Templatepluginconfiggeneral Url Wrapper
Users rating: 0/10

License: Freeware Size: 3.07 KB
USER REVIEWS
More Reviews or Write Review


TEMPLATE::PLUGIN::CONFIG::GENERAL RELATED
Libraries  -  Template Numerical Toolkit 1.26
Template Numerical Toolkit (TNT) is a collection of interfaces and reference implementations of numerical objects useful for scientific computing in C++. The toolkit defines interfaces for basic data structures, such as multidimensional arrays...
28.67 KB  
Libraries  -  Template::Plugin::XML 2.16
Template::Plugin::XML is a XML plugin for the Template Toolkit. SYNOPSIS [% USE XML; dom = XML.dom(foo.xml); xpath = XML.xpath(bar.xml); simple = XML.simple(baz.xml); rss = XML.simple(news.rdf); %] [% USE XML(file=foo.xml); dom =...
26.62 KB  
Libraries  -  Events notification plugin 3.7.5.214
Once an event occurs (for example: "Port opened" or "Configuration changed"), the plugin creates a text message using the specified template and sends a notification. The form of the notification depends on the plugin settings. Events...
 
Programming  -  Python Genetic Programming Project 0.02
The Python Genetic Programming Project implements a Genetic Programming System a la J Koza in Python.
8.24 KB  
Development Tools  -  PHP Video Toolkit 0.1.5
PHP Video Toolkit is a wrapper around FFmpeg & FLVTools2 to allow developers to manipulate & convert video files in any easy to use object oriented way.PHP Video Toolkit also currently provides FFmpeg-PHP emulation in pure PHP so you don't need to...
12.82 MB  
Modules  -  Inventory field Taxonomy Query Language 5.x-1.x-de
The taxonomy query language module, tql, implements a plugin for the search (Drupal core) and views module. It provides a new tab Taxonomy in the Drupal search and a new Views filter.If you have the tql module and the search module enabled, a...
30.72 KB  
Networking  -  Self Shortener 0.1.2
Self Shortener is a WordPress plugin to be able to handle URL shortening feature, by your WordPress site itself.Self Shortener can: * create short URL using your site URL. * generate random short URL key, by specifying key length. * specify fix...
10 KB  
Modules  -  Check Url Malware 1.0
Very simple plugin to check the comment author url with unmaskparasites.This plugin add a link "Check Malware" in the "edit-comments" section and output the result in a fancybox iframe.check-urlmalware use : * unmaskparasites.com website for url...
215.04 KB  
Libraries  -  Template::Plugin::HTML::BBCode 0.01
Template::Plugin::HTML::BBCode is a template toolkit plugin which implements wrapper around HTML::BBCode module. SYNOPSIS [%- USE HTML::BBCode -%] [% FILTER bbcode %] [b]BBCode[/b] - is simple [i]markup language[/i] used in...
3.07 KB  
Libraries  -  Template::Ast 0.02
Template::Ast is a Perl module to process ASTs for Perl Template Toolkit. SYNOPSIS use Template::Ast; # Rebuild AST stored in file: $ast = Template::Ast->read(foo.ast) or die Template::Ast->error(); # Writing existing AST to file: $ast...
20.48 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.11.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