-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

* On 20-01-02 at 13:26 
* Kunal Jhunjhunwala said....

> Hey,
> I tend to agree with you. But what is the most effiecent way of using php
> code in template files then? I am not going to move my templates to a
> dbase.. thats for sure.

The point of templates is to seperate code from presentation and
content. Your template should only contain html/js, and your code should
be in the script that calls the template. Why not databases? That way
you achieve a proper 3 tier structure that's easy to maintain.

- -- 

Nick Wilson

Tel:    +45 3325 0688
Fax:    +45 3325 0677
Web:    www.explodingnet.com



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)

iD8DBQE8SrjEHpvrrTa6L5oRAoXnAJ9mq+aZx44O3suRenE035hxFPXscgCgncwt
tsmQSf7IkpJ4V9gCqtfepFU=
=RBPj
-----END PGP SIGNATURE-----

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to