Is anyone designing CSS only sites with Smarty, a php templating
system ?
Considering CSS uses an external style sheet , I am not sure if there
is a point to combining Smarty and CSS
Anyone been down this road ?
many thanks
_
> Is anyone designing CSS only sites with Smarty, a php templating
> system ?
> Considering CSS uses an external style sheet , I am not sure if there
> is a point to combining Smarty and CSS
>
> Anyone been down this road ?
If you don't get that point, you don't get CSS, sorry.
Yes, it is easy to
Oh, I'm sorry...I was not very clear
I already design CSS-only sites using a combination XHTML, PHP,
Javascript DOM and CSS.
The question is:
Does adding Smarty to the mix add anything to the party for the
graphic designer.
Personally, I like seeing PHP methods and XHTML with div id/classe
h
Hi Graham.
I've been using Smarty for all my websites for the last 3-4 years and I
find it extremely useful when a customer asks me to modify a website
yars after I've delivered the thing and forgotten about it.
Keeping the code and the template separated does help a lot to reuse
stuff. More
I think the pros and cons of Smarty go beyond the scope of this list,
no matter how you frame it. That said, from a CSS designer's
experience / point of view I like the model. It makes logical sense.
>From the PHP developers point of view, I find it ultimately redundant
- php is already a hypertext
Good point here. Might be useful if you find out such a need when you've
already coded most of a project: let's say you started with a single
stylesheet and the things baloons enough to make you wish you spliced it
up according to the website section. Another example: you use CCs to
serve a sep