NAME

HTML::Spry::DataSet - Generate HTML Table Data Set files for the Spry Javascript toolkit

SYNOPSIS

# Create the object
my $dataset = HTML::Spry::DataSet->new;

# Add the tables to the object
$dataset->add( 'heavy100',
    [ 'Rank', 'Dependencies', 'Author',   'Distribution'           ],
    [ '1',    '748',          'APOCAL',   'Task-POE-All'           ],
    [ '2',    '276',          'MRAMBERG', 'MojoMojo-Formatter-RSS' ],
    ...
);

# Write out to the HTML file
$dataset->write('dataset.html');

DESCRIPTION

Spry is a JavaScript framework produced by Adobe. The following is taken from their website.

"The Spry framework for Ajax is a JavaScript library that provides easy-to-use yet powerful Ajax functionality that allows designers to build pages that provide a richer experience for their users.

It is designed to take the complexity out of Ajax and allow designers to easily create Web 2.0 pages."

This package is used to generate simple HTML-formatted data sets that are consumable by Spry DataSet objects, for use in generating various dynamic JavaScript-driven page elements, such as dynamic tables, reports and so on.

The SYNOPSIS section covers pretty much everything you need to know about using HTML::Spry::DataSet. All methods throw an exception on error.

SUPPORT

Bugs should be reported via the CPAN bug tracker at

http://rt.cpan.org/NoAuth/ReportBug.html?Queue=HTML-Spry-DataSet

For other issues, or commercial enhancement or support, contact the author.

AUTHORS

Adam Kennedy <adamk@cpan.org>

COPYRIGHT

Copyright 2009 Adam Kennedy.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

The full text of the license can be found in the LICENSE file included with this module.