Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: PDF::Template redesign - I want your ideas!

by eric256 (Parson)
on Dec 01, 2005 at 20:22 UTC ( #513413=note: print w/replies, xml ) Need Help??


in reply to PDF::Template redesign - I want your ideas!

No strictily related to the actualy code redesign: I just installed PDF::Template last night, and I have NO clue how to even start because there don't seem to be any examples at all. So for me, Examples of whatever you do choose as the layout. I like the XML layout, but it should be XML, not psuedo XML. psuedo XML does no one any good (i just mention this because the docs for PDF::Template say it isn't realy XML (not sure how true that is anymore).

I wonder if HTML could be used as the layout, is there some free HTML->Layout Tree converter that could be used? Just rambling in case it makes sense. Being able to design once in HTML and be done would be very pretty ;)

Err looking at the source shows an example now....Did you just add that?


___________
Eric Hodges $_='y==QAe=e?y==QG@>@?iy==QVq?f?=a@iG?=QQ=Q?9'; s/(.)/ord($1)-50/eigs;tr/6123457/- \/|\\\_\n/;print;
  • Comment on Re: PDF::Template redesign - I want your ideas!

Replies are listed 'Best First'.
Re^2: PDF::Template redesign - I want your ideas!
by dragonchild (Archbishop) on Dec 01, 2005 at 20:28 UTC
    Lack of documentation is definitely a problem with PDF::Template. The tests that are there show some ideas, but I have to go back to the source to remember how to do stuff.

    As for the layout, it's real XML - I use XML::Parser to parse it. The "pseudo" part of it comes from the fact that a childnode has access to the attributes of all its ancestor nodes. This scoping was so that you could specify something in the pdftemplate node (the root), such as H, and have all the children use that as their H. (This feature is actually one part of the performance problem I was speaking of.)


    My criteria for good software:
    1. Does it work?
    2. Can someone else come in, make a change, and be reasonably certain no bugs were introduced?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://513413]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (8)
As of 2021-10-19 15:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (77 votes). Check out past polls.

    Notices?