开发者

node.js Examples [closed]

开发者 https://www.devze.com 2023-02-15 09:19 出处:网络
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references,or expertise, but this question will likely solicit debate, a
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 11 years ago.

Are there any useful examples of开发者_StackOverflow node.js (such as a guestbook or chat room)?


Read about what I did to make it here: http://www.travisglines.com/web-coding/lets-make-a-twitter-clone-in-node-js

Check out the source code here: https://github.com/tglines/nodrr


There are some useful introductory videos on node at the Node.js Camp website that helped me get my head round things. Particularly the Introduction to Node video by Ryan Dahl (creator of Node.js) where he codes a basic chat server on the spot. Also the videos about Tim Caswell's game client are pretty impressive.

http://camp.nodejs.org/videos/

You may also want to look at the socket.io example on Tim Caswell's 'How To Node' blog if you're interested in a simple chat server.

You didn't say how proficient you were in Javascript but Tim has written a couple of interesting articles that explains some Javascript fundamentals using object graphs. Helps explain some novel concepts such as the prototype chain and closures.

http://howtonode.org


Here is a chat along with its source code.


Here is a list of a bunch of applications created using node.js that already exist. Perhaps this would be a nice place to start --

https://github.com/joyent/node/wiki/Projects,-Applications,-and-Companies-Using-Node


DailyJS has a tutorial series about building an app with node.js: http://dailyjs.com/tags.html#lmawa


Pedro Teixeira walks his viewers through creating several parts of a web application at Node Tuts. The code to go with his screencasts can be found on his Github page. They mostly deal with Express and Mongoose, but there are plenty of other subjects and code samples there.

0

精彩评论

暂无评论...
验证码 换一张
取 消