当前位置:首页 > 商业/管理/HR > 经营企划 > 基于nodejs的即时通讯系统
LANZHOUUNIVERSITYOFTECHNOLOGY毕业设计题目基于nodejs的即时通讯系统学生姓名杨博学号10240135专业班级计算机科学与技术(1)班指导教师马维俊学院计算机与通信学院答辩日期兰州理工大学毕业设计I基于nodejs的即时通讯系统InstantCommunicationSystemOfNodeBasedOnJS杨博(YangBo)10240135兰州理工大学毕业设计II摘要在社交网络飞速发展的今天,即时通讯系统越来越流行,无论是pc端还是移动客户端,几乎随处可见。年轻人甚至中年人也不乏使用即时通讯聊天的,对于国人来说QQ是最早的聊天软件,而微信、微博、人人等即时通讯系统的兴起使人们有了更多更丰富的选择,国外的twitter更是拥有超过4亿的注册用户。即时通讯是一种分享科技进步的方法,人们可以用它来聊天、评论,从而更加了解并贴近大众生活。心细的我们不难发现,即时通讯技术一直随着流行技术在变化。从一开始用C或C++写CGI,到后来的Perl风靡一时,然后PHP如日中天并且逐渐进化出WordPress。近些年较为流行的RubyonRails,Python都分别有自己众多的即时通讯系统的实现。本文的即时通讯系统主要目的是对新技术的探索。2009年开始,NodeJS越来越吸引开发者们的眼球。NodeJS是基于GoogleV8高性能JavaScript引擎的服务器端JavaScript环境。目前已经建立起一整套的开发生态环境,其他工具在Node.JS社区中均采用模块的方式实现。我们采用了服务器端JavaScript运行时NodeJS。Node.JS的异步I/O的特性使它具有其他技术所不拥有的优势。本即时通讯系统主要实现了用户的登录、聊天、表情发送、图片发送、聊天字体颜色及用户在线人数功能。关键词:NodeJS;服务器端JavaScript;ExpressJS;异步I/0兰州理工大学毕业设计IIIAbstractIntherapiddevelopmentofsocialnetworks,instantmessagingsystemsbecomemorepopular,whetheritisaPC-sideormobileclients,almosteverywhere.Youngormiddle-agedpeoplearealsousinginstantmessagingchats,QQforpeopleisoneofthefirstchatsoftware,micro,micro-blogging,instantmessagingsystems,suchastheriseofeveryonesothatpeoplehavemorechoice,foreigntwwiteralsohasmorethan400millionregisteredusers.InstantMessagingisamethodofsharingscientificandtechnologicalprogress,peoplecanuseittochat,comments,soastobetterunderstandingandclosertopubliclife.Wearenotdifficulttofindinstantcommunicationstechnologyhasbeenaspopulartechnologychanges.FromtheverybeginningwithcorC++WritecGI,laterragePerl,PHPandgraduallyevolvedtothepointwhereWordPress.InrecentYearsapopularRubyonRails,Pythonwilleachhavetheirownnumerousinstantmessagingsystemimplementations.Instantchatsystem,themainpurposeofthispaperistheexplorationofnewtechnologies.Beginningin2009,Node.JSandattracttheattentionofdevelopers.Node.JSisbasedontheGoogleV8Server-sideJavaScriptenvironmentperformanceJavaScriptengine.DevelopmentenvironmentcurrentlyhasestablishedawholesetofothertoolsinNode.JScommunitiesimplementedmodulesareusedin.Weuseserver-sideJavaScriptruntimeNode.JS.Node.JSAsynchronousI/OcharacteristicsofJSsothatithasnothadtheadvantageofothertechnologies.Thisinstantmessagingsystemimplementsuserlogins,chat,send,sendpictures,chatfontcolorexpressionandfunctionofnumberofusers.KeyWords:NodeJS;Server-SideJavaScript;ExpressJS;AsynchronousI/O兰州理工大学毕业设计IV目录摘要...........................................................................................................................................II目录............................................................................................................................................IV第一章绪论....................................................................................................................................11.1引言...................................................................................................................................11.2课题背景...........................................................................................................................21.3设计的内容、目的及意义...............................................................................................2第二章Nodejs软件说明...............................................................................................................42.1Nodejs概述.....................................................................................................................42.2Nodejs的模块.................................................................................................................52.3Nodejs及相关模块的安装.............................................................................................52.4测试程序..........................................................................................................................7第三章系统可行性分析................................................................................................................83.1技术可行性......................................................................................................................83.2经济可行性......................................................................................................................83.3系统开发运行环境..........................................................................................................8第四章系统需求分析....................................................................................................................94.1系统性能需求分析..........................................................................................................94.2系统功能需求...................................................................................................................94.3系统开发原则................................................................................................................11第五章系统总体设计..................................................................................................................125.1系统设计的主要内容.....................................................................................................125.2采用的主要技术...............................
本文标题:基于nodejs的即时通讯系统
链接地址:https://www.777doc.com/doc-4392550 .html