基于Node.js的小型框架设计与实现 毕业设计.doc

基于Node.js的小型框架设计与实现 毕业设计.doc

  1. 1、本文档共62页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
计算机科学与技术学院 毕业设计(论文) 论文题目 基于Node.js的小型框架设计与实现 指导教师 x 职 称 x 学生姓名 x 学 号 x 专 业 x 班 级 x 系 主 任 x 院 长 x 起止时间 2012年11月25日至2013年6月6日 2013年6月6日 目录 第一章 绪论 5 1.1 node.js介绍 5 1.2 node.js平台的优势领域 6 1.3 node.js平台的非擅长领域 8 1.4 开发框架的原因 10 1.5开发框架存在的问题 11 1.6本章小结 12 第二章 开发工具及技术综述 12 2.1使用工具简介 13 2.1.1 文本编辑器Vim 13 2.1.2 git简介 15 2.1.3 javascrip高级语言特性 17 2.2使用平台简介 21 2.2.1 GitHub简介 21 2.2.2 Ubuntu 简介 22 2.3开源协议介绍 22 2.3.1 BSD开源协议 22 2.3.2 Apache Licence 2.0 23 2.3.3 GPL(GNU General Public License) 23 2.3.4 LGPL(GNU Lesser General Public License) 23 2..3.5 MIT 24 2.4 node.js开发环境搭建 24 2.5 本章小结 26 第三章 框架的设计与实现 26 3.1框架概述 26 3.2开发环境 27 3.2.1 硬件环境 27 3.2.2 软件环境 27 3.3框架基础示意图 27 3.3.1 服务端监听示意图 28 3.3.2横向切面请求拦截器示意图 29 3.3.3路由分发器示意图 31 3.3.4 Cookie示意图 33 3.3.5 Session示意图 34 3.4 本章小结 35 第四章 核心功能使用 36 4.1 下载FastJsonWeb. 36 4.2 FastJsonWeb文件目录介绍 36 4.3 FastJsonWeb的API说明及使用说明 37 4.3.1 Cookie.js 37 4.3.2 mime.js 39 4.3.3 request_handle.js 39 4.3.4 server.js 40 4.3.5 session.js 40 4.3.6 业务处理对象 42 4.3.7 请求横向切面拦截器 43 4.3.8 动态方法调用 43 4.3.9 属性注入 44 4.4 本章小结 46 第五章 实例介绍 47 5.1 获取框架 47 5.2 编写业务逻辑 47 5.2.1 设置服务器监听端口 47 5.2.2 实现Hello FastJsonWeb 48 5.2.3 用户登录功能 50 5.3本章小结 54 第六章 不足与发展 55 6.1 框架的不足 55 6.2 框架的发展 57 6.3 本章小结 58 参考文献 59 谢 辞 60 摘要: 关键词: ABSTRACT Node.js is not only a separate language,but a new software development platform. Just like the Python and the Ruby, they are both language and platform.Node.js transplant the javascript from your browser to a common server. That makes JavaScript can achieve as file systems, operating systems, network communications, and other functions.The Node.js is always running in Chorme V8 engine, with asynchronous I / O and event-driven architecture design and single-threaded model, and built-in HTTP server, mainly for building high-performance, high-concurrency, highly scalable server.Node.js really get a high performance ,while the package of bottom part is low enough.For example, the common data requested need analysis

文档评论(0)

绿风 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档