[Mapbender-dev] JSON RPC

Christoph Baudson christoph.baudson at wheregroup.com
Thu Nov 6 10:41:19 EST 2008


although Mapbender is wanting to move towards a RESTful architecture, I 
fear it will not happen until a version 3.0.

In the meantime, I propose to use JSON RPC 
(http://en.wikipedia.org/wiki/JSON-RPC) as the standard protocol to use 
for internal client server interactions. It's very close to what we are 
doing now.

Using a standardised exchange format will have the following advantages
* less error prone
* faster to implement AJAX code
* define standard error messages (example: session times out; then a 
user clicks a button, an AJAX request is triggered; the server side 
replies that the session is expired with a well defined error code; 
client responds to the error code and displays a standard message. You 
don't want to do this manually for each AJAX call)

I'm open to any other suggestions. I think using a wrapper is 
inevitable. Please send your opinions and suggestions until Monday, Nov 10.



Die Geo-IT Konferenz der WhereGroup
vom 9.-10. Dezember 2008 in Bonn
Web: www.where2b-conference.com

W h e r e G r o u p GmbH & Co. KG

Siemensstraße 8
53121 Bonn

Christoph Baudson

Fon: +49 (0)228 / 90 90 38 - 15
Fax: +49 (0)228 / 90 90 38 - 11
christoph.baudson at wheregroup.com
Amtsgericht Bonn, HRA 6788

WhereGroup Verwaltungs GmbH
vertreten durch:
Olaf Knopp, Peter Stamm

More information about the Mapbender_dev mailing list