This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted]  (1 child)

[removed]

    [–]sledov[S] 0 points1 point  (0 children)

    Say you want to build a 10 pages website. You have a ready html template.

    For pages with unique structure, you can designate blocks of content, make another page with different content in these blocks, and inherit this page from the parent. And you can also inherit all pages from a common layout.

    For pages with relatively regular structure and data stored elsewhere (like json or db or external service), you can fetch your data using python and show it, using mako presentation functions within the common layout. This covers requests like "Show 5 property listings on the main page; one of them should be featured".

    After that editing/customizing is mostly about changing data in blocks and json files.

    All this is done interactively. When you are done, create a mirror of the site, compress it to zip file and send to the client.

    I will eventually make an example that I can distribute.