Are there some samples for the REST plugin?

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

Are there some samples for the REST plugin?

Daniel.Sun

Hi all,

I'm new for REST plugin, so I am eager to have some samples to learn the
usage.
I have installed the REST plugin successfully.
And I have a sample as follows:
but the "DELETE" and "PUT" method does not work properly.
As I expected, when I click 'DELETE' button,  a page with 'delete' should be
showed, but the result was not :(

Could you tell me how to start the journey of REST?
Any help is appreciated.

Thanks,
Daniel.Sun
===========================================
<g:form action="inst" method="GET" >
        <input type="submit" value="GET"></input>
</g:form>
<g:form action="inst" method="POST" >
        <input type="submit" value="POST"></input>
</g:form>
<g:form action="inst" method="DELETE" >
        <input type="submit" value="DELETE"></input>
</g:form>
<g:form action="inst" method="PUT" >
        <input type="submit" value="PUT"></input>
</g:form>
--------------------------------------------------------------------------------
class UserController {
    def inst = {
    System.out.println(request.method)
   
                switch (request.method) {
                        case "GET": retrieve()
                                        break
                        case "POST": create()
                                        break
                        case "DELETE": delete()
                                        break
                        case "PUT": update()
                                        break
                }
        }

        def retrieve  = {
                render("retrieve")
        }
       
        def create = {
                render("create")
    }

    def delete = {
    render("delete")
    }
   
    def update = {
    render("update")
    }
       
        def test = {}
}
--
View this message in context: http://www.nabble.com/Are-there-some-samples-for-the-REST-plugin--tf3610546.html#a10089600
Sent from the grails - user mailing list archive at Nabble.com.


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

    http://xircles.codehaus.org/manage_email

Reply | Threaded
Open this post in threaded view
|

Re: Are there some samples for the REST plugin?

Chanwit Kaewkasi
Hi,

The REST plugin doesn't help your controller at the moment. It's just
for rendering XML chunks.
Anyway, you code seems fine to me, and it should work. I'll be looking
at it this weekend (tomorrow).

Cheers,


On 20/04/07, Daniel.Sun <[hidden email]> wrote:

>
> Hi all,
>
> I'm new for REST plugin, so I am eager to have some samples to learn the
> usage.
> I have installed the REST plugin successfully.
> And I have a sample as follows:
> but the "DELETE" and "PUT" method does not work properly.
> As I expected, when I click 'DELETE' button,  a page with 'delete' should be
> showed, but the result was not :(
>
> Could you tell me how to start the journey of REST?
> Any help is appreciated.
>
> Thanks,
> Daniel.Sun
> ===========================================
> <g:form action="inst" method="GET" >
>         <input type="submit" value="GET"></input>
> </g:form>
> <g:form action="inst" method="POST" >
>         <input type="submit" value="POST"></input>
> </g:form>
> <g:form action="inst" method="DELETE" >
>         <input type="submit" value="DELETE"></input>
> </g:form>
> <g:form action="inst" method="PUT" >
>         <input type="submit" value="PUT"></input>
> </g:form>
> --------------------------------------------------------------------------------
> class UserController {
>     def inst = {
>         System.out.println(request.method)
>
>                 switch (request.method) {
>                         case "GET": retrieve()
>                                         break
>                         case "POST": create()
>                                         break
>                         case "DELETE": delete()
>                                         break
>                         case "PUT": update()
>                                         break
>                 }
>         }
>
>         def retrieve  = {
>                 render("retrieve")
>         }
>
>         def create = {
>                 render("create")
>     }
>
>     def delete = {
>         render("delete")
>     }
>
>     def update = {
>         render("update")
>     }
>
>         def test = {}
> }
> --
> View this message in context: http://www.nabble.com/Are-there-some-samples-for-the-REST-plugin--tf3610546.html#a10089600
> Sent from the grails - user mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list please visit:
>
>     http://xircles.codehaus.org/manage_email
>
>


--
Chanwit Kaewkasi
PhD Student,
Centre for Novel Computing
School of Computer Science
The University of Manchester
Oxford Road
Manchester
M13 9PL, UK

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

    http://xircles.codehaus.org/manage_email

Reply | Threaded
Open this post in threaded view
|

Re: Are there some samples for the REST plugin?

Sven Haiges
Hi Chanwit,

I was also recently looking at the REST plugin and would appreciate a bit more information as to which "REST Standard" :-) it should work fine with. This is a bit irconic, as REST is of course *not*  a standard, but anyhow everybody right now wants to have REST interfaces. I found some articles about rest that recommend to use the PUT GET POST DELETE methods and map those to CRUD actions. But if you take a look at some real-life rest interfaces, like those of Flickr, you will see they only use Post (image submission) and GET requests. The information which method to call is then simply supplied via another parameter. The same with the response format. Some use JSON, some use a kind of XML that should be close to your plugin I guess. If there are any references as to which the plugin adheres to, I would appreciate that.

Cheers\
Sven

On 4/20/07, Chanwit Kaewkasi <[hidden email]> wrote:
Hi,

The REST plugin doesn't help your controller at the moment. It's just
for rendering XML chunks.
Anyway, you code seems fine to me, and it should work. I'll be looking
at it this weekend (tomorrow).

Cheers,


On 20/04/07, Daniel.Sun <[hidden email]> wrote:

>
> Hi all,
>
> I'm new for REST plugin, so I am eager to have some samples to learn the
> usage.
> I have installed the REST plugin successfully.
> And I have a sample as follows:
> but the "DELETE" and "PUT" method does not work properly.
> As I expected, when I click 'DELETE' button,  a page with 'delete' should be
> showed, but the result was not :(
>
> Could you tell me how to start the journey of REST?
> Any help is appreciated.
>
> Thanks,
> Daniel.Sun
> ===========================================
> <g:form action="inst" method="GET" >
>         <input type="submit" value="GET"></input>
> </g:form>
> <g:form action="inst" method="POST" >
>         <input type="submit" value="POST"></input>
> </g:form>
> <g:form action="inst" method="DELETE" >
>         <input type="submit" value="DELETE"></input>
> </g:form>
> <g:form action="inst" method="PUT" >
>         <input type="submit" value="PUT"></input>
> </g:form>
> --------------------------------------------------------------------------------
> class UserController {
>     def inst = {
>         System.out.println(request.method)
>
>                 switch (request.method) {
>                         case "GET": retrieve()
>                                         break
>                         case "POST": create()
>                                         break
>                         case "DELETE": delete()
>                                         break
>                         case "PUT": update()
>                                         break
>                 }
>         }
>
>         def retrieve  = {
>                 render("retrieve")
>         }
>
>         def create = {
>                 render("create")
>     }
>
>     def delete = {
>         render("delete")
>     }
>
>     def update = {
>         render("update")
>     }
>
>         def test = {}
> }
> --

> View this message in context: http://www.nabble.com/Are-there-some-samples-for-the-REST-plugin--tf3610546.html#a10089600
> Sent from the grails - user mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list please visit:
>
>     http://xircles.codehaus.org/manage_email
>
>


--
Chanwit Kaewkasi
PhD Student,
Centre for Novel Computing
School of Computer Science
The University of Manchester
Oxford Road
Manchester
M13 9PL, UK

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

     http://xircles.codehaus.org/manage_email




--
Sven Haiges
[hidden email]

Skype: hansamann
Personal Homepage, Wiki & Blog: http://www.svenhaiges.de

Subscribe to the Grails Podcast:
http://hansamann.podspot.de/rss
Reply | Threaded
Open this post in threaded view
|

Re: Are there some samples for the REST plugin?

Chanwit Kaewkasi
Hi Sven,

To be effective, REST would be use with the UrlMapping coming in 0.5.
That's why I've stalled development around it. Also at this moment,
JSON and XML rendering are re-implemented using the "as" keyword in
Sigi's plugin, and I've decided to join his development from now on.
So please stay tuned. I'll have a controller template for you to
generate something a bit standard.

Cheers,

Chanwit

On 20/04/07, Sven Haiges <[hidden email]> wrote:

> Hi Chanwit,
>
> I was also recently looking at the REST plugin and would appreciate a bit
> more information as to which "REST Standard" :-) it should work fine with.
> This is a bit irconic, as REST is of course *not*  a standard, but anyhow
> everybody right now wants to have REST interfaces. I found some articles
> about rest that recommend to use the PUT GET POST DELETE methods and map
> those to CRUD actions. But if you take a look at some real-life rest
> interfaces, like those of Flickr, you will see they only use Post (image
> submission) and GET requests. The information which method to call is then
> simply supplied via another parameter. The same with the response format.
> Some use JSON, some use a kind of XML that should be close to your plugin I
> guess. If there are any references as to which the plugin adheres to, I
> would appreciate that.
>
> Cheers\
> Sven
>
>
> On 4/20/07, Chanwit Kaewkasi <[hidden email]> wrote:
> > Hi,
> >
> > The REST plugin doesn't help your controller at the moment. It's just
> > for rendering XML chunks.
> > Anyway, you code seems fine to me, and it should work. I'll be looking
> > at it this weekend (tomorrow).
> >
> > Cheers,
> >
> >
> > On 20/04/07, Daniel.Sun <[hidden email]> wrote:
> > >
> > > Hi all,
> > >
> > > I'm new for REST plugin, so I am eager to have some samples to learn the
> > > usage.
> > > I have installed the REST plugin successfully.
> > > And I have a sample as follows:
> > > but the "DELETE" and "PUT" method does not work properly.
> > > As I expected, when I click 'DELETE' button,  a page with 'delete'
> should be
> > > showed, but the result was not :(
> > >
> > > Could you tell me how to start the journey of REST?
> > > Any help is appreciated.
> > >
> > > Thanks,
> > > Daniel.Sun
> > > ===========================================
> > > <g:form action="inst" method="GET" >
> > >         <input type="submit" value="GET"></input>
> > > </g:form>
> > > <g:form action="inst" method="POST" >
> > >         <input type="submit" value="POST"></input>
> > > </g:form>
> > > <g:form action="inst" method="DELETE" >
> > >         <input type="submit" value="DELETE"></input>
> > > </g:form>
> > > <g:form action="inst" method="PUT" >
> > >         <input type="submit" value="PUT"></input>
> > > </g:form>
> > >
> --------------------------------------------------------------------------------
> > > class UserController {
> > >     def inst = {
> > >         System.out.println(request.method)
> > >
> > >                 switch (request.method) {
> > >                         case "GET": retrieve()
> > >                                         break
> > >                         case "POST": create()
> > >                                         break
> > >                         case "DELETE": delete()
> > >                                         break
> > >                         case "PUT": update()
> > >                                         break
> > >                 }
> > >         }
> > >
> > >         def retrieve  = {
> > >                 render("retrieve")
> > >         }
> > >
> > >         def create = {
> > >                 render("create")
> > >     }
> > >
> > >     def delete = {
> > >         render("delete")
> > >     }
> > >
> > >     def update = {
> > >         render("update")
> > >     }
> > >
> > >         def test = {}
> > > }
> > > --
> > > View this message in context:
> http://www.nabble.com/Are-there-some-samples-for-the-REST-plugin--tf3610546.html#a10089600
> > > Sent from the grails - user mailing list archive at Nabble.com.
> > >
> > >
> > >
> ---------------------------------------------------------------------
> > > To unsubscribe from this list please visit:
> > >
> > >     http://xircles.codehaus.org/manage_email
> > >
> > >
> >
> >
> > --
> > Chanwit Kaewkasi
> > PhD Student,
> > Centre for Novel Computing
> > School of Computer Science
> > The University of Manchester
> > Oxford Road
> > Manchester
> > M13 9PL, UK
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe from this list please visit:
> >
> >      http://xircles.codehaus.org/manage_email
> >
> >
>
>
>
> --
> Sven Haiges
> [hidden email]
>
> Skype: hansamann
> Personal Homepage, Wiki & Blog: http://www.svenhaiges.de
>
> Subscribe to the Grails Podcast:
> http://hansamann.podspot.de/rss


--
Chanwit Kaewkasi
PhD Student,
Centre for Novel Computing
School of Computer Science
The University of Manchester
Oxford Road
Manchester
M13 9PL, UK

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

    http://xircles.codehaus.org/manage_email

Reply | Threaded
Open this post in threaded view
|

Re: Are there some samples for the REST plugin?

Daniel.Sun
In reply to this post by Chanwit Kaewkasi
Chanwit,

Html seems not to support PUT and DELETE method in form, I have tried for many times, but failed finally :(

Cheers,
Daniel.Sun

Chanwit Kaewkasi wrote
Hi,

The REST plugin doesn't help your controller at the moment. It's just
for rendering XML chunks.
Anyway, you code seems fine to me, and it should work. I'll be looking
at it this weekend (tomorrow).

Cheers,


On 20/04/07, Daniel.Sun <realbluesun@hotmail.com> wrote:
>
> Hi all,
>
> I'm new for REST plugin, so I am eager to have some samples to learn the
> usage.
> I have installed the REST plugin successfully.
> And I have a sample as follows:
> but the "DELETE" and "PUT" method does not work properly.
> As I expected, when I click 'DELETE' button,  a page with 'delete' should be
> showed, but the result was not :(
>
> Could you tell me how to start the journey of REST?
> Any help is appreciated.
>
> Thanks,
> Daniel.Sun
> ===========================================
> <g:form action="inst" method="GET" >
>         <input type="submit" value="GET"></input>
> </g:form>
> <g:form action="inst" method="POST" >
>         <input type="submit" value="POST"></input>
> </g:form>
> <g:form action="inst" method="DELETE" >
>         <input type="submit" value="DELETE"></input>
> </g:form>
> <g:form action="inst" method="PUT" >
>         <input type="submit" value="PUT"></input>
> </g:form>
> --------------------------------------------------------------------------------
> class UserController {
>     def inst = {
>         System.out.println(request.method)
>
>                 switch (request.method) {
>                         case "GET": retrieve()
>                                         break
>                         case "POST": create()
>                                         break
>                         case "DELETE": delete()
>                                         break
>                         case "PUT": update()
>                                         break
>                 }
>         }
>
>         def retrieve  = {
>                 render("retrieve")
>         }
>
>         def create = {
>                 render("create")
>     }
>
>     def delete = {
>         render("delete")
>     }
>
>     def update = {
>         render("update")
>     }
>
>         def test = {}
> }
> --
> View this message in context: http://www.nabble.com/Are-there-some-samples-for-the-REST-plugin--tf3610546.html#a10089600
> Sent from the grails - user mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list please visit:
>
>     http://xircles.codehaus.org/manage_email
>
>


--
Chanwit Kaewkasi
PhD Student,
Centre for Novel Computing
School of Computer Science
The University of Manchester
Oxford Road
Manchester
M13 9PL, UK

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

    http://xircles.codehaus.org/manage_email
Reply | Threaded
Open this post in threaded view
|

Re: Are there some samples for the REST plugin?

Scott Davis-2
Joe Gregario has a really nice series of RESTful articles on XML.com:  
<http://www.xml.com/pub/au/225> Granted, many of his code examples  
are in Python, but those triple-quotes should make you feel right at  
home. (wink)

Daniel -- you are correct that HTML forms only support GET and POST.  
In order to do a PUT or DELETE, you have to create an XHR object --  
those fellas support all of the HTTP verbs.

<http://www.w3schools.com/dom/dom_http.asp>
<http://developer.mozilla.org/en/docs/XMLHttpRequest>
<http://www.mnot.net/javascript/xmlhttprequest/>

HTH,
s

Scott Davis
[hidden email]



On Apr 21, 2007, at 12:28 AM, Daniel.Sun wrote:

>
> Chanwit,
>
> Html seems not to support PUT and DELETE method in form, I have  
> tried for
> many times, but failed finally :(
>
> Cheers,
> Daniel.Sun
>
>
> Chanwit Kaewkasi wrote:
>>
>> Hi,
>>
>> The REST plugin doesn't help your controller at the moment. It's just
>> for rendering XML chunks.
>> Anyway, you code seems fine to me, and it should work. I'll be  
>> looking
>> at it this weekend (tomorrow).
>>
>> Cheers,
>>
>>
>> On 20/04/07, Daniel.Sun <[hidden email]> wrote:
>>>
>>> Hi all,
>>>
>>> I'm new for REST plugin, so I am eager to have some samples to  
>>> learn the
>>> usage.
>>> I have installed the REST plugin successfully.
>>> And I have a sample as follows:
>>> but the "DELETE" and "PUT" method does not work properly.
>>> As I expected, when I click 'DELETE' button,  a page with  
>>> 'delete' should
>>> be
>>> showed, but the result was not :(
>>>
>>> Could you tell me how to start the journey of REST?
>>> Any help is appreciated.
>>>
>>> Thanks,
>>> Daniel.Sun
>>> ===========================================
>>> <g:form action="inst" method="GET" >
>>>         <input type="submit" value="GET"></input>
>>> </g:form>
>>> <g:form action="inst" method="POST" >
>>>         <input type="submit" value="POST"></input>
>>> </g:form>
>>> <g:form action="inst" method="DELETE" >
>>>         <input type="submit" value="DELETE"></input>
>>> </g:form>
>>> <g:form action="inst" method="PUT" >
>>>         <input type="submit" value="PUT"></input>
>>> </g:form>
>>> --------------------------------------------------------------------
>>> ------------
>>> class UserController {
>>>     def inst = {
>>>         System.out.println(request.method)
>>>
>>>                 switch (request.method) {
>>>                         case "GET": retrieve()
>>>                                         break
>>>                         case "POST": create()
>>>                                         break
>>>                         case "DELETE": delete()
>>>                                         break
>>>                         case "PUT": update()
>>>                                         break
>>>                 }
>>>         }
>>>
>>>         def retrieve  = {
>>>                 render("retrieve")
>>>         }
>>>
>>>         def create = {
>>>                 render("create")
>>>     }
>>>
>>>     def delete = {
>>>         render("delete")
>>>     }
>>>
>>>     def update = {
>>>         render("update")
>>>     }
>>>
>>>         def test = {}
>>> }
>>> --
>>> View this message in context:
>>> http://www.nabble.com/Are-there-some-samples-for-the-REST-plugin-- 
>>> tf3610546.html#a10089600
>>> Sent from the grails - user mailing list archive at Nabble.com.
>>>
>>>
>>> --------------------------------------------------------------------
>>> -
>>> To unsubscribe from this list please visit:
>>>
>>>     http://xircles.codehaus.org/manage_email
>>>
>>>
>>
>>
>> --
>> Chanwit Kaewkasi
>> PhD Student,
>> Centre for Novel Computing
>> School of Computer Science
>> The University of Manchester
>> Oxford Road
>> Manchester
>> M13 9PL, UK
>>
>> ---------------------------------------------------------------------
>> To unsubscribe from this list please visit:
>>
>>     http://xircles.codehaus.org/manage_email
>>
>>
>>
>
> --
> View this message in context: http://www.nabble.com/Are-there-some- 
> samples-for-the-REST-plugin--tf3610578.html#a10114265
> Sent from the grails - user mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> 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

Reply | Threaded
Open this post in threaded view
|

Re: Are there some samples for the REST plugin?

Daniel.Sun
Scott,

Thank you very much for offering so many wonderful articles to me.
I was confused about how to enable DELETE and PUT method in html.
Now I get the answer from you.
Thanks again, Scott :)

Cheers,
Daniel.Sun
Scott Davis wrote
Joe Gregario has a really nice series of RESTful articles on XML.com:  
<http://www.xml.com/pub/au/225> Granted, many of his code examples  
are in Python, but those triple-quotes should make you feel right at  
home. (wink)

Daniel -- you are correct that HTML forms only support GET and POST.  
In order to do a PUT or DELETE, you have to create an XHR object --  
those fellas support all of the HTTP verbs.

<http://www.w3schools.com/dom/dom_http.asp>
<http://developer.mozilla.org/en/docs/XMLHttpRequest>
<http://www.mnot.net/javascript/xmlhttprequest/>

HTH,
s

Scott Davis
scott@davisworld.org



On Apr 21, 2007, at 12:28 AM, Daniel.Sun wrote:

>
> Chanwit,
>
> Html seems not to support PUT and DELETE method in form, I have  
> tried for
> many times, but failed finally :(
>
> Cheers,
> Daniel.Sun
>
>
> Chanwit Kaewkasi wrote:
>>
>> Hi,
>>
>> The REST plugin doesn't help your controller at the moment. It's just
>> for rendering XML chunks.
>> Anyway, you code seems fine to me, and it should work. I'll be  
>> looking
>> at it this weekend (tomorrow).
>>
>> Cheers,
>>
>>
>> On 20/04/07, Daniel.Sun <realbluesun@hotmail.com> wrote:
>>>
>>> Hi all,
>>>
>>> I'm new for REST plugin, so I am eager to have some samples to  
>>> learn the
>>> usage.
>>> I have installed the REST plugin successfully.
>>> And I have a sample as follows:
>>> but the "DELETE" and "PUT" method does not work properly.
>>> As I expected, when I click 'DELETE' button,  a page with  
>>> 'delete' should
>>> be
>>> showed, but the result was not :(
>>>
>>> Could you tell me how to start the journey of REST?
>>> Any help is appreciated.
>>>
>>> Thanks,
>>> Daniel.Sun
>>> ===========================================
>>> <g:form action="inst" method="GET" >
>>>         <input type="submit" value="GET"></input>
>>> </g:form>
>>> <g:form action="inst" method="POST" >
>>>         <input type="submit" value="POST"></input>
>>> </g:form>
>>> <g:form action="inst" method="DELETE" >
>>>         <input type="submit" value="DELETE"></input>
>>> </g:form>
>>> <g:form action="inst" method="PUT" >
>>>         <input type="submit" value="PUT"></input>
>>> </g:form>
>>> --------------------------------------------------------------------
>>> ------------
>>> class UserController {
>>>     def inst = {
>>>         System.out.println(request.method)
>>>
>>>                 switch (request.method) {
>>>                         case "GET": retrieve()
>>>                                         break
>>>                         case "POST": create()
>>>                                         break
>>>                         case "DELETE": delete()
>>>                                         break
>>>                         case "PUT": update()
>>>                                         break
>>>                 }
>>>         }
>>>
>>>         def retrieve  = {
>>>                 render("retrieve")
>>>         }
>>>
>>>         def create = {
>>>                 render("create")
>>>     }
>>>
>>>     def delete = {
>>>         render("delete")
>>>     }
>>>
>>>     def update = {
>>>         render("update")
>>>     }
>>>
>>>         def test = {}
>>> }
>>> --
>>> View this message in context:
>>> http://www.nabble.com/Are-there-some-samples-for-the-REST-plugin-- 
>>> tf3610546.html#a10089600
>>> Sent from the grails - user mailing list archive at Nabble.com.
>>>
>>>
>>> --------------------------------------------------------------------
>>> -
>>> To unsubscribe from this list please visit:
>>>
>>>     http://xircles.codehaus.org/manage_email
>>>
>>>
>>
>>
>> --
>> Chanwit Kaewkasi
>> PhD Student,
>> Centre for Novel Computing
>> School of Computer Science
>> The University of Manchester
>> Oxford Road
>> Manchester
>> M13 9PL, UK
>>
>> ---------------------------------------------------------------------
>> To unsubscribe from this list please visit:
>>
>>     http://xircles.codehaus.org/manage_email
>>
>>
>>
>
> --
> View this message in context: http://www.nabble.com/Are-there-some- 
> samples-for-the-REST-plugin--tf3610578.html#a10114265
> Sent from the grails - user mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> 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
Reply | Threaded
Open this post in threaded view
|

Re: Are there some samples for the REST plugin?

Babelex
I need to implement a REST interface for a current project, There is
mention of waiting for Grails V0.5 for features to enable this. I
would like to use Grails as oposed to other frameworks. I don't need
any of the domain stuffs as all storage is already written in
Groovy/Java.

How do I go about it?

The application is a lot like a wiki whre you have a resource (page)

http://a.domian.com/context/my_space/my_page

I would like to handle gets in a normal fashion with a simple
conversion of template

Put/Post and deletes on the resource would need to be intercepted
appropriately  in  Grails enabling me to make the relevant (RUD)
service calls.

Because this isn't domain class oriented I cannot find documentation
on how to approach this inside grails.

Any ideas/pointers would be helpful



--
regards
Al
http://www.folknology.com/index.html
#OpenSource means free to innovate#

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

    http://xircles.codehaus.org/manage_email