<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On 15.02.2011, at 14:21, Olivier Auverlot wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">
<div bgcolor="#ffffff" text="#000000">
Thanks for the responses The community is very friendly :) It's cool
for a newbie as me.<br>
<br>
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. <br>
<br>
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.<br>
<br>
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 :<br>
<br>
WAMime TypeStubHandlerTest>>#testMultipleConentTypeRouting<br>
WAMime TypeStubHandlerTest>>#testSimpleAcceptRouting<br>
WAMime TypeStubHandlerTest>>#testSimpleConentTypeRouting<br>
WAPragmaBasedRestfullHandlerTest>>#testCreateRoutes<br>
WAPragmaBaseRouteBuilderTest>>#testPlatformMethods<br>
<br>
Must I add another components ?<br>
<br></div></blockquote>You need to load Seaside-Pharo-REST-Core as well.</div><div><br><blockquote type="cite"><div bgcolor="#ffffff" text="#000000">
<span class="Apple-style-span" style="border-collapse: separate; font-family: Times; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; font-size: medium; "><span class="Apple-style-span" style="font-family: arial,sans-serif; font-size: 16px;"><span class="hps" title="Cliquer ici pour voir d'autres traductions">Another
little question : seaside</span><span class="atn" title="Cliquer ici pour voir d'autres traductions">-</span><span title="Cliquer ici pour voir d'autres traductions" class="">REST</span><span class="Apple-converted-space"> </span><span class="hps" title="Cliquer ici pour voir d'autres traductions">allows</span><span class="Apple-converted-space"> </span><span class="hps" title="Cliquer ici pour voir d'autres traductions">it</span><span class="Apple-converted-space"> </span><span class="hps" title="Cliquer ici pour voir d'autres traductions">to access</span><span class="Apple-converted-space"> to </span><span class="hps" title="Cliquer ici pour voir d'autres traductions">the</span><span class="Apple-converted-space"> </span><span class="hps" title="Cliquer ici pour voir d'autres traductions">DELETE</span><span class="Apple-converted-space"> </span><span class="hps" title="Cliquer ici pour voir d'autres traductions">and</span><span class="Apple-converted-space"> </span><span class="hps" title="Cliquer ici pour voir d'autres traductions">PUT</span><span class="Apple-converted-space"> commands of </span><span class="hps" title="Cliquer ici pour voir d'autres traductions">HTTP</span><span title="Cliquer ici pour voir d'autres traductions" class=""> ?</span></span></span>
<br>
<br></div></blockquote>yes.</div><div><br></div><div>Norbert<br><blockquote type="cite"><div bgcolor="#ffffff" text="#000000"><br>
<a class="moz-txt-link-abbreviated" href="http://www.auverlot.fr/">www.auverlot.fr</a><br>
<blockquote cite="mid:4D5572C8.8010904@vmware.com" type="cite">Olivier,
<br>
<br>
Take a look at the Seaside-REST code in
<a class="moz-txt-link-freetext" href="http://www.squeaksource.com/Seaside30Addons">http://www.squeaksource.com/Seaside30Addons</a>.
<br>
<br>
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.
<br>
<br>
Dale
<br>
<br>
On 02/11/2011 05:36 AM, Olivier Auverlot wrote:
<br>
<blockquote type="cite">For a new project, i need to make web
services based into the Restful
<br>
architecture.My program must read, write, modify and delete
informations
<br>
in a LDAP directory. I can do that with Perl... but i want to
try to use
<br>
Pharo and Seaside :)
<br>
<br>
Someone has experience for this type of application ? How to
manage the
<br>
HTTP commands (PUT, GET, DELETE and POST) ? Thank you for your
help.
<br>
<br>
Best regards
<br>
Olivier
<br>
<br>
<a class="moz-txt-link-abbreviated" href="http://www.auverlot.fr/">www.auverlot.fr</a>
<br>
_______________________________________________
<br>
seaside mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a>
<br>
<a class="moz-txt-link-freetext" href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a>
<br>
</blockquote>
<br>
</blockquote>
<br>
</div>
_______________________________________________<br>seaside mailing list<br><a href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a><br>http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside<br></blockquote></div><br></body></html>