Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^2: Using DateTime together with Template::Toolkit

by lachoy (Parson)
on Feb 28, 2005 at 23:03 UTC ( #435221=note: print w/ replies, xml ) Need Help??


in reply to Re: Using DateTime together with Template::Toolkit
in thread Using DateTime together with Template::Toolkit

I can think of a great reason not to do it: datetime formatting is a display issue, not a data issue. They should be kept separate as much as possible otherwise you start doing things like putting your HTML construction alongside your data access. Down that path lies a maintenance nightmare.

Chris
M-x auto-bs-mode


Comment on Re^2: Using DateTime together with Template::Toolkit

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (5)
As of 2014-09-20 16:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (160 votes), past polls