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

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

Serving Software Downloads in 956 Categories, Downloaded 50.346.502 Times

Ravenel 1.0

Company: Ryan Alan Dietrich
Date Added: July 22, 2013  |  Visits: 399

Ravenel

Report Broken Link
Printer Friendly Version


Product Homepage
Download (34 downloads)



Ravenel is a Perl module that can generate a code to generate this page as well. Simply point your function to an external package, give it a name attribute, and turn the dynamic option off, and you're off to the races. Let me be clear, when "dynamic" is set to 0, this module will take a template, and generate CODE, a package to be exact, that you can then run to generate a document dynamically. The code generated is all of the work that the parser would have done on any tag it can identify off the bat.<br /><br /> my $res = Ravenel::Document- >render( {<br /> 'data' = > qq(< r:MyPackage:droid >motorola< /r:MyPackage:droid >),<br /> 'name' = > 'test',<br /> 'dynamic' = > 0,<br /> } );<br /><br /> print $res . "n";<br /><br />The value of "$res" is below:<br /><br /> package test;<br /><br /> use strict;<br /> use warnings;<br /> use Ravenel;<br /> use Ravenel::Block;<br /> use Ravenel::Document;<br /> use Data::Dumper;<br /><br /> use MyPackage;<br /><br /> sub get_html_content {<br /> my $class = shift if ( $_[0] eq 'test' );<br /> my $args = shift;<br /> my $dynamic_content = [];<br /> my $content_type = 'html';<br /><br /> $dynamic_content- >[0] = Ravenel::Document- >scan("r:", 'html', MyPackage- >droid( new Ravenel::Block( {<br /> 'tag_arguments' = > { },<br /> 'blocks_by_name' = > { 'default' = > "motorola", },<br /> 'arguments' => $args,<br /> 'content_type' => $content_type,<br /> 'format_arguments' = > { },<br /> } ) ));<br /><br /> my $body = < < HERE_I_AM_DONE<br /> $dynamic_content- >[0]<br /> HERE_I_AM_DONE<br /> ;<br /><br /> chomp($body);<br /> return $body;<br /> }

Requirements: No special requirements
Platforms: *nix, Linux
Keyword: Attribute Class Content Type Dynamic Content External Function Generate Here I Am Done Html Module Mypackage Package Point Ravenel Ravenelblock Raveneldocument Rmypackagedroid Shift Simply Test
Users rating: 0/10

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


RAVENEL RELATED
Libraries  -  Class::Meta::Type 0.53
Class::Meta::Type is a Perl module for data type validation and accessor building. SYNOPSIS package MyApp::TypeDef; use strict; use Class::Meta::Type; use IO::Socket; my $type = Class::Meta::Type->add( key => io_socket, desc =>...
61.44 KB  
Programming  -  Rexx/DW 1.1
Rexx/DW is an external function package for Rexx programmers providing a cross platform GUI toolset. The underlying GUI package is Dynamic Windows.
61.44 KB  
Network & Internet  -  Bricolage 1.10.3
Bricolage, an open-source enterprise-class content management system, greatly simplifies the complex tasks of creating, publishing, and managing the vast libraries of content essential to any organization. With advanced features such as...
2.7 MB  
Network & Internet  -  B-net 1.1
B-net project is a Website Content Management software that allows you have a dynamic website and add content to your website without knowing anything about HTML..
143.36 KB  
Libraries  -  PHPS 0.6
PHPS application provides the ability to seperate content from functionality, mostly having to do with HTML. Pages are written in pseudo-HTML, as you would normally, and then converted into an intermediate representation of PHP objects which you...
23.55 KB  
Modules  -  Profile Location 6.x-1.3
Profile Location provides dynamic country and state/province dropdowns to the core profile module without the need of CCK-dependent third-party modules such as Node Profile (Drupal 5) or Content Profile (Drupal 6).The state/province dropdown will...
10 KB  
Network & Internet  -  PloneNewsLetter 2.0
PloneNewsLetter provides a product for sending newsletters based on new Plone content to an email address in TXT or HTML format. PloneNewsLetter gives you the possibility to create your custom newsletters. The newsletter is prepared for being...
112.64 KB  
Modules  -  Recent Blocks 5.x-1.3
This module creates 'recent content' blocks, similar to the ones provided by tracker module and comment module, but better ;)It works only for node-types. You start with one block and can add new block on the fly, with one click.This module is...
10 KB  
Modules  -  SimpleViews 6.x-1.0
A streamlined interface for building Views. Administrators make a few simple choices (What kind of content should be listed? Do I want to sort by date, or by title? etc.) and a view is generated on-the-fly. Because the Views API is used, the...
20.48 KB  
HTML Utilities  -  Kooboo 1.0
Kooboo is a new kind of web development tool capable of developing static pages or complex websites. Content managers use inline editing tool. Developers use HTML/CSS for database driven websites and JavaScript for extensive development. The...
4.61 MB  
NEW DOWNLOADS IN LINUX SOFTWARE, PROGRAMMING
Linux Software  -  EasyEDA PCB Designer for Linux 2.0.0
EasyEDA, a great web based EDA(Electronics Design Automation) tool, online PCB tool, online PCB software for electronics engineers, educators, students, makers and enthusiasts. Theres no need to install any software. Just open EasyEDA in any...
34.4 MB  
Linux Software  -  wpCache® WordPress HTTP Cache 1.9
wpCache® is a high-performance, distributed object, caching system application, generic in nature, but intended for use in speeding up dynamic web applications, by decreasing database load time. wpCache® decreases dramatically the page...
3.51 MB  
Linux Software  -  Polling Autodialer Software 3.4
ICTBroadcast Auto Dialer software has a survey campaign for telephone surveys and polls. This auto dialer software automatically dials a list of numbers and asks them a set of questions that they can respond to, by using their telephone keypad....
488 B  
Linux Software  -  Total Video Converter Mac Free 3.5.5
Total Video Converter Mac Free developed by EffectMatrix Ltd is the official legal version of Total Video Converter which was a globally recognized brand since 2006. Total Video Converter Mac Free is a free but powerful all-in-one video...
17.7 MB  
Linux Software  -  Skeith mod_log_sql Analyzer 2.10beta2
Skeith is a php based front end for analyzing logs for Apache using mod_log_sql.
47.5 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  -  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