Hi!
I need to set up a rest server serving JSON and I want to do it with seaside, since I heard about it in the pharo's mailing list :). I found in squeaksource/MetacelloRepository a ConfigurationOfSeasideRest, and the following link: http://code.google.com/p/seaside/wiki/SeasideRest. But I didn't manage to get it installed in my 1.3 image... I also googled and looked in the seaside doc, but I didn't find a way to do it :(. Does anybody have a link or point me to some documentation? Or give me some instructions of how to do it, hehe :P. Thanks! Guille _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
On Oct 20, 2011, at 9:59 AM, Guillermo Polito wrote: I need to set up a rest server serving JSON and I want to do it with seaside be prepared to feel some friction then. REST isn't seaside's strongest trait _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
Am 20.10.2011 um 15:07 schrieb Sebastian Sastre: Why not? Seaside-REST is great! Norbert _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
Ouch, yes, that was a quick pull of a trigger. Indeed, Seaside is lot more than just callbacks and continuations these days and Seaside-REST is quite a nice package with a lot of flexibility to build excellent APIs. -Boris From: [hidden email] [mailto:[hidden email]] On Behalf Of Norbert Hartl Am 20.10.2011 um 15:07 schrieb Sebastian Sastre: On Oct 20, 2011, at 9:59 AM, Guillermo Polito wrote:
be prepared to feel some friction then. REST isn't seaside's strongest trait Why not? Seaside-REST is great! Norbert _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
In reply to this post by Guillermo Polito
Hi Guillermo,
Not sure about the state of ConfigurationOfSeasideRest, we just recently fixed ConfigurationOfSeaside. Dale might know if this works. To get started you might want to download a ready made image, they all contain Seaside-REST. http://jenkins.lukas-renggli.ch/job/Seaside%203.0/lastSuccessfulBuild/artifact/seaside3-oneclick.zip Lukas On 20 October 2011 13:59, Guillermo Polito <[hidden email]> wrote: > Hi! > > I need to set up a rest server serving JSON and I want to do it with > seaside, since I heard about it in the pharo's mailing list :). > > I found in squeaksource/MetacelloRepository a ConfigurationOfSeasideRest, > and the following link: http://code.google.com/p/seaside/wiki/SeasideRest. > But I didn't manage to get it installed in my 1.3 image... I also googled > and looked in the seaside doc, but I didn't find a way to do it :(. > > Does anybody have a link or point me to some documentation? Or give me some > instructions of how to do it, hehe :P. > > Thanks! > Guille > > _______________________________________________ > seaside mailing list > [hidden email] > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > > -- Lukas Renggli www.lukas-renggli.ch _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
In reply to this post by NorbertHartl
2011/10/20 Norbert Hartl <[hidden email]>:
> > Am 20.10.2011 um 15:07 schrieb Sebastian Sastre: > > On Oct 20, 2011, at 9:59 AM, Guillermo Polito wrote: > > I need to set up a rest server serving JSON and I want to do it with seaside > > be prepared to feel some friction then. > REST isn't seaside's strongest trait > > Why not? Seaside-REST is great! There is also a JsonCanvas in the addons repository if you want a canvas API for rendering JSON. And of course there's Magritte-JSON for JSON data binding. Cheers Philippe _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
In reply to this post by Guillermo Polito
Guillermo,
To add to what others have said ... If you are doing JSON and REST then you will want both Seaside-REST and Seaside-JSON ... there are configurations for both I'm using both REST and JSON for tODE and the JSON canvas is very nice ... you can look at the tODE-Amber package in tODE if you want to see how I'm using them both... I think that if you load Seaside 3.0.6.2 into Pharo 1.3, then load the other configs you'll be successful. It looks like ConfigurationOfSeasideREST will load Seaside 3.0.6 which doesn't load into Pharo 1.3 anymore. I should change that configuration to use #stable instead ... Dale ----- Original Message ----- | From: "Guillermo Polito" <[hidden email]> | To: [hidden email], "Pharo Development" <[hidden email]> | Sent: Thursday, October 20, 2011 4:59:50 AM | Subject: [Seaside] Re: Welcome to the "seaside" mailing list | | | Hi! | | I need to set up a rest server serving JSON and I want to do it with | seaside, since I heard about it in the pharo's mailing list :). | | I found in squeaksource/MetacelloRepository a | ConfigurationOfSeasideRest, and the following link: | http://code.google.com/p/seaside/wiki/SeasideRest . But I didn't | manage to get it installed in my 1.3 image... I also googled and | looked in the seaside doc, but I didn't find a way to do it :(. | | Does anybody have a link or point me to some documentation? Or give | me some instructions of how to do it, hehe :P. | | Thanks! | Guille | | _______________________________________________ | seaside mailing list | [hidden email] | http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside | _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
Hmm, when loading SeasideRest in pharo 1.3 it did not fail, but I didn't got the WAAdmin class, so I was not able to publish no service at all :).
Using the one click seaside image should probably work (I didn't test it yet), but I wanted to know if I am able to load it without loading the entire seaside (as it was said in the pharo mailing list). BTW, sorry for not changing the email subject. I got a newby attack, as usual :). Thanks everyone! Guille On Thu, Oct 20, 2011 at 4:12 PM, Dale Henrichs <[hidden email]> wrote: Guillermo, _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
SeasideREST is dependent upon the just what is required for SeasideREST to function, so that it can be used in an application where you don't want the whole Seaside project loaded.
You need to load the other things that your require, like the adaptor you want to use, etc. You can load up the full seaside config before or after loading SeasideREST. Dale ----- Original Message ----- | From: "Guillermo Polito" <[hidden email]> | To: "Seaside - general discussion" <[hidden email]> | Cc: "Pharo Development" <[hidden email]> | Sent: Saturday, October 22, 2011 3:57:43 PM | Subject: Re: [Seaside] Re: Welcome to the "seaside" mailing list | | | Hmm, when loading SeasideRest in pharo 1.3 it did not fail, but I | didn't got the WAAdmin class, so I was not able to publish no | service at all :). | | Using the one click seaside image should probably work (I didn't test | it yet), but I wanted to know if I am able to load it without | loading the entire seaside (as it was said in the pharo mailing | list). | | BTW, sorry for not changing the email subject. I got a newby attack, | as usual :). | | Thanks everyone! | Guille | | | On Thu, Oct 20, 2011 at 4:12 PM, Dale Henrichs < [hidden email] | > wrote: | | | Guillermo, | | To add to what others have said ... | | If you are doing JSON and REST then you will want both Seaside-REST | and Seaside-JSON ... there are configurations for both I'm using | both REST and JSON for tODE and the JSON canvas is very nice ... you | can look at the tODE-Amber package in tODE if you want to see how | I'm using them both... | | I think that if you load Seaside 3.0.6.2 into Pharo 1.3, then load | the other configs you'll be successful. It looks like | ConfigurationOfSeasideREST will load Seaside 3.0.6 which doesn't | load into Pharo 1.3 anymore. I should change that configuration to | use #stable instead ... | | Dale | | | ----- Original Message ----- | | From: "Guillermo Polito" < [hidden email] > | | To: [hidden email] , "Pharo Development" < | | [hidden email] > | | Sent: Thursday, October 20, 2011 4:59:50 AM | | Subject: [Seaside] Re: Welcome to the "seaside" mailing list | | | | | | Hi! | | | | I need to set up a rest server serving JSON and I want to do it | | with | | seaside, since I heard about it in the pharo's mailing list :). | | | | I found in squeaksource/MetacelloRepository a | | ConfigurationOfSeasideRest, and the following link: | | http://code.google.com/p/seaside/wiki/SeasideRest . But I didn't | | | manage to get it installed in my 1.3 image... I also googled and | | looked in the seaside doc, but I didn't find a way to do it :(. | | | | Does anybody have a link or point me to some documentation? Or give | | me some instructions of how to do it, hehe :P. | | | | Thanks! | | Guille | | | | | | | _______________________________________________ | | seaside mailing list | | [hidden email] | | http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside | | | _______________________________________________ | seaside mailing list | [hidden email] | http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside | | | _______________________________________________ | seaside mailing list | [hidden email] | http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside | _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
Free forum by Nabble | Edit this page |