As previously discussed on Perl Monks (http://www.perlmonks.org/index.pl?node_id=307736), HTML::Template::Dumper is almost ready for upload on CPAN. This module subclasses HTML::Template to dump out the data structure used to fill in the template in a serialized form. Once a remote script deserializes the stream, writing tests against it is as easy as walking the resulting hash.

Note that this has nothing to do with the overall design of the page. For that, you really need a human. This module only deals with the output that would go into TMPL_* tags.

The underlining HTML::Template methods for new(), param(), and output() are still called, so the template data is loaded and attributes like 'strict' and 'die_on_bad_params' are still respected.

The POD has changed slightly since the posting above on Perl Monks, though most things are the same.

I'll have this up on CPAN soon. PAUSE doesn't seem to be working ATM. Until then, I have a temporary downloads here:

http://www.wumpus-cave.net/downloads/HTML-Template-Dumper-0.1.tar.gz
http://www.wumpus-cave.net/downloads/HTML-Template-Dumper-0.1.tar.bz2

This was developed internally by me at my employer (the American Society of Agronomy, www.agronomy.org), who graciously allowed it to be made into a public release.

Thanks,
Timm Murray



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Html-template-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/html-template-users

Reply via email to