You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Maintaining a web app as CGI with no templating is going to be unsustainable. Problems include:
Changing style or JS library versions requires going through every one of the HTML files
Lots of sys.path('..') calls make the code highly dependent on the current working directory; arranging the code into a Python package (in this sense would make this easier, particularly if ever we need to refactor.
It's all very procedural. Using classes, modules and packages would help to modularise the code, encouraging re-use and extensibility.
The text was updated successfully, but these errors were encountered:
Maintaining a web app as CGI with no templating is going to be unsustainable. Problems include:
The text was updated successfully, but these errors were encountered: