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 30.137.525 Times

CGI::AppBuilder::Frame 0.10

  Date Added: September 16, 2010  |  Visits: 793

CGI::AppBuilder::Frame

Report Broken Link
Printer Friendly Version


Product Homepage
Download (71 downloads)

CGI::AppBuilder::Frame is a configuration initializer. SYNOPSIS use CGI::AppBuilder::Frame; my $ab = CGI::AppBuilder::Frame- >new( ifn, my_init.cfg, opt, vhS:a:); my ($q, $ar, $ar_log) = $ab- >start_app($0, %ARGV); print $ab- >disp_form($q, $ar); This class provides methods for reading and parsing configuration files. new (ifn = > file.cfg, opt = > hvS:) This is a inherited method from CGI::AppBuilder. See the same method in CGI::AppBuilder for more details. frame_set ($fr, $pr) Input variables: $fr - frame set definiton array reference. The $fr contains two elements [$hr, $ar]: $hr - a hash ref containing the frame set attributes $ar - a array ref containing hash references defining each frames in the frame set. $pr - tag attribute array ref. It contains three elements: class - CSS class name attr - attribute string such as width=5 onChange=js_func hr - hash ref with key and value pairs. This will be obtained from $fr for each frame set and frame. pretty - whether to add line breaks Variables used or methods called: CGI::AppBuilder::Table html_tag - generate HTML tags CGI::AppBuilder::Message echo_msg - display message How to use: The following shows how to define the frame array ($fr): +-+----+ The following defines the left layout: | | T | | +----+ [{cols= >"150,*"},[ | | | {src= >"left.htm",name= >"L"}, |L| C | [{rows= >"100,*,50"},[ | | | {src= >"top.htm",name= >"T"}, | |----| {src= >"main.htm",name= >"C"}, | | B | {src= >"bottom.htm",name= >"B"}]]] +-+----+ ] In YAML, here is how it looks like: --- cols: 150,* - src: left.htm name: L - rows: 100,*,50 - src: top.htm name: T - src: main.htm name: C - src: bottom.htm name: B ... +-+------+ The following defines the left layout: | | T | | +----+-+ [{cols= >"150,*"},[ | | | | {src= >"left.htm",name= >"L"}, |L| C |R| [{rows= >"100,*,50"},[ | | | | {src= >"top.htm",name= >"T"}, | | | | [{cols= >"*,100"},[ | |----+-+ {src= >"main.htm",name= >"C"}, | | | {src= >"right.htm",name= >"R"}] ] ], | | B | {src= >"bottom.htm",name= >"B"}]] +-+----+-+ ] In YAML, here is how it looks like: --- cols: 150,* - src: left.htm name: L - rows: 100,*,50 - src: top.htm name: T - cols: *,100 - src: main.htm name: C - src: right.htm name: R - src: bottom.htm name: B ... Here is the testing codes: my $fr = [{cols= >"150,*"},[ {src= >"left.htm",name= >"L"}, [{rows= >"100,*,50"},[ {src= >"top.htm",name= >"T"}, {src= >"main.htm",name= >"C"}, {src= >"bottom.htm",name= >"B"}] ]] ]; my $pr = {pretty= >1}; print $obj- >frame_set($fr,$pr); # the following is the result: < FRAMESET cols=150,* > < FRAME src=left.htm name=L > < FRAMESET rows=100,*,50 > < FRAME src=top.htm name=T > < FRAME src=main.htm name=C > < FRAME src=bottom.htm name=B > < / FRAMESET > < / FRAMESET > $pr- >{_frameset_count} = 0; # reset frame set counter my $f2 = [ {cols= >"150,*"},[ {src= >"left.htm",name= >"L"}, [{rows= >"100,*,50"},[ {src= >"top.htm",name= >"T"}, [{cols= >"*,100"},[ {src= >"main.htm",name= >"C"}, {src= >"right.htm",name= >"R"}] ], {src= >"bottom.htm",name= >"B"}] ]] ]; print $obj- >frame_set($f2,$pr); # the following is the result: < FRAMESET cols=150,* > < FRAME src=left.htm name=L > < FRAMESET rows=100,*,50 > < FRAME src=top.htm name=T > < FRAMESET cols=*,100 > < FRAME src=main.htm name=C > < FRAME src=right.htm name=R > < / FRAMESET > < FRAME src=bottom.htm name=B > < / FRAMESET > < / FRAMESET > Return: HTML codes. This method generates HTML codes based on the information provided. This method is also called < I >frameset< / I >..

Requirements: No special requirements
Platforms: Linux
Keyword: Appbuilder Cgi Cgiappbuilderframe Frame Frame Set Frameset Html Libraries Name Programming Src
Users rating: 0/10

License: Freeware Size: 10.24 KB
CGI::APPBUILDER::FRAME RELATED
Libraries  -  HTML::Template::Set 1.009
HTML::Template::Set is a HTML::Template extension that adds set support. SYNOPSIS in your HTML: apples_to_oranges Apples Are Green <...
9.22 KB  
Photo & Video  -  Awesome Photo Frame Camera Snap 1.0
We believe in beautiful apps... in apps that make u feel good, in apps that help you to take better photos and while you take them you know your photos will be shared with people that you love. So get ready to pic and frame, frame and pic...
26.6 MB  
Network & Internet  -  gmuck 1.12
gmuck assists you in producing valid (X)HTML by checking CGI scripts, XSL stylesheets, templates, normal HTML files or [you name it] and reporting errors that it finds. The project is not a replacement for real validation tools, but is handy in...
23.55 KB  
Development Tools  -  Mollio CSS/HTML Templates 1.1
Mollio is a simple set of html/css templates. The aim was to create a set of page templates that use css for layout as well as some sample basic content which has also had some css applied. It's definitely a work in progress. More sample content...
296.96 KB  
Development Tools  -  PHP::HTML for HTML Tools 0.5.1
PHP::HTML is a set of HTML classes to help creating complex documents in a clean and automated way. Widgets, which are based on the classes can make the task of building a web site a very easy one.PHP::HTML is a set of PHP classes that implements...
20.48 KB  
Network & Internet  -  Checkbot 1.79
Checkbot is a tool to verify links on a set of HTML pages. Checkbot can check a single document, or a set of documents on one or more servers. It creates a report which summarizes all links which caused some kind of warning or error..
34.82 KB  
Programming  -  UnitTH - Unit Test History Generator 1.3.1
UnitTH is a tool for generating a set of HTML test history pages from JUnit test results. The test history displays various different sortable test statistics, trends, graphs and references to the included JUnit test reports.
111.87 KB  
Multimedia & Graphics  -  latex2slides 1.0
Latex2slides is a simple graphical program that produces a set of HTML/JPEG slides from a TeX or LaTeX source. Alternatively, the source can be a multipage postscript, DVI or PDF FILE, and the image format for the slides can be set to PNG. Here is...
51.2 KB  
Programming  -  Sensei's Library on Tour 0.8
Sensei's Library On Tour (SLoT) is a little Java tool that converts a wiki dump into a set of HTML pages that can be easily converted for reading on a handheld computer or ebook reader. The tool was originally written by Hans Wiezorke but is...
1.87 MB  
Development Tools  -  Gravel 1.0.2
Gravel is a set of component libraries which provide clean and simple components for JSF applications. - ga - This set of tags provide a set of action-related components. The tags support various response-time actions, security role-checking, and...
 
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