Re: Template system in PHP
| From: | Michael McGlothlin | Date: | Tue, 12 Feb 2008 22:26:58 +0000 |
| Subject: | Re: Template system in PHP | ||
| References: | 1 2 3 4 5 6 7 8 9 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-269217@lists.php.net to get a copy of this message | ||
I don't suggest the use of a template system unless you do need something as complex as XSLT. PHP itself works very well for templating. Just write your code so that the UI code is sepperate from the logic and everything is neat and tidy without adding a layer of complexity. If you want a really clean interface then break out your logic into a service that is connected with your UI layer by XML-RPC, SOAP, or whatever you're comfortable with. At least that extra complexity benefits by making scaling easier and making alternate interfaces easier.
--
Michael McGlothlin
Southwest Plumbing Supply
Attachment: [application/x-pkcs7-signature] S/MIME Cryptographic Signature smime.p7s
Attachment: [application/x-pkcs7-signature] S/MIME Cryptographic Signature smime.p7s