I need to figure out the topic of separating presentation from code (all methods). I know that there is Smarty and this is called a templating engine. Do I always use something like a templating engine, or how would this work. I basically need to create a simple website with all possible methods of separating presentation from code.

Thanks.