On Tue, 2005-11-08 at 20:21, Richard Lynch wrote:
> On Tue, November 8, 2005 6:23 pm, Robert Cummings wrote:
> >
> > I don;t think your the target audience, you don't see the need for OOP
> > either :/
>
> au contraire!
>
> I see [have seen] many needs for OOP.
>
> The largest group of those nee
HI All,
Here is what I have done for now.
title
[[header]]
[[sql sql="select user, level, ts from users order by user"]]
UserClearanceTimestamp
@[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL
PROTECTED]
[[footer]]
Fist I preg_split the template on each tag designed for the template
(i.
On Tue, November 8, 2005 6:23 pm, Robert Cummings wrote:
> On Tue, 2005-11-08 at 19:04, Richard Lynch wrote:
>> On Sat, November 5, 2005 5:03 pm, Leonard Burton wrote:
>> > On 11/5/05, Robert Cummings <[EMAIL PROTECTED]> wrote:
>> >> On Sat, 2005-11-05 at 14:55, James Benson wrote:
>> >> > Give sma
On Tue, 2005-11-08 at 19:04, Richard Lynch wrote:
> On Sat, November 5, 2005 5:03 pm, Leonard Burton wrote:
> > On 11/5/05, Robert Cummings <[EMAIL PROTECTED]> wrote:
> >> On Sat, 2005-11-05 at 14:55, James Benson wrote:
> >> > Give smarty a try rather than re-inventing the wheel
> >> >
> >> > http
On Sat, November 5, 2005 5:03 pm, Leonard Burton wrote:
> On 11/5/05, Robert Cummings <[EMAIL PROTECTED]> wrote:
>> On Sat, 2005-11-05 at 14:55, James Benson wrote:
>> > Give smarty a try rather than re-inventing the wheel
>> >
>> > http://smarty.php.net
>
> Reinventing the wheel is much better tha
On Sat, November 5, 2005 1:10 pm, Leonard Burton wrote:
> Greetings,
>
> HI All, I hope all is well.
>
> I have set up a template parser. Basically, it parses the template
> and finds tags with tag_name.dat file and then includes the
> tag_name.dat file. I have considered a few other options but
One idea that you might try. is XSL.
instead of doing %var1% and doing a replace. you can do things like
Doing this also completely separates presentation logic from the code.
you can do other fun things like loops also.
I will warn you by saying that XSL in the beginning is a real headache to
fi
Perhaps you could get inspirations and tips from:
http://pear.php.net/search.php?q=template&in=packages
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
8 matches
Mail list logo