Jump to content


Photo

Template and php seperate?


  • Please log in to reply
2 replies to this topic

#1 master82

master82
  • Members
  • PipPipPip
  • Advanced Member
  • 182 posts

Posted 09 June 2006 - 07:47 PM

I've heard from a site owner in a forum that he uses a template for his layout, and that all his php is in seperate files. He stated all the work is done in the background or something and that he doesn't need to use things like print or echo at the frontend to display the data.

Anyone know what he was doing or is he just another one of those 'make it up to sound good' people? [img src=\"style_emoticons/[#EMO_DIR#]/excl.gif\" style=\"vertical-align:middle\" emoid=\":excl:\" border=\"0\" alt=\"excl.gif\" /]

#2 yonta

yonta
  • Members
  • PipPipPip
  • Advanced Member
  • 70 posts

Posted 09 June 2006 - 08:02 PM

Check out [a href=\"http://smarty.php.net/\" target=\"_blank\"]smarty [/a]or [a href=\"http://pear.php.net/package/HTML_Template_Flexy\" target=\"_blank\"]flexy [/a] template systems.
do it, do it right, do it right now

#3 radalin

radalin
  • Members
  • PipPipPip
  • Advanced Member
  • 179 posts

Posted 09 June 2006 - 08:45 PM

Or you could try html_template_it too, one of the template engines you can choose with pear. It's simplest template engine.
Roy Simkes
Yet Another Parkyeri Developer




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users