Font Size: a A A

Design And Implementation Of Blog System Based On Node.JS

Posted on:2014-02-22Degree:MasterType:Thesis
Country:ChinaCandidate:N PengFull Text:PDF
GTID:2248330395999095Subject:Software engineering
Abstract/Summary:PDF Full Text Request
In the rapid developing social network today, the blog is not only a model, grassroots journalism, but also is a method of sharing the progress of science and technology. Blogging motivation is varied, and the blog content is varied, from the log to the important topic of comments, and from self venting to the emotional support of team or the community cooperation.We discovered not hard that the blog technology has been changing with the popular technology, from the beginning of writing CGI with C or C++to the Perl which is fashionable for a time, and then from PHP to WordPress gradually. In recent years, more popular Ruby on Rails and Python all have their own blogs engine. The main purpose of this paper’s blog system is to explore the new technology.Beginning in2009, Node.JS is increasingly attracting developers. Node.JS is the server’s JavaScript environment based on high-performance JavaScript engine of Google V8. Node.JS has established a complete set of development of ecological environment, other tools adopt the module for realization in the Node.JS community. We use the server’s JavaScript to run Node.JS. In consideration of the characteristics of Node.JS’s asynchronous I/O, we compared the characteristics of several database, include relational data, MySQL Redis Key/Value NoSQL data and MongoDB Document-Oriented database. Because the MongoDB data’s minimum unit is Document in DB, it is very suitable for the Blog storage. Finally, we use the newst Mongo DB to store the blog data.In order to combine with Node.JS, the blog system also uses Express.JS as web framework, Jade as Node’s template engine, SASS for simplifying the CSS template and Mongoose to operate and manage MongoDB.
Keywords/Search Tags:Node.JS, Server-Side JavaScript, Express.JS, MongoDB, Asynchronous I/O
PDF Full Text Request
Related items