4.4 Choosing a Format, an Engine, and a Location for Templates

The templates we are going to build for our website will be written in HTML 5, which has become the standard markup language for webpages.

Info

Other choices of markup language are HTML 4 and JSON. HTML 4 is still used on older sites, but HTML 5 is now widely adopted and is safe to use. JSON is used in the context of sites with powerful JavaScript front ends. Rather than retransmit the format of the page each time, some websites (like Twitter) opt to provide a single HTML page coupled with a JavaScript front end, allowing the website to transmit more compact data in the form of JSON. This means less bandwidth usage but increased processing for the user. This method is considered ...

Get Django Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.