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

Ravenel 1.0

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

Ravenel

Report Broken Link
Printer Friendly Version


Product Homepage
Download (18 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
Modules  -  Teaser by Content Type 6.x-1.0
This module will not be developed for Drupal 7, as the functionality is now in Drupal core.The teaser by content type module allows an admin to set a different teaser length for each content type. Note that as with the site-wide setting, this only...
10 KB  
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  
Development Tools  -  nexista 1.0
Nexista aims to assist development teams in deploying web applications through a modular, wireframe approach divided over four areas: - Content - information, dynamic content, etc... - Logic - php code, database access, etc.. - Design - xslt,...
 
Modules  -  Custom Content Type Manager 0.8.0
The Custom Content Type Manager plugin allows users to create custom content types (also known as post types) and standardize custom fields for each content type, including dropdowns, checkboxes, and images. This gives WordPress CMS functionality...
450.56 KB  
Modules  -  Content Type Selector 6.x-1.2
Tiny module that implements a javascript behavior that provides a content type selector to quickly switch from one type to another in content type administration pages.When editing CCK fields, the selector is built with the types where the field...
10 KB  
Modules  -  Content Access 1.0
It allows specification of custom view, edit and delete permissions for each content type. Per node access settings can also be enabled for node access customization.InstallationUnpack in your modules folder (usually /sites/all/modules/) and...
 
Development Tools  -  Jamon 1.0
Jamon is a text template engine for Java, useful for generating dynamic HTML, XML, or any text-based content.In a typical Model-View-Controller architecture, Jamon clearly is aimed at the View (or presentation) layer. Because it is compiled to...
 
Modules  -  Menu Settings per Content Type 6.x-2.1
This module allow to set the Menu Settings with certain Menus for content editing by Content Type.Utilityexample1 : I want that the menu-settings just show up on content-type "page" and not on other content-types. so that users wont be confused to...
10 KB  
Modules  -  Node Preview by Content type 5.x-1.0-beta1
This Project allows to set the nodepreview settings per content type.USAGE1. Install the module.2. Edit your content type and change nodepreview settings (Workflow section).3. Changes should be visible on creation new node.
10 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  
NEW DOWNLOADS IN LINUX SOFTWARE, PROGRAMMING
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  
Linux Software  -  SLAX 6.0+
Slax is a modern, portable, small and fast Linux operating system with a modular approach and outstanding design. Despite its small size, Slax provides a wide collection of pre-installed software for daily use, including a well organized graphical...
190 KB  
Linux Software  -  GTK+ 2.5
GTK+, which stands for the GIMP Toolkit, is a library for creating graphical user interfaces for the X Window System. It is designed to be small, efficient, and flexible. GTK+ is written in C with a very object-oriented approach. Language bindings...
60 MB  
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