Customized content at load time...Django? Or is there something better?
Posted on 2013-06-24
So, YEEEARS ago I worked on a project that used PHP to customize the appearance of a web page based on volatile information. We had snippets of functions with pieces of HTML code in them loosely in the format of...
...ad nauseum. By using these snippets in conjunction with what was appearing in a database (if there was new data, make a table for it, if not don't) we were able to completely customize the layout and look of a webpage at load time.
The key being that there was not predefined format. Instead the code determined the shape of each page individually at runtime.
But the code was cumbersome and nightmarish.
I am assuming these is something out there that is better than this now. Django perhaps? Something else?
Does anyone have an suggestions/tutorials/ideas?
OH...P.s. It need to run on a linux/apache config :-)