基于nodejs的微博系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn)
發(fā)布時(shí)間:2018-02-03 21:31
本文關(guān)鍵詞: 社交網(wǎng)絡(luò) 微博系統(tǒng) node js 出處:《電子科技大學(xué)》2014年碩士論文 論文類型:學(xué)位論文
【摘要】:微博系統(tǒng)作為WEB 2.0的最新代表,它是一個(gè)基于用戶關(guān)系的系統(tǒng),用戶能夠使用WEB和WAP等各種客戶端,在該系統(tǒng)中組建個(gè)人社區(qū),以實(shí)現(xiàn)分享信息、發(fā)布信息和獲取信息的目標(biāo)。微博作為一種社交網(wǎng)絡(luò)平臺(tái),將媒體、互聯(lián)網(wǎng)與移動(dòng)通訊技術(shù)聚合為一,憑借內(nèi)容簡(jiǎn)短、傳播快速、實(shí)時(shí)性強(qiáng)、互動(dòng)性強(qiáng)的特性,滿足了人們充分分享信息和交流信息的需求。在微博這個(gè)社交網(wǎng)絡(luò)中,你不但可以作為觀眾,瀏覽你感興趣的信息,而且也能夠作為發(fā)布者,發(fā)布信息供別人瀏覽,也就是說(shuō),在微博中,人人都可以發(fā)言,人人都能夠收聽(tīng)。從本質(zhì)上說(shuō),微博仍是一種傳播媒體,其最終目的還是向外界傳遞消息,獲得最大的傳播效果。本文結(jié)合實(shí)際應(yīng)用,為滿足中小型微博系統(tǒng)的高性能要求,設(shè)計(jì)并實(shí)現(xiàn)一個(gè)基于node js的微博系統(tǒng);趎ode js的微博系統(tǒng)將用戶分為普通用戶和管理員用戶兩類,系統(tǒng)的有效用戶在通過(guò)了身份認(rèn)證進(jìn)入系統(tǒng)后,按照用戶的類型,擁有對(duì)關(guān)注、評(píng)論、轉(zhuǎn)發(fā)、插入圖片、插入話題、私信、編輯、視頻和音樂(lè)、搜索、分頁(yè)、收藏、推薦、備份等某些功能的操作權(quán)限。為實(shí)現(xiàn)數(shù)據(jù)訪問(wèn)與業(yè)務(wù)邏輯的分離,使得頁(yè)面更具動(dòng)態(tài)性,基于node js的微博系統(tǒng)的體系結(jié)構(gòu)采用B/S風(fēng)格,包含數(shù)據(jù)層、業(yè)務(wù)邏輯層和表示層等三層。系統(tǒng)的后臺(tái)實(shí)現(xiàn)采用node js框架,數(shù)據(jù)庫(kù)采用MongoDB和Redis來(lái)實(shí)現(xiàn),其前臺(tái)的邏輯和頁(yè)面效果主要采用PHP+HTML+CSS+JavaScript來(lái)實(shí)現(xiàn)。本文的主要工作包括:簡(jiǎn)要介紹課題背景、微博系統(tǒng)及其發(fā)展動(dòng)態(tài);從微博系統(tǒng)的基本架構(gòu)出發(fā),介紹本系統(tǒng)涉及的node js架構(gòu)、MongoDB數(shù)據(jù)庫(kù)和Redis數(shù)據(jù)庫(kù)等相關(guān)技術(shù);按照軟件工程的思想對(duì)于基于node js的微博系統(tǒng)進(jìn)行需求分析、設(shè)計(jì)、實(shí)現(xiàn)和測(cè)試;趎ode js的微博系統(tǒng)能夠?qū)崿F(xiàn)用戶管理、微博管理、用戶關(guān)系管理、評(píng)論和私信、搜索用戶、視頻分享、圖片管理、短鏈接、敏感詞處理、熱點(diǎn)話題生成、備份等功能,具有輕量型、易布署的特點(diǎn),適合于中小規(guī)模用戶量的微博應(yīng)用。
[Abstract]:Weibo system, as the newest representative of WEB 2.0, is a user-relationship based system in which users can use various clients, such as WEB and WAP, to form individual communities in order to share information. The goal of publishing and getting information. Weibo, as a social networking platform, brings together media, the Internet, and mobile communication technologies, relying on the features of short content, fast transmission, real-time, and interactive. It meets the need for people to share and exchange information. In Weibo, you can not only be an audience and browse information that you are interested in, but you can also publish information as a publisher for others to browse, that is, In Weibo, everyone can speak, everyone can listen. In essence, Weibo is still a kind of communication media, whose ultimate goal is to transmit information to the outside world and get the greatest communication effect. In order to meet the high performance requirement of the small and medium-sized Weibo system, a Weibo system based on node JS is designed and implemented. The Weibo system based on node JS divides users into two categories: ordinary users and administrator users. Effective users of the system enter the system through identity authentication, according to the type of user, have attention, comment, forward, insert picture, insert topic, private letter, edit, video and music, search, pagination, collection, recommendation, In order to realize the separation of data access and business logic, and make the page more dynamic, the system structure of Weibo system based on node JS adopts the style of B / S, including data layer. The background implementation of the system is based on node js framework, and the database is implemented by MongoDB and Redis. The logic and page effect of the foreground are mainly realized by PHP HTML CSS JavaScript. The main work of this paper is to introduce briefly the background of the subject, Weibo system and its development trends, and proceed from the basic structure of Weibo system. This paper introduces the related technologies of node JS architecture, such as MongoDB database, Redis database, etc. According to the idea of software engineering, it analyzes and designs the Weibo system based on node JS. Implementation and testing. The Weibo system based on node JS can achieve user management, Weibo management, user relationship management, comment and private mail, search users, video sharing, picture management, short links, sensitive word processing, hot topic generation, Backup and other functions, with lightweight, easy to deploy features, suitable for small and medium-scale users of Weibo application.
【學(xué)位授予單位】:電子科技大學(xué)
【學(xué)位級(jí)別】:碩士
【學(xué)位授予年份】:2014
【分類號(hào)】:TP311.52;TP393.092
,
本文編號(hào):1488396
本文鏈接:http://sikaile.net/guanlilunwen/ydhl/1488396.html
最近更新
教材專著