基于.NET MVC3与AJAX技术的校园论坛的设计与实现
原站著录信息
论文题目:基于.NET MVC3与AJAX技术的校园论坛的设计与实现
论文语种:中文
您的研究方向:计算机
是否有数据处理要求:否
您的国家:广州
您的学校背景:华南理工大学
要求字数:30000
论文用途:硕士毕业论文
是否需要盲审(博士或硕士生有这个需要):是
补充要求和说明:1.不需要建模; 2.我已经有开题报告; 3.参考文献格式按国内大学硕士要求; 4.参考文献数量40篇,至少有1/3是国外文献; 5.无; 6.Word格式; 7.计算机工程硕士毕业论文;
基于.NET MVC3与AJAX技术的校园论坛的设计与实现
摘要
Web应用程序由于提供了丰富的用户界面和良好的可维护性而变得越来越流行。但是,传统模式下开发出来的Web应用程序存在着许多问题,如响应速率慢、耗费资源、用户体验较差。因此一种全新的模式开发技术Ajax正在成为Web应用领域的研究热点。
Ajax技术引入了异步处理模式,从而实现页面局部刷新,所以在与服务器进行交互的过程中直接接收所需的数据,这样便可以减少服务器端的负载,客户端的响应速率便大大的提高。Web1.0时代客户端只能实现一个显示数据的功能大部分业务逻辑的处理全部都由服务器来完成,这无形中加大了服务器端的负载,随着Ajax技术的引入很好的解决了这个问题,使大部分的业务逻辑转移到客户端来处理,并且按照需求来显示出来,配合CSS的强大功能完全可以达到桌面应用程序才可以实现的效果。
Ajax利用JAVA Script作为事件的总控制器,采用异步传输机制综合对DOM树进行处理,与服务器进行交互,将交互结果以事先设定好的数据传输方式返回客户端预留的DOM中,显示给客户。
本论文的主要工作是:在B/S体系下,采用Ajax技术实现校园论坛系统
论文在Ajax技术的组成、实现原理、.NET MVC框架模型等进行了深入的分析研究基础上讨论如何将Ajax技术与.NET相结合,分析怎样从系统框架的角度将两者有机的融合起来,着重探讨实现Ajax技术的jQuery框架与.NET中间件的结合。采用软件工程理论结合实际项目的开发,基于Ajax技术的系统开发并研发,其中重点讨论了怎样利用jQuery实现系统数据的交互,实际应用证明了这种基于Ajax技术的系统具有清晰结构,高效执行,稳定的优点。
在论文的最后,对研究设计工作取得的成果给与了肯定并对存在的不足以及要突破的技术瓶颈进行了总结。
关键词:校园论坛;Ajax技术;.NET
Abstract
Web applications by offering a rich user interface and good maintainability become increasingly popular. However, the traditional model of Web applications developed, there are many problems, such as response rates slow, consuming resources, poor user experience. Therefore, a new model of development technologies Web applications Ajax is becoming a research hotspot.
Ajax technology into the asynchronous processing mode, in order to achieve partial page refresh, so the process of interaction with the server directly to receive the required data, so that we can reduce the load on the server side, the client's response rate is greatly improved. Web1.0 era of client can only display data to achieve a feature most of the business logic of the deal with all by the server to complete, This is tantamount to increasing the load on the server side, with the introduction of Ajax technology, a good solution to this problem , so that the transfer of most of the business logic to the client to deal with, and in accordance with the demand to show up with CSS to achieve the power of desktop applications can be realized only if the effect of, Ajax is a completely overturn the traditional concept.
Ajax the use of JAVA Script as a general controller of events, using asynchronous transfer mechanism integrated processing of the DOM tree, to interact with the server, the interactive results are pre-configured data transmission returned to the client DOM, set aside to show to the customer. The main work of this paper are: B / S system, Use of Ajax technology to achieve a Art BBS System.
Paper in the composition of Ajax technology, implementation principle, .NET framework of the models in-depth analysis of research-based discussion on how to combine Ajax technology and .NET to analyze how the system framework from the perspective of an organic integration of the two together, focusing on the realization of Ajax Technology Framework and .NET middleware jQuery combination. Use of software engineering to integrate theory with actual project development, based on Ajax technology, system development into the research and development, which focused on how to use jQuery to achieve system data interaction, practical application show that this system based on Ajax technology, with a clear structure, efficient implementation, stability advantages.
In the paper the end of the study of the results of the design work to give an affirmative and weaknesses and the need to break the technical bottlenecks are summarized.
Key Words BBS;Ajax technology;.NET
目 录
摘要 I
Abstract II
第1章 绪论 1
1.1 课题背景及意义 1
1.2 课题研究方向以及发展现状 2
1.2.1 论坛系统的国内研究现状 2
1.2.2 论坛系统的国外研究现状 2
1.2.3 校园网论坛的技术特点 2
1.3 论文主要研究工作 3
1.4 论文的结构安排 3
第2章 校园网论坛实现的关键技术 4
2.1 Web2.0体系结构 4
2.2 .NET FW4.0体系结构与最新技术 4
2.3 ADO.NET技术概述 4
2.4 ASP.NET MVC3框架 5
2.5 Ajax技术概述 5
2.5.1 一般Ajax模型 5
2.5.2 Microsoft Ajax开发模型 6
2.5.3 JQuery下的Ajax的技术特点与应用 9
第3章 校园网论坛的分析与设计 11
3.1 需求定义与需求分析 11
3.1.1 系统应用范围 11
3.1.2 业务需求分析 11
3.1.3 功能需求分析 11
3.1.4 管理需求分析 11
3.1.5 论坛系统的可扩展性 11
3.2 整体设计 11
3.2.1 系统三层架构 11
3.2.2 模块划分与模块间的关系 11
3.2.3 流程图与时序图 11
3.2.4 UML建模 12
3.3 数据库设计 12
3.3.1 数据库需求分析 12
3.3.2 E-R设计图 12
3.3.3 数据库逻辑结构设计 12
3.3.4 布式数据库设计 12
第4章 校园网论坛系统的开发实现 13
4.1 三层架构的实现 13
4.1.1 表现层(UI)实现 13
4.1.2 业务逻辑层(BLL)实现 13
4.1.3 数据访问层(DAL)实现 13
4.2 MVC模式的实现 13
4.3 模型(Model)实现 13
4.3.1 构建模型 14
4.3.2 类的组织及设计 14
4.3.3 模型实现 14
4.4 视图(View)实现 14
4.4.1 Web界面的实现 14
4.4.2 与模型的交互 14
4.5 控制(Control)实现 14
4.6 引用Ajax的实现 14
第5章 系统测试和性能评价 15
5.1 测试环境 15
5.2 校园网络环境 15
5.3 整体论坛上线测试 15
5.3.1 数据库层运行测试 15
5.3.2 三层模块运行测试 15
5.3.3 MVC层测试 15
5.3.4 AJAX架构测试 15
5.3.5 异构系统和分布式环境下的测试 15
总结与展望 67
参考文献 69
致谢 73
第1章 绪论
1.1 课题背景及意义
BBS起源于美国,2002年盛行起来。简而言之,论坛是一种体现使用者个性化的网络帖子,每个使用者能够方便地建立起属于自己的个人空间,发表自己的心得感言,每个论坛因其不同的内容、目的而蕴含着大量丰富的信息。
论坛作为一种网络信息发布平台,它与传统论坛BBS的不同之处在于:使用者能够拥有一个属于自己的空间,除了友好地发布文章之外,还能够根据自己的喜好需要来设计版式、定义功能;在与其他网友交互的过程中累积成一串能够追溯、回顾的历史,同时结合具有Web 2.0特征的内在功能,论坛己经成为一个用户的个性化信息平台[1]。
从整个互联网的角
