lamando / rop Goto Github PK
View Code? Open in Web Editor NEWThis project forked from itstamen/rop
rapid open platform
Home Page: https://[email protected]/itstamen/rop.git
This project forked from itstamen/rop
rapid open platform
Home Page: https://[email protected]/itstamen/rop.git
Introduction ROP is the Rapid Open Platform ,thus like the TOP(Taobao Open Platform:http://api.taobao.com). The rest url of ROP is thus like the following : 1)http://yourhost?method=rop.user.add&v=1.0¶m1=value1¶m=value2... 2)http://yourhost?method=rop.user.update&v=1.0¶m1=value1¶m=value2... ROP can router the request to the dest handler's api.You can use the @ServiceMethod("rop.user.add") annotation to mark the api method in the handler. Handler must be a add a @ServiceMethodBean annotation ,ServiceMethodBean has already annotated a @Service(Spring),So the Service Class would be a Spring Service Bean automaticly. This is a right handler rest service api method: import com.rop.annotation.ServiceMethod; import com.rop.annotation.ServiceMethodBean; @ServiceMethodBean//<--1. must mark the annotation,let it be a Service Bean public class SampleRestService { @ServiceMethod("rop.sample.method1")//<--2.Let it be a Service Method. public Object method1(SampleRopRequest1 request1) { SampleRopResponse1 response = new SampleRopResponse1(); response.setCreateTime("20120101010101"); response.setUserId("1"); return response; } } The parameter's list of the api method must extends the RopRequest,and the Return parameter can be any Object. The Rop can marshaller the response to the xml or json format output,you can control the output format by "format" parameter. Author and participants 1)Stamen XiaMen http://stamen.iteye.com/ 2)Wangxiancai GuangZhou http://wangxiancai.iteye.com/ Good Luck! 2014! stame by 2014-07-16 Xiamen China
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.