节点文献

基于REST架构Web应用的研究与实现

Research and Implementation of the Web Application Based on REST Architecture

【作者】 李浩

【导师】 徐宁;

【作者基本信息】 武汉理工大学 , 计算机应用技术, 2009, 硕士

【摘要】 在当今网络技术快速发展的情况下,以服务为基础的互联网时代已经到来。Web Services技术为当前Web应用的开发提供了很强大的解决方案。不过传统的以SOAP为基础的Web Services技术已经显得过于臃肿和复杂,已经无法应对快速更新的需求变化。基于REST架构风格的服务,从某种程度上有效的解决了传统Web Services过于复杂的问题。这种架构风格具有可寻址性、无状态性、统一接口和连通性等优点,将Web Services异构平台的互访能力相结合,形成一种轻量级的Web服务架构风格,从而能够在很多场合能灵活发挥其强大作用。论文将以REST架构风格的Web应用为基础进行探讨,主要研究工作包括:(1)从传统的软件架构着手,探讨它们的局限性,引出基于REST架构风格的特征,从理论上分析其优势。(2)详细分析基于REST架构风格的设计流程,包括客户端和服务端两方面的设计步骤。(3)在Ruby On Rails和Amazon S3平台下,使用基于REST的架构风格设计一个在线文件存储系统,使其能够进行正常的增删查改等管NI作。并通过这个系统,从实践的角度进行架构分析,进而阐述基于REST架构风格的优势。(4)最后对REST架构风格作出展望,提出了以后的研究方向。论文对比并分析了传统软件架构和基于REST架构的Web服务,指出了REST架构风格的优势。设计并实现了基于REST架构风格的在线文件存储系统,通过实例进一步说明基于REST架构的在开发轻量级Web服务有一定的指导意义。未来的互联网时代,基于REST架构风格的Web应用必将占有一席之地。

【Abstract】 At present the networking technology grows rapidly. The time of Internet based on services has come. Web Services provides the development of web application a powerful solution. However traditional SOAP-based Web Services technology has been too complex to cope with various changes in demand.The services based on REST architectural styles can effectively solve the complexity of traditional Web Services. This architectural style has many advantages: addressable, stateless, the uniform interface and connectedness. It is a lightweight web architecture style which has the ability of communication between heterogeneous platforms so that it can play an important role on many occasions.The thesis mainly discusses the research and implementation of the web application based on REST architecture style. It includes the following:(1) Recalling the characteristics of traditional C/S, B/S software architecture, analyzing the existence of their drawbacks, then leading to today’s most widely used multi-tier architecture. Furthermore discussing the Inadequacies in today’s Internet to introduce REST which is a new lightweight web architecture style.(2) Introducing the overall design of web application based on REST and from both the client and server side to sum up the general steps. of designing the web applications based on REST architecture.(3) Building an online document storage system with Ruby on Rails and Amazon S3 Service platform based on REST web architecture style. The system could manage the document properly by creating, deleting, reading, updating. And then to describe the advantages of REST architecture style from the perspective of practice.(4) Finally, making a prospect on REST web architecture style and proposing the future work.The thesis analyzed the traditional software architecture and REST architecture style. Designing and implementing an online document storage system based on REST. Further specified that this architecture style could use in developing lightweight Web Services. In the future time of the Internet, the web application based on REST architecture style will surely play an important role.

节点文献中: