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

Node-Ify llab #147

Open
6 tasks
cycomachead opened this issue Jul 24, 2015 · 4 comments
Open
6 tasks

Node-Ify llab #147

cycomachead opened this issue Jul 24, 2015 · 4 comments

Comments

@cycomachead
Copy link
Member

There is apparently a lot of work to convert using llab in node.js

  • Create an index.js at the root level
  • Each of the core libraries needs a module.exports
  • We should namespace each file for easier consistency / writing. (Each file is basically a mini module.)
  • We need to separate functions that need access to document or window
  • Things other than loader.js probably shouldn't just randomly execute code
  • Each script could have a webInit() method, or something that gets called from loader, or the loader could be augmented to have take in an onLoad callback for each "module". Yay, callbacks.
@xtitter
Copy link
Member

xtitter commented Jul 25, 2015

What is the point of using node? For building, sounds good. But, for serving the course?

@cycomachead
Copy link
Member Author

For building....But edc wants a full web server...so yeah...uh...

@xtitter
Copy link
Member

xtitter commented Jul 25, 2015

llab is mostly going to serve up static assets, rather than service ajax,
no? Probably not the best role for node. Now, the building, I'm with you
there. I've started in on that for my apcsa using node.

On Sat, Jul 25, 2015 at 1:13 AM, Michael Ball [email protected]
wrote:

For building....But edc wants a full web server...so yeah...uh...


Reply to this email directly or view it on GitHub
#147 (comment).

<-><=><-><=><-><=><-><=><-><=><-><=><-><=><-><=><-><=><-><=><->
Nathaniel Titterton, Ph.D. [email protected]
Computer Science Education U.C. Berkeley, 329 Soda Hall

@cycomachead
Copy link
Member Author

llab is mostly going to serve up static assets, rather than service ajax,
no?

Well, if there's a login system for teachers and such, then who knows. It could be cool to have quizzes query the correct answer for a survey.

But we could / should have a way of building the full static html pages.

@cycomachead cycomachead mentioned this issue Sep 7, 2017
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

2 participants