Introduction to the simple Chat room series based on node. js

Source: Internet
Author: User

Description: This chat room is based on node. JS implements the basic real-time communication functionality. Prior to this, there is no knowledge of node. js and MongoDB, but by flipping through blogs, you have basically achieved the desired results. Technology, should not be behind closed doors, but learn to share the summary in order to progress. Therefore, I want to record my learning experience. Do not like to spray.

Technology selection:

Database: MongoDB

Real-time communication: Socket.io

Server: node. js

Backstage: node. js

Front-end JS Library: jquery

The database chose MongoDB because MongoDB is a product between relational and non-relational, storage format Bson, similar to JSON, can store a variety of complex data types, followed by MongoDB Curd statement is very convenient, greatly improve the development efficiency. Of course it also has shortcomings, MongoDB assumes that the server has a lot of storage space, compared to the resources. In addition, in order to facilitate development, the use of Studio 3T, this MongoDB visualization tool.

node. js undoubtedly occupies an important place throughout the demo, its function is to create a Web server, and then as a background language, connect the operational database.

The front-end uses jquery primarily, and the login registration interface uses bootstrap, partly involving the jquery UI.

Introduction to the simple Chat room series based on node. js

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.