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

Cache::Static 0.9905

  Date Added: November 02, 2010  |  Visits: 720


Report Broken Link
Printer Friendly Version

Product Homepage
Download (71 downloads)

Cache::Static is a Perl module used for caching without freshness concerns. SYNOPSIS HTML::Mason instructions In use Cache::Static; In any component you where you have a well defined set of dependencies which change the output: < %init > my $_cs_deps = [ #file dependencies - only regenerate if a file has changed file|/path/to/some_configuration_file, #DBI dependencies - still under development - WONT WORK #DBI dependencies: note the third argument is a DSN _DBI|table|mysql:scache_test_db|test_table, _DBI|db|mysql:scache_test_db, #not yet implemented: #column level depends, e.g. "DBI|column|$dsn|$tablename|$columname" #row depends, e.g. "DBI|row|$dsn|$tablename|$uid_column_name|$uid_value" #XML::Comma dependencies - only regenerate if a Doc or Store has changed "_XML::Comma|Doc|$doc_key", "_XML::Comma|Store|$def|$store", #time dependencies (WARNING: these are discouraged, see doc/NOTE-time-deps) time|15s, #every 15 seconds time|M:15s, #every 15 seconds after the minute time|H:2m, #every 2 minutes past the hour time|W:2d3h5m0s, #every Tuesday at 3:05 AM #modifiers (indicate behavior when the file cannot be found) file-0|/tmp/foo, #if ! -e /tmp/foo, regenerate file-1|/tmp/foo, #if ! -e /tmp/foo, serve file|/tmp/foo, #use config value "dep_file_not_found_returns" #note modifiers also work on extensions, e.g. _DBI-1|db|mysql:scache_test_db, _XML::Comma-0|Store|mm_item|post, #etc... but modifiers CANNOT be used with times (since they have no #file backing on disk) ]; #whatever you have in $_cs_deps above... return if Cache::Static::HTML_Mason_Util::cache_it($r, $m, 1, $_cs_deps); #... #rest of init block #... < /%init >.

Requirements: No special requirements
Platforms: Linux
Keyword: Cachestatic Dbi Dependencies File Libraries Perl Module Programming Store Test Time Used Xml
Users rating: 0/10

License: Freeware Size: 60.42 KB
More Reviews or Write Review

Libraries  -  Class::DBI::FormBuilder 0.481
Class::DBI::FormBuilder is a Perl module with Class::DBI/CGI::FormBuilder integration. SYNOPSIS package Film; use strict; use warnings; use base Class::DBI; use Class::DBI::FormBuilder; # for indented output: # use...
46.08 KB  
Libraries  -  Test::Dependencies 0.08
Test::Dependencies is a Perl module to ensure that your Makefile.PL specifies all module dependencies. SYNOPSIS In your t/00-dependencies.t: use Test::Dependencies exclude => [qw/ Your::Namespace Some::Other::Namespace /];...
21.5 KB  
Libraries  -  Tao::DBI::st 0.0008
Tao::DBI::st is a Perl module for DBI statements with portable support for named placeholders. SYNOPSIS use Tao::DBI qw(dbi_connect dbi_prepare); $dbh = dbi_connect($args); $sql = q{UPDATE T set a = :a, b = :b where k = :k}; $stmt =...
8.19 KB  
Libraries  -  Class::DBI::ConceptSearch 0.04
Class::DBI::ConceptSearch is a Perl module to retrieve Class::DBI aggregates from high-level conceptual searches. SYNOPSIS my $cs = Class::DBI::ConceptSearch->new(xml => $config); #see CONFIGURATION $cs->use_wildcards(1);...
7.17 KB  
Libraries  -  Jifty::DBI::SchemaGenerator 0.29
Jifty::DBI::SchemaGenerator is a Perl module to generate table schemas from Jifty::DBI records. This module turns a Jifty::Record object into an SQL schema for your chosen database. At the moment, your choices are MySQL, SQLite, or PostgreSQL....
99.33 KB  
Libraries  -  Class::DBI::FormTools 0.0.4
Class::DBI::FormTools is a Perl module to build forms with multiple interconnected objects. SYNOPSIS package MyApp::Film; use base Class::DBI::FormTools; Mason example my $o = Film->retrieve(42); < input...
9.22 KB  
Libraries  -  Class::DBI::AutoIncrement 0.05
Class::DBI::AutoIncrement is a Perl module to emulate auto-incrementing columns on Class::DBI subclasses. SYNOPSIS Lets assume you have a project making use of Class::DBI. You have implemented a subclass of Class::DBI called MyProject::DBI...
8.19 KB  
Libraries  -  Class::DBI::Query 3.0.15
Class::DBI::Query is a Perl module with deprecated SQL manager for Class::DBI. SYNOPSIS my $sth = Class::DBI::Query ->new({ owner => $class, sqlname => $type, essential => @columns, where_columns => @where_cols, }) ->run($val); This...
102.4 KB  
Libraries  -  DBI::FAQ 1.52
DBI::FAQ is a Perl module for the Frequently Asked Questions of the Perl5 Database Interface. What is DBI, DBperl, Oraperl and *perl? To quote Tim Bunce, the architect and author of DBI: ``DBI is a database access Application Programming...
409.6 KB  
Libraries  -  Lingua::Phonology::FileFormatPOD 0.32
Lingua::Phonology::FileFormatPOD is a Perl module that contains documentation for the xml file format written and read by Lingua::Phonology. As of v0.3, Lingua::Phonology is able to read and write an XML file that defines a complete...
99.33 KB  
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, 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  -  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  
Libraries  -  App::SimpleScan::Substitution::Line 2.02
App::SimpleScan::Substitution::Line is a line with optional fixed variable values. SYNOPSIS my $line = App::SimpleScan::Substitution::Line->new(" this "); # Use only this value when substituting " ". $line->fix(substituite =>...
54.27 KB