?

Log in

No account? Create an account

Previous Entry | Next Entry

geek question

here's something for anyone who has ever done web design: this template phenomenon. unless you have two different departments working on the front and back ends of the site, I fail to see how templates do more than make you type the layout for a page twice: once for the template and once for the script that fills in the template.

granted, you can use one template with more than one script, but you still end up with a bunch of ugly template-filling code in each script that could be replaced by integrated html that otherwise would be on the template.

it just seems like too much work to me and I think I am about to change everything to non-template design and although that, too will be extra work, it will result in less server overhead now and a different approach for later so that I don't have to try to decide what should be templated and what not and where and how you can interleave php with them, which is difficult.

I just don't quite see the point in templates if you are working alone. can anyone enlighten me?

Comments

( 6 comments — Leave a comment )
mulot_d_argent
Jun. 4th, 2006 07:09 pm (UTC)
eriktrips
Jun. 4th, 2006 07:35 pm (UTC)
thing is even if your data is changing all the time, you can write a loop that "prints" or "echoes" whatever html you want, with variables plugged in where needed, as easily as you can create a template for it. but it only would work if the same person or group were doing the layout and the code.

intresting site, too.
eriktrips
Jun. 4th, 2006 07:35 pm (UTC)
interesting, also.
altamira16
Jun. 4th, 2006 08:34 pm (UTC)
It really depends on what type of templates and how you are using them. Templates are created to be reuseable so that you can give your site a sense of continuity. By separating the template from the rest of the HTML, things become easier to read and understand.
mulot_d_argent
Jun. 5th, 2006 05:22 pm (UTC)
Thanks.
plangge
Jun. 4th, 2006 07:57 pm (UTC)
templates keep you honest.
( 6 comments — Leave a comment )

Tags

Powered by LiveJournal.com
Designed by chasethestars

Latest Month

March 2012
S M T W T F S
    123
45678910
11121314151617
18192021222324
25262728293031