Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Efficiency/Speed question... (files or formats?)

by jarich (Curate)
on Oct 27, 2004 at 00:51 UTC ( #402865=note: print w/replies, xml ) Need Help??


in reply to Efficiency/Speed question... (files or formats?)

I'm tempted to say neither. In fact I do. Don't do either of those two methods.

Designing, writing, testing and using your very own yet another templating system is hugely inefficient. Likewise doing the same with formats doesn't help a lot either.

If you need things to go fast perhaps you should look at CGI::Fast or mod_perl. That'll cut down the execution time a lot.

Back to the question at hand, however. I would recommend the good practice of using someone else's already well designed, written and tested templating system. For example HTML::Template or Template::Toolkit depending on which one best suits your needs.

Formats are almost a thing of the past (thankfully) and I can say with certainty that you'll appreciate the joys of using templates, sooner or later. You want to use templates, it's a good habit to get into for when you later have to share a project with a graphic designer.

Hope this helps,

jarich

  • Comment on Re: Efficiency/Speed question... (files or formats?)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://402865]
help
Chatterbox?
[1nickt]: Corion this is an android phone? If so, are you encountering problems with recent upgrades? Lately my phone dies suddenly quite often, seemingly coredumps caused by interaction of two actions, eg phone playing a sound and user swiping simultaneously :-/
[Corion]: 1nickt: Yeah, it's Android, but it's CM 11, so fairly old. I'm looking for a newer (china) phone, but I think I'll wait until Oreo ROMs get out for them
[Corion]: Otherwise, the Vernee Mars looks tempting
[Corion]: ... but alas, no Oreo support in sight yet, and I prefer to flash a stock Android over the custom ROMs, and Oreo promises to make the userland more maintainable.
[LanX]: Corion: shouldn't pmdev have permission to view code of nodelets?
[1nickt]: And of course everything is "unlocked" in EU, right?
[1nickt]: I think there are far more choices than in the US
LanX You don't have access to  Function Nodelet.

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (6)
As of 2017-11-18 15:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (277 votes). Check out past polls.

    Notices?