Template Inception
15 June 2017
There are some instances when you need to serve your users with a web site, where most of the content is stale for atleast few hours, days or week. If you have such a scenario, what follows is one approach to satisfy that requirement.
The site we want to build is to display a simple list of top box office hits for the weekend.
The approach for site generation we take is to use a Python based scraper that uses the Jinja template engine to populate a Vue.js file that is then used by the index.html to display the content.
The following diagram illustrates the various files used in this post.
The repo accompanying this post has the files and the entire web site that was generated.