Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

2shortplanks (968)

2shortplanks
  (email not shown publicly)
http://2shortplanks.com/
AOL IM: trelane2sp (Add Buddy, Send Message)
Yahoo! ID: trelane2sp (Add User, Send Message)

Mark Fowler has never been the same since he was elected leader of the London Perl Mongers. The strain manifests itself mainly in releasing various [cpan.org] modules [cpan.org] to CPAN, giving talks [2shortplanks.com], and use of the Trelane nick on #london.pm for endless procrastination. Doctors are still seeking a cure.
Sunday August 25, 2002
08:29 PM

2nd Module Syndrome

[ #7307 ]
I've had a pretty good bank holiday weekend so far, Perl coding wise. I've been working on the XML::LibXML plugin for the Template Toolkit that I've been meaning to complete for ages.

So if you want to take a look, here it is.

The actual code was completed over a month ago - as were the tests. For once however, I hadn't documented first. I think that's because I knew exactly how long it would take me to properly document it. So after two days of documenting I think I'm done. This is an extraordinary length of time for such a small amount of code, but I'm hoping it's quality not quantity that counts.

In the documentation for the module I wanted to show more than just the methods that you can call - I wanted to show how XML::LibXML can be effectively used from within the Template Toolkit. This involved explaining how you can call XPath and the tree methods on the nodes, and how you could use VIEWs to 'skin' XML for presentation.

Of course this is all part of some of my other nefarious schemes. Primarily, this is all tied in with the talk I'm writing for YAPC::Europe. I'm planning to cover rendering XML with views in that talk, and, well I know XML and views better than the back of my own hand now.

The other top secret plan - which I keep bringing up all over the place ;-) - is the integration of the Template Toolkit and AxKit. I know I've discussed this before, but Template::Plugin::XML::LibXML is a vital part of that plan.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.