Quitting Smarty to do it manually
I am facing the problem that I'm not really sure how to develop without a framework or a template engine. I started coding that way and now I want to go to basics. I used to work with this MVC schema, using Codeigniter and Smarty as a template engine. What I want to do now is to use raw php without both tools mentioned. I don't know how to "copy" the concept of Smarty's "block" and "extends". I used to define a base.tpl file which had html head, only the body tag, and the base css and js files (the ones that are always used in every page of the site), like this: (snippet) <!DOCTYPE html> <head