[Seaside] Seaside and Rest
Norbert Hartl
norbert at hartl.name
Tue Feb 15 18:46:55 UTC 2011
On 15.02.2011, at 14:21, Olivier Auverlot wrote:
> Thanks for the responses The community is very friendly :) It's cool for a newbie as me.
>
> As I must use HTTPS for the connection to the REST services, I plan to use apache for the frontal webserver and Seaside/seaside-rest for the request processing.
>
> I work now on a prototype for the test of the solution. Today, i downloaded Pharo 1.1.1 and installed Seaside. I selected WAComancheAdaptor on the port 8080/tcp. That runs perfectly.
>
> In Montichello, I added a repository for seaside30addons and selected seaside-REST-core-pmm and seaside-test-Core. In the "test runner", I have 5 errors :
>
> WAMime TypeStubHandlerTest>>#testMultipleConentTypeRouting
> WAMime TypeStubHandlerTest>>#testSimpleAcceptRouting
> WAMime TypeStubHandlerTest>>#testSimpleConentTypeRouting
> WAPragmaBasedRestfullHandlerTest>>#testCreateRoutes
> WAPragmaBaseRouteBuilderTest>>#testPlatformMethods
>
> Must I add another components ?
>
You need to load Seaside-Pharo-REST-Core as well.
> Another little question : seaside-REST allows it to access to the DELETE and PUT commands of HTTP ?
>
yes.
Norbert
>
> www.auverlot.fr
>> Olivier,
>>
>> Take a look at the Seaside-REST code in http://www.squeaksource.com/Seaside30Addons.
>>
>> With Seaside-REST you can switch cleanly back and forth between stateful and RESTful requests and of course use Seaside facilities for constructing your RESTful responses.
>>
>> Dale
>>
>> On 02/11/2011 05:36 AM, Olivier Auverlot wrote:
>>> For a new project, i need to make web services based into the Restful
>>> architecture.My program must read, write, modify and delete informations
>>> in a LDAP directory. I can do that with Perl... but i want to try to use
>>> Pharo and Seaside :)
>>>
>>> Someone has experience for this type of application ? How to manage the
>>> HTTP commands (PUT, GET, DELETE and POST) ? Thank you for your help.
>>>
>>> Best regards
>>> Olivier
>>>
>>> www.auverlot.fr
>>> _______________________________________________
>>> seaside mailing list
>>> seaside at lists.squeakfoundation.org
>>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>
>
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20110215/a425909b/attachment.htm
More information about the seaside
mailing list