Tagged Questions
5
votes
2answers
138 views
Web API URI Schema Design
I'm in the middle of designing an API for a very basic flashcard application for learning purposes and I'm wondering if you all think there can be any improvements.
In the app, a Folder contains ...
2
votes
0answers
83 views
design practice for business layer when supporting API versioning
Is there any design pattern or practice recommended for business layer when dealing with multiple API version.
For example, I have something like this.
http://site.com/blogs/v1/?count=10
which ...
4
votes
2answers
364 views
Implementing the command pattern in a RESTful API
I'm in the process of designing an HTTP API, hopefully making it as RESTful as possible.
There are some actions which functionality spreads over a few resources, and sometime needs to be undone.
I ...
6
votes
2answers
137 views
event listener pattern in api - what should adding the same listener twice do?
In designing an API that provides an event listening interface, it seems there are two conflicting ways of treating calls to add/remove listeners:
Multiple calls to addListener will only add a ...
4
votes
1answer
129 views
Is there a standard for machine-readable descriptions of RESTful services?
I've interacted with a few RESTful APIs that provided excellent documentation for humans and descriptive URIs, but none of them seem to return machine-readable descriptions of themselves.
It's not ...
3
votes
1answer
160 views
When designing an enterprise API, what level is appropriate for separating libraries?
Assume we are developing a REST system for an enterprise company to expose the companies resources in a Java based application. Ultimately you have one web application, and domain libraries. My ...
1
vote
1answer
125 views
Request / Reply , how should one initiate the actual sending of the transmission?
I'm working on Language level interfaces to web API's. These libraries are of course built around existing HTTP Request/Reply interfaces. I see myself as having a few options
submit method on the ...
2
votes
1answer
113 views
Working with a restful Api; what resources would you like available to start with?
When working with a web based restful api what resources would you like to work with from the beginning when developing a system against it?
Web based documentation?
Working example? Simple? ...
4
votes
2answers
426 views
What are the best patterns/designs for stateful API development?
I am about to implement a API for my TCP/IP server written in Java. Right now I have a temporary method that takes a String, executes a command based on the String and returns a String basically like ...
11
votes
4answers
1k views
What do you think of Android API design?
When I got acquainted with Android platform my first impression was WOW, that's must be a super awesome thing. But when I started developing for it I felt that its learning curve could be simpler. ...