Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CGI (and other structural issues) #4

Open
alexdutton opened this issue Sep 9, 2011 · 0 comments
Open

CGI (and other structural issues) #4

alexdutton opened this issue Sep 9, 2011 · 0 comments

Comments

@alexdutton
Copy link
Member

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant