Web services

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Web services

stevel-2
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

_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners
Reply | Threaded
Open this post in threaded view
|

Re: Web services

Giovanni Corriga
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
_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners
Reply | Threaded
Open this post in threaded view
|

Re: Web services

Göran Krampe
In reply to this post by stevel-2
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

_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners
Reply | Threaded
Open this post in threaded view
|

Re: Web services

Giovanni Corriga
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
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners
Reply | Threaded
Open this post in threaded view
|

Re: Web services

stevel-2
Hi Giovanni, Göran

I did get to know of CurlPlugin via your blog http://blogs.corriga.net Giovanni, 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 <[hidden email]> 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
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners


_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners