I'd like to access some RESTful web services from Squeak (I'm running the Seaside-2.8-530 image http://www.seaside.st/resources/distributions/Seaside-2.8-final.zip). What would people's advice be as to the best starting point - should I roll something from scratch with the classes in Network-Protocols or is there a more obvious way. I investigated CurlPlugin, but got scared (!) by the dependencies and thoughts about cross-platform incompatibilities (I'm running on OSX and Ubuntu).
Thanks Steve
Steve Lloyd ha scritto:
I'd like to access some RESTful web services from Squeak (I'm running the Seaside-2.8-530 image http://www.seaside.st/resources/distributions/Seaside-2.8-final.zip). What would people's advice be as to the best starting point - should I roll something from scratch with the classes in Network-Protocols or is there a more obvious way. I investigated CurlPlugin, but got scared (!) by the dependencies and thoughts about cross-platform incompatibilities (I'm running on OSX and Ubuntu).
Hi Steve,
did you try the version of CurlPlugin available on my blog ( http://blog.corriga.net/ ) ?
Giovanni
Hi!
I'd like to access some RESTful web services from Squeak (I'm running the Seaside-2.8-530 image http://www.seaside.st/resources/distributions/Seaside-2.8-final.zip). What would people's advice be as to the best starting point - should I roll something from scratch with the classes in Network-Protocols or is there a more obvious way. I investigated CurlPlugin, but got scared (!) by the dependencies and thoughts about cross-platform incompatibilities (I'm running on OSX and Ubuntu).
I recently made a "surf robot" using Steve Waring's HttpClient package:
http://map.squeak.org/packagebyname/httpclient
I may have ended up making some small fixes to it - should probably get that fed back upstream - but IIRC it was nothing big.
When you say "RESTful web service" I conclude it more or less "plain HTTP" we are talking about. Otherwise you of course have the SoapOpera packages for doing SOAP stuff.
regards, Göran
Göran Krampe ha scritto:
Hi!
I'd like to access some RESTful web services from Squeak (I'm running the Seaside-2.8-530 image http://www.seaside.st/resources/distributions/Seaside-2.8-final.zip). What would people's advice be as to the best starting point - should I roll something from scratch with the classes in Network-Protocols or is there a more obvious way. I investigated CurlPlugin, but got scared (!) by the dependencies and thoughts about cross-platform incompatibilities (I'm running on OSX and Ubuntu).
I recently made a "surf robot" using Steve Waring's HttpClient package:
http://map.squeak.org/packagebyname/httpclient
I may have ended up making some small fixes to it - should probably get that fed back upstream - but IIRC it was nothing big.
Hi Goran,
does Steve's HttpClient package support custom headers, and put and delete methods?
Giovanni
Hi Giovanni, Göran
I did get to know of CurlPlugin via your blog http://blogs.corriga.netGiovanni, and the code for the RESTful web services book looks like a really useful resource (thanks!). And then I downloaded it from squeaksource, but as I say initially was slightly worried about getting FFI, VMMaker and the library compiled and put in the right places on both my deployment platforms. Maybe I should just go for it! Which is why I was looking for something which runs 'natively' on Squeak.
I'll certainly take a look at the HttpClient package Göran, and yes its just "plain HTTP" I'm after, but requiring put & delete as Giovanni suggests.
Thanks for some food for thought.
Steve
On Sun, Apr 13, 2008 at 11:25 PM, Giovanni Corriga giovanni@corriga.net wrote:
Göran Krampe ha scritto:
Hi!
I'd like to access some RESTful web services from Squeak (I'm running
the Seaside-2.8-530 image http://www.seaside.st/resources/distributions/Seaside-2.8-final.zip). What would people's advice be as to the best starting point - should I roll something from scratch with the classes in Network-Protocols or is there a more obvious way. I investigated CurlPlugin, but got scared (!) by the dependencies and thoughts about cross-platform incompatibilities (I'm running on OSX and Ubuntu).
I recently made a "surf robot" using Steve Waring's HttpClient package:
http://map.squeak.org/packagebyname/httpclient
I may have ended up making some small fixes to it - should probably get that fed back upstream - but IIRC it was nothing big.
Hi Goran,
does Steve's HttpClient package support custom headers, and put and delete methods?
Giovanni
Beginners mailing list Beginners@lists.squeakfoundation.org http://lists.squeakfoundation.org/mailman/listinfo/beginners
beginners@lists.squeakfoundation.org