Answer the question
In order to leave comments, you need to log in
Node.JS for kids - possible or fantasy?
I'm putting together a 2-year JS training program for grade 10 (additional classes).
What, in your opinion, can be given about server-side Node.JS
Not overloaded with details and "extra" syntax ...
I did not find anything suitable on the Internet. There are some good "introductory" articles.
BUT the code in them is complicated. I understand that this complexity becomes justified when developing complex applications, but for now it is not needed.
Is there anything simple and with transparent logic ... Purely “they took the data - placed it in the database - showed it from the database on request"
Answer the question
In order to leave comments, you need to log in
I think it makes no sense to write to the database, as Node.js will be stored in memory while it is running, and there are modules for it, for example, for mysql,
see examples of Simple Chat Node.js ...
For children, I think it will be more interesting to show an example of a game of tic-tac-toe for 2 players with server on Node.js
Advantages: we wrote a function for checking for a closure 3x in a row in the browser ... and 1: 1 copied to Node.js so that it would be checked on the server
Not quite on the topic, but maybe you remember such a developer, Dmitry Gaskin? So he gave a report on jQuery at Google Tech Talks at the age of 12 . :)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question