Skip to content

CGI (and other structural issues) #4

Description

@meredithdutton

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions