Website from scratch - Part 07 - Rendering
In this episode, we finally get our framework to a point where we can render HTML. Our layout can be added to a separate template where we can reuse it for all the pages we want.
I introduce the concept of using a View Object. The view will be in charge of working with templates. We will use it to pass variables from the controller to a template. When we finally create a data manager we will be able to pass articles from our database to the template. This will make our framework almost complete.
(No asset files)
Thank you for watching.
Music by: "Your Call" Kevin MacLeod (incompetech.com) Creative Common 3.o