Re: Is this doable?
| From: | Sandman | Date: | Sat, 25 May 2002 07:34:07 +0000 |
| Subject: | Re: Is this doable? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-99205@lists.php.net to get a copy of this message | ||
In article <002e01c20370$4ebee8f0$b402a8c0@mango>,
holmes072000@charter.net (John Holmes) wrote:
> Can PHP do that? Of course. Can it do it that easily right out of the
> box. No. Just like the RXML backend is already written that parses
> <accessed per="day" /> into the appropriate number, the backend would
> have to be written for PHP to do the same thing. You'd have to write a
> template engine, basically, that'll look for special tags and do the
> appropriate PHP functions when it encounters them.
>
> I think you'd be far better off learning PHP and just adapting an
> existing template engine to suit your needs. There are plenty of them
> out there.
I have no problem with learning PHP, I like it alot. But in some instances,
I like the RXML approcah better.
You talk about template engines, what are they and can you name some
examples?
--
Sandman[.net]