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

Replace 640 lines of python with node.js code. #19

davidbau opened this Issue Feb 2, 2014 · 2 comments


None yet
2 participants
Copy link

davidbau commented Feb 2, 2014

Pencilcode uses flat files as its store, managed by the 640 lines of python code in site/wsgi that implement the /load/ and /save/ URLs.

This code should be rewritten as a node.js javascript server for these reasons:

  1. It will simplify the test environment: the test node server can be the same as the production server.
  2. Realtime features (websockets) are easily implemented in node that cannot be easily implemented using wsgi python.
  3. By bringing the test environment in line with the production environment, we will be able to innovate on server-side work.

@weihang7 weihang7 self-assigned this Mar 13, 2014

weihang7 added a commit to weihang7/pencilcode-site that referenced this issue Mar 14, 2014


This comment has been minimized.

Copy link

weihang7 commented Mar 14, 2014

Work has begun on the nodeserver branch in weihang7/pencilcode-site in the site/server/server.js file. Not valid code yet.


This comment has been minimized.

Copy link

davidbau commented Mar 7, 2015


@davidbau davidbau closed this Mar 7, 2015

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