Re: [PHP] Working with a Front Page developer

2004-02-10 Thread Richard Davey
Hello Chris,

Tuesday, February 10, 2004, 5:30:14 PM, you wrote:

CdV Can anyone recommend some template engines?  Or tips on using PHP to parse
CdV an HTML doc, replacing it with real data?

One of the most common (and well used) template engines is Smarty:
http://smarty.php.net/

It might be overkill for your needs though, writing a simple template
system is pretty easy. I would have thought that even FrontRage could
handle HTML with embedded code though - from the point of view that it
knows not to display/modify it in the visual layout side of things.

-- 
Best regards,
 Richardmailto:[EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Working with a Front Page developer

2004-02-10 Thread Chris de Vidal
Richard Davey said:
 One of the most common (and well used) template engines is Smarty:
 http://smarty.php.net/

 It might be overkill for your needs though, writing a simple template
 system is pretty easy.

Looks like it's overkill, but I'll look through it in case I could use it
on other projects.

Got any tips on writing a template system?  Anything I should be aware of,
other than copious use of preg_replace?  :-)

/dev/idal

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php