Anyways, I restructered my code, and as far as I can see there is
nothing wrong with the code, except for that it simply doesn't work :)
That's usually considered a fairly serious problem.
I'm probably missing something blatently obvious but I'll post it and
maybe someone can spot why this
Well, I made it work now, and I even got a cache built in there
(kindof stupid though, I need to make it smarter.)
I figured out to use the assign function to add the curly brackets, thank-you.
I'll look into the file_*_contents() functions, thanks.
On 5/11/05, Rory Browne [EMAIL PROTECTED]
I took a look at those functions, and file_put_contents() is only
php5... this needs to work w/ php4 so that's not an option.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
This has all been done before, and in a number of ways. If you really
*must* build your own templating class, go and thoroughly review the
code of those that already exist: Smarty, Savant, paTemplate,
FastTemplate, etc. Figure out how each solved the problems. Then
determine if you can
* Rory Browne [EMAIL PROTECTED]:
This has all been done before, and in a number of ways. If you really
*must* build your own templating class, go and thoroughly review the
code of those that already exist: Smarty, Savant, paTemplate,
FastTemplate, etc. Figure out how each solved the
What is the purpose of your templating system? And what does it solve?
These questions are the ones I'd ask myself if I was creating one. However,
there are a lot of them out there so does your templating system solve a
problem and is a solution? or just yet another templating class?
As its
clip
Templating is tricky. It adds overhead on the processing end, but
increases developer/designer efficiency. Finding a happy medium is the
challenge.
/clip
Yep, the last medium I found could communicate with the spirits fine...but
she
was real unhappy with life in general
:-p
Cheers,
On 5/10/2005 11:15:47 PM, [EMAIL PROTECTED] wrote:
snip
Yep, the last medium I found could communicate with the spirits fine...
but
she
was real unhappy with life in general
/snip
LOL! ... now that's not PHP talk =P
Strange, from the time I joined this list I keep hearing about
Okay well I see I have reopened the can of worms lol.
This has all been done before, and I'm assuming that the James knows,
and has seen that before, since he used the same common method names,
as is in many php templating systems. $class-assign has been used in
any templating system I've
* James Williams [EMAIL PROTECTED]:
Hey fellas, sorry to infest the list with another question about a
templating engine, but I am looking for some professional opinions
here...
I am trying to make a small, fast, and simple templating class... Now
I have mastered the art of variable
10 matches
Mail list logo