Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^4: Reusable template components with HTML::Template

by dws (Chancellor)
on Aug 05, 2004 at 05:00 UTC ( [id://380189]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Reusable template components with HTML::Template
in thread Reusable template components with HTML::Template

1. Isn't per-project presentation tweakage a CSS problem, not an HTML problem?

CSS is a problem all by itself. But yes, you can do a lot of look-and-feel adjustment by first being careful to emit the right attributes so that you the right hooks to hang CSS on, and then tweaking CSS. But it's not a 100% solution, especially if you decide to do things like emit Javascript for dynamically sorting tables.

2. Per-project templates don't seem to mix well with global code.

I'll cop to a bias here. I used to worry a lot about cross-project code, portable libraries, building frameworks, and so forth. But the time investment never seemed to pay off. Now I worry a lot more about making things usable within a project. YMMV, but worrying about use before worrying about reuse has paid off for me.

  • Comment on Re^4: Reusable template components with HTML::Template

Replies are listed 'Best First'.
Re^5: Reusable template components with HTML::Template
by Aristotle (Chancellor) on Aug 05, 2004 at 21:24 UTC

    worrying about use before worrying about reuse has paid off for me.

    It's called YAGNI. :-)

    Makeshifts last the longest.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (3)
As of 2024-04-25 07:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found