[prev in list] [next in list] [prev in thread] [next in thread] 

List:       groovy-user
Subject:    Re: [groovy-user] Ratpack and Graffiti
From:       Merlyn Albery-Speyer <curious.attempt.bunny () gmail ! com>
Date:       2011-08-21 21:11:34
Message-ID: CA+_XO1Y5QV0P6==AockF6UZ+uXzjpfvKo_bytHZoL4_Z5VkTbg () mail ! gmail ! com
[Download RAW message or body]

FWIW a recent pull request was merged into Graffiti for PUT and DELETE.

On Sun, Aug 21, 2011 at 2:09 PM, Al Baker <ajb732@gmail.com> wrote:
> When I was looking to combine Groovy SPARQL with one of these
> microframeworks for little linked data test servers, I evaluated and
> prototyped with both Graffiti and Ratpack.
>
> In Graffiti, the app developer owns the main, and pulls in Graffiti as
> necessary.  So you could have Graffiti within a larger script or set of
> scripts.
>
> In Ratpack, the app developer writes DSL scripts that are then loaded into a
> Groovy script engine and executed, injecting in the DSL components of
> Ratpack as script bindings.  Ratpack itself compiles into an executable JAR
> for this purpose.
>
> Ratpack has a more comprehensive set of support for HTTP methods (e.g. PUT,
> DELETE, etc), while Graffiti is more light weight.
>
> Ratpack builds immediately with Gradle and works well in STS, while Graffiti
> took a while to get to compile correctly.  Neither appear particuarily
> active, though there were the Graffiti screencasts recently, and there are
> more forks of Ratpack on Github last I checked.  All in all, I wanted the
> more 'DSL' feel for the linked data project, so I went with Ratpack over
> Graffiti.
>
> FWIW, here is the "Linked Ratpack", extending the Ratpack DSL with Groovy
> SPARQL to create a micro DSL for linked data:
>
> http://linkedjava.blogspot.com/2011/07/linked-data-microframework-linked.html
>
> Regards,
> Al Baker
>
>
> On Thu, Aug 18, 2011 at 6:31 AM, Peter Ledbrook <peter@cacoethes.co.uk>
> wrote:
>>
>> Hi,
>>
>> Both Graffiti and Ratpack seem to do very similiar things. Does it
>> really make sense to have two projects for this? Or are there
>> significant differences between them?
>>
>> Cheers,
>>
>> Peter
>>
>> --
>> Peter Ledbrook
>> Grails Advocate
>> SpringSource - A Division of VMware
>>
>> ---------------------------------------------------------------------
>> To unsubscribe from this list, please visit:
>>
>>    http://xircles.codehaus.org/manage_email
>>
>>
>
>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic