Re: Working with a new design client
| From: | John W. Holmes | Date: | Mon, 09 Aug 2004 15:06:53 +0000 |
| Subject: | Re: Working with a new design client | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-193202@lists.php.net to get a copy of this message | ||
From: "charles kline" <ckline@rightcode.net>
> I have never used Smarty, which I understand might be a big help in
> these situations. One concern of mine is that I have a tight budget on
> this project and don't want to spend a lot of time learning a new
> system unless I have to.
Smarty is one solution, but the concept you need to employ is separating
your display (mainly HTML) from your business logic (the PHP classes). Make
them separate files and then they only edit the templates and don't touch
your PHP code. You can make them plain HTML pages and just include() them,
read them and eval() them, or use any templating solution. It's going to be
the best way to do this.
Probably telling you what you already know, but it sounded like you just
needed to be told it! ;)
---John Holmes...