Rose::HTML::Objects 0.547
Sponsored Links
Rose::HTML::Objects 0.547 Ranking & Summary
File size:
0.13 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
942
Date added:
2007-03-26
Publisher:
John C. Siracusa
Rose::HTML::Objects 0.547 description
Rose::HTML::Objects is a Perl object-oriented interfaces for HTML.
SYNOPSIS
use Rose::HTML::Form;
$form = Rose::HTML::Form->new(action => /foo,
method => post);
$form->add_fields
(
name => { type => text, size => 20, required => 1 },
height => { type => text, size => 5, maxlength => 5 },
bday => { type => datetime },
);
$form->params(name => John, height => 6ft, bday => 01/24/1984);
$form->init_fields();
$bday = $form->field(bday)->internal_value; # DateTime object
print $bday->strftime(%A); # Tuesday
print $form->field(bday)->html;
The Rose::HTML::Object::* family of classes represent HTML tags, or groups of tags. These objects allow HTML to be arbitrarily manipulated, then serialized to actual HTML (or XHTML). Currently, the process only works in one direction. Objects cannot be constructed from their serialized representations. In practice, given the purpose of these modules, this is not an important limitation.
Any HTML tag can theoretically be represented by a Rose::HTML::Object-derived class, but this family of modules was originally motivated by a desire to simplify the use of HTML forms.
The form/field object interfaces have been heavily abstracted to allow for input and output filtering, inflation/deflation of values, and compound fields (fields that contain other fields). The classes are also designed to be subclassed. The creation of custom form and field subclasses is really the "big win" for these modules.
There is also a simple image tag class which is useful for auto-populating the width and height attributes of img tags. Future releases may include object representations of other HTML tags. Contributions are welcome.
SYNOPSIS
use Rose::HTML::Form;
$form = Rose::HTML::Form->new(action => /foo,
method => post);
$form->add_fields
(
name => { type => text, size => 20, required => 1 },
height => { type => text, size => 5, maxlength => 5 },
bday => { type => datetime },
);
$form->params(name => John, height => 6ft, bday => 01/24/1984);
$form->init_fields();
$bday = $form->field(bday)->internal_value; # DateTime object
print $bday->strftime(%A); # Tuesday
print $form->field(bday)->html;
The Rose::HTML::Object::* family of classes represent HTML tags, or groups of tags. These objects allow HTML to be arbitrarily manipulated, then serialized to actual HTML (or XHTML). Currently, the process only works in one direction. Objects cannot be constructed from their serialized representations. In practice, given the purpose of these modules, this is not an important limitation.
Any HTML tag can theoretically be represented by a Rose::HTML::Object-derived class, but this family of modules was originally motivated by a desire to simplify the use of HTML forms.
The form/field object interfaces have been heavily abstracted to allow for input and output filtering, inflation/deflation of values, and compound fields (fields that contain other fields). The classes are also designed to be subclassed. The creation of custom form and field subclasses is really the "big win" for these modules.
There is also a simple image tag class which is useful for auto-populating the width and height attributes of img tags. Future releases may include object representations of other HTML tags. Contributions are welcome.
Rose::HTML::Objects 0.547 Screenshot
Rose::HTML::Objects 0.547 Keywords
HTML
Objects 0.547
For HTML
Bday
interfaces
fields
tags
object-oriented
Perl
Rose::HTML::Objects
RoseHTMLObjects
Rose::HTML::Objects 0.547
Libraries
Programming
Bookmark Rose::HTML::Objects 0.547
Rose::HTML::Objects 0.547 Copyright
WareSeeker periodically updates pricing and software information of Rose::HTML::Objects 0.547 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Rose::HTML::Objects 0.547 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
what does html stand for
html tags
html codes for myspace
html code
html source for a guestbook
html body html
color codes for html
cool html codes for myspace
html codes
for html code
myspace html
backgrounds for html
what is html
html rulez d00d
videos for html
html color code
html color codes
music codes for html
Related Software
HTML Objects is a Perl module library for turning HTML tags into Perl objects. Free Download
Rose::HTML::Form is a HTML form base class. Free Download
Pod::HTML_Elements is a Perl module to convert POD to tree of LWPs HTML::Element and hence HTML or PostScript. Free Download
Rose::DateTime is a Perl module with DateTime helper functions and objects. Free Download
HTML::Tree::AboutObjects is an article: Users View of Object-Oriented Modules. Free Download
HTML::EmbperlObject is a Perl module that extents HTML::Embperl for building whole website with reusable components and objects. Free Download
File::Basename::Object is a Perl module with object-oriented syntax sugar for File::Basename. Free Download
NekoHTML is a simple HTML scanner and tag balancer that enables application programmers to parse HTML documents. Free Download
Latest Software
Popular Software
Favourite Software