This is good news!

Until this is available, I would like to suggest trying out Prudence for
JavaScript. It's not intended as a Restlet edition, but instead a RESTful
platform, which happens to be fueled by the "real" Restlet (JSE edition) for
Java, via the Rhino JavaScript engine. It thus will always be based on the
JVM, and not other JavaScript engines. As exciting as those are, Prudence is
committed to the JVM. Other than this major difference in intent with
Jerome's spec, Prudence already supports many of the features on the RFE,
including a very powerful caching backend that can plug into memcached,
Hazelcast and relational databases.

http://threecrickets.com/prudence/

Prudence is also meant as a pure Restlet container for "regular" Java
Restlet applications, for those who would rather not use Tomcat or J2EE
containers. It allows easy deploy-by-zip similarly to using WAR files. I
will posting more about this use case soon, because I feel there's a real
need for this among Restlet developers who are not necessarily interested in
JavaScript or other dynamic languages.

I've been successfully developing and deploying applications in-house with
Prudence for a year now (with a version that was too rough for me to make it
public without embarrassment). JavaScript is my personal favorite Prudence
flavor! (Well, I love Clojure a lot, too, but find JavaScript more
immediately useful for my work. Other available flavors: PHP, Python, Ruby
and Groovy, all fully supported.)

In the JavaScript context, I'm working on creating a natural Rhino-based API
for MongoDB, which already makes heavy use of JavaScript internally.

http://code.google.com/p/mongodb-rhino/

Not a lot of code there, but works great. The combination of Prudence,
JavaScript, MongoDB and Ext-JS is especially delicious. It's been a piece of
cake to connect Ext-JS grids to MongoDB documents via Prudence REST
resources. Yum!

The Prudence 1.0 release candidate will be available in the coming weeks --
the main challenge right now is finishing up the extensive documentation.
The API and feature-set are otherwise already locked. Hopefully the 1.0
release will match Restlet 2.0's schedule.

It's a different kind of beast than what a JavaScript edition of Restlet
would be, but could be a useful playground for those of you who want to try
out some ideas.

-Tal

(Tim, thank you for your work on Java Concurrency in Practice. It's been a
valuable handbook in working on Scripturian, Prudence's underlying execution
engine.)

On Thu, Jul 8, 2010 at 4:47 PM, Tim Peierls <t...@peierls.net> wrote:

> This is great news! Thanks, Jerome.
>
> --tim
>
>
> On Thu, Jul 8, 2010 at 9:30 AM, Jerome Louvel 
> <jerome.lou...@noelios.com>wrote:
>
>>  Hi all,
>>
>>
>>
>> Following a recent customer project experience involving GXT + GWT +
>> Restlet/GWT + Restlet/JEE and discussions about the interest of scripting
>> languages as opposed to a statically type language with Jean-Paul Figer [1],
>> I reconsidered an idea initially suggested by Yuri de Wit [2] to add a pure
>> JavaScript edition of Restlet.
>>
>>
>>
>> Due to the emergence of HTML 5 on all sorts of browser platforms (mobile),
>> the improvement of JavaScript engines such as Chrome V8 and the overall
>> convergence with REST and Restlet/Java on the server-side, it seems like a
>> good time to push for a more RESTful JavaScript client API, reusing the
>> Restlet API semantics in pure JavaScript. Eclipse 3.6 also improved its
>> support for JavaScript developments
>>
>>
>>
>> Of course, we already have the GWT edition of Restlet which provides a
>> nice solution, but there seems to be room for a more hypermedia
>> driven/document oriented solution, combining AJAX and UI libraries such as
>> jQuery, Ext JS, YUI to name a few popular ones. I’ve collected my thoughts
>> on this wiki page and look forward to reading your ideas and experiences.
>>
>>
>>
>> “JavaScript edition”
>>
>> http://wiki.restlet.org/developers/172-restlet/368-restlet.html
>>
>>
>>
>> Best regards,
>> Jerome Louvel
>>
>>
>>
>>
>>
>> [1] REST paper in French: http://www.figer.com/publications/REST.htm
>>
>> [2] “Add JavaScript client”:
>> http://restlet.tigris.org/issues/show_bug.cgi?id=129
>>
>> [3] AJAX Tools Framework: http://www.eclipse.org/atf/
>>
>>
>>
>> --
>> Restlet ~ Founder and Technical Lead ~ http://www.restlet.org
>> Noelios Technologies ~ http://www.noelios.com
>>
>>
>>
>
>

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2631149

Reply via email to