I've mentioned the ArcDeveloper project in the past, and called out the community to "just do it" if we really wanted an ArcGIS Server REST API.
Well, the good news is that it's now alive and kicking. At this point it's lean and mean - you can:
The requests look like this:
http://65.101.234.201/rest/rest.svc/TestService/Flyways/10?g=true
(go ahead and try it - it's live and will return GeoJSON)
Currently there is only one format - GeoJSON, and it's not a 100% implementation yet, but it's enough to get the geometries and attributes.
The project is designed around a plug-in model - so as the need arises, we can write different formatters (think ESRI 9.3 REST compatibility), and different data services (think SQL Server 2008).
Huge props go out to Glenn Goodrich, who wrote the vast majority of the existing code. He has posted an Intro to the project that talks about how to get the code and the requirements, as well as a second article about how the end point works. I don't want to speak for him, but it looks like he will be posting more about the code, so go ahead and subscribe now.
For those with a short attention span who want to see the code, here's the subversion repository:
http://svn2.assembla.com/svn/arcdeveloper/ArcDeveloper.REST/trunk/
Demo Site
I am using this code on an active project, and I'm hosting a test service @ work. The project comes with a demo page, that uses prototype with OpenLayers. You can see a live version here: http://65.101.234.201/rest/
The demo is super simple at this point, but we'll be adding more functionality as we have time.
Comments / Bugs / Issues / Ideas?
We have setup a Google Group for the project - pop on over and let us know what you think. http://groups.google.com/group/arcdeveloper-dev
I'm Dave and this is my blog. I'm usually writing about .NET Software Development, ArcGIS, or Agile Practices, but other stuff does creep in from time to time. I hope you find something of use, and feel free to contact me if you have any questions. You can also check out my profile on LinkedIn
dojo.DTSAgile.com is our technology preview / demo site. As I and my team cook up cool things we post them here.
ArcDeveloper.net is a site that hosts a set of open source projects related to ArcGIS. This includes Tile Cache for .NET (TC4N) and Feature Server for .NET (FS4N). Come over and check it out!
Assembla is a free service that provides Subversion source control, wikis and work Tracking. The ArcDeveloper project is run from here. It rocks. Check them out today.
Agilistas is a LinkedIn group focused on discussing and promoting Agile practices. Everyone is welcome to join in the conversation as we evolve the process of creating software to make it more enjoyable for all involved.