Dreaming up Webservices with LC server

Peter W A Wood peterwawood at gmail.com
Thu Nov 21 13:53:32 CET 2013


Hi Malte

Andre Garcia has published a lightweight REST library with which you easily use to provide a REST service. It's called revspark ( http://andregarzia.com/pages/en/revspark/ ) and is modelled on Ruby's Sinatra.

Personally, I think that REST is the way to go so that you can avoid all the heavy, boilerplating required by SOAP (though I'm no expert_.

By the way, what is a web service other than a web site which returns XML or JSON (or CSV data) instead of HTML, CSS and JavaScript.

Regards

Peter
http://LiveCode1001.blogspot.com


On 21 Nov 2013, at 19:57, Malte Brill wrote:

> Hi all,
> 
> I am currently in a situation, where I need to implement a couple of Webservices (either SOAP or REST at my choice). Of course I would love to be able to do this with liveCode server. I need to OFFER webservice, instead of retrieving data from existing ones. So here is the question… Has anybody of you done this already? Is there some sort of library that could be used? When I am looking at this I see a lot of work coming up and makes me peeking jealously at JAVA, where a Webservice comes out of the box so to speak.
> 
> I envision something in LC that automagically generates a WSDL somehow, just the way one would expect and some sort of connector script that receives the data and passes it on to the commands and functions in question.
> 
> I would be very glad to receive any pointers.
> 
> All the best,
> 
> Malte
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode




More information about the use-livecode mailing list