针对繁多异构的移动客户端接入Web应用系统的问题,提出一个基于REST(Representational State Transfer)的解决方法并给出一个基于MVC(Model-View-Controller)模式的具体的开发框架,通过RESTful Web服务连接移动客户端的View/Controller层与Web系统的Model层。定义了由Web系统的model层定义RESTful Web服务的具体方法和规则。理论分析与实际应用说明了该方法的有效性。
We propose a REST-based solution for the problem of various heterogeneous mobile clients accessing the Web applications and give an MVC pattern-based specific development framework,which connects the View/Controller layer of mobile clients and the Model layer of Web applications via RESTful Web services.We also give the definition that the specific method and rules of RESTful Web services are to be defined from the model layer of Web application.Theoretical analysis and practical application confirm the validity of the approach.