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

CGI::AppBuilder::Frame 0.10

  Date Added: September 16, 2010  |  Visits: 1.065

CGI::AppBuilder::Frame

Report Broken Link
Printer Friendly Version


Product Homepage
Download (88 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
USER REVIEWS
More Reviews or Write Review


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  
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  -  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  
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  -  SA AppMixer 7.5.0.1
Migrate your Visual C++/MFC Document/View application into MS Office or .NET frame and so shift the routine programming onto VBA/NET colleagues.SoftAdapter AppMixer SDK is a programming tool to combine your Visual C++/MFC application with MS...
7.63 MB  
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  
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...
 
Libraries  -  LibsX 2004-01-23
LibsX (formerly LibSpeedX) is a C++ multi-platform set of basic libraries (like strings, ini files, etc) optimized for speed and made from scratch. LibsXs goal is to make programs like games with basic libraries highly optimized for speed and...
27.65 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
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  
Libraries  -  wolfSSL 4.0.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...
3.88 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