[mapguide-internals] RESTful Ramblings of a Restless Lunatic
Jason Birch
Jason.Birch at nanaimo.ca
Wed Oct 3 17:39:35 EDT 2007
Cool stuff Bob.
Few thoughts after a brief skim:
- Is there a reason why you're using unique URLs for insert/update
instead of using PUT for update and POST for insert?
- Also, for session creation, it should be enough to POST to /session ,
not /session/create ? Thinking there may be other things like this...
GET to /session returns EnumerateSessions, that kind of thing.
- I much prefer .xml .json .png etc for different representations.
- I also would like to see the default representation as HTML, with lots
of <a> links. :)
Jason
-----Original Message-----
From: mapguide-internals-bounces at lists.osgeo.org
[mailto:mapguide-internals-bounces at lists.osgeo.org] On Behalf Of Robert
Bray
Sent: Wednesday, October 03, 2007 12:55
To: MapGuide Internals Mail List
Subject: [mapguide-internals] RESTful Ramblings of a Restless Lunatic
All,
I left FOSS4G last week somewhat pumped after seeing the talk Haris gave
demonstrating his RESTful Web Service client. So I went out this weekend
purchased the O'Reilly RESTful Web Services book and read it mostly
from cover to cover. That of course left me pondering what a RESTful
interface to MapGuide should look like, so I spent a couple of hours
hacking the following (still incomplete) proposal together:
http://trac.osgeo.org/mapguide/wiki/RESTfulWebServices
I approached this somewhat differently than Haris did, at this point it
is up to you to decide whether that is bad or good. However I think my
approach is pretty clean while exposing all of the capabilities of
MapGuide in a RESTful manner.
Feel free to either discuss this here on the list or add your comments
to the Wiki page (or both).
Bob
_______________________________________________
mapguide-internals mailing list
mapguide-internals at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-internals
More information about the mapguide-internals
mailing list