摘要
通过使用资源网站提供的平台Open API,第三方开发人员不需要巨额的硬件和技术投资,就可以在该平台上开发商业应用,使用平台上的资源,从而解决了资源网站的信息孤岛问题。文中介绍了采用Tuscany+Spring+DAO开发模式,由于Spring具有IOC和AOP的特性,所以采用Spring来装配组件和控制权限,Tuscany擅长系统的集成,通过Tuscany把组件发布成服务,实现了松耦合的Open API的开发,同时客户端SDK的引入,在降低耦合度的同时减少了第三方开发人员的开发难度。松耦合Open API的实现,具有层次清晰、维护方便的特点,降低了以后对平台系统升级、改造的影响。
By using Open API platform provided by resources website, the third party developers don't require huge hardware and technology investment, they can develop commercial applications to achieve the use of the resources of the platform, so as to solve the problems of resources website information island. It introduces it is using Tuscany+Spring+DAO development modem to achieve Open API, Spring has the IOC and AOP's features, so using Spring to assemble components and control permissions. The Tuscany specializes in systems integration, so through the Tuscany the components are published as services, and this model realizes the loosely coupled Open API development. Client SDK is introduced on the client side, it not only decreases the degree of coupling of the system, but also reduces the difficulty of development of third-party developers. The loosely coupled Open API realization with clear layer, easy maintenance, reduces the impact of upgrade and renovation of the platform system in the future.
出处
《计算机技术与发展》
2013年第4期15-19,共5页
Computer Technology and Development
基金
陕西省科技厅"13115科技创新项目"(2009fwpt-06)