Path to this page:
./
www/p5-Rose-HTML-Objects,
Object-oriented interfaces for HTML
Branch: pkgsrc-2013Q2,
Version: 0.611nb2,
Package name: p5-Rose-HTML-Objects-0.611nb2,
Maintainer: pkgsrc-usersThe 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.
Required to run:[
graphics/p5-Image-Size] [
www/p5-URI] [
www/p5-Rose-URI] [
www/p5-HTML-Parser]
Master sites: (Expand)
SHA1: 722dbcfe9ed2e9c3805ca44c9b1b71f93a2c31f5
RMD160: f6dac5825eee832b5d7bba5e41cb0b6e3a9d619e
Filesize: 197.044 KB
Version history: (Expand)
- (2013-07-08) Package added to pkgsrc.se, version p5-Rose-HTML-Objects-0.611nb2 (created)