Custom Crud

View: New views
5 Messages — Rating Filter:   Alert me  

Custom Crud

by Engin Tekin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hi friends,

We like to make our custom crud using GWT, well I feel it will be a
little hacky yet useful.

'<subsite id="Student"  file="crud_GWT:model.Student"
urlprefix="student"/>'

for example after the previous line, the crud system we make should be
able to

respond few different submissions, such as

  1. getStudent
  2. addStudent
  3. updateStudent
  4. listStudent
  5.removeStudent

Is it possible to do? It should be but how can we do?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "rife-users" group.
To post to this group, send email to rife-users@...
To unsubscribe from this group, send email to rife-users-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/rife-users?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Custom Crud

by Geert Bevin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


I have never done any real work with GWT and know very little about  
it. I don't think it can be easily integrated with a restful backend  
though. So, using RIFE/Crud wouldn't be appropriate. Anyone else have  
any insights on GWT in this regard?

--
Geert Bevin
Terracotta - http://www.terracotta.org
Uwyn "Use what you need" - http://uwyn.com
RIFE Java application framework - http://rifers.org
Music and words - http://gbevin.com

On 29 Dec 2007, at 01:00, Engin Tekin <engin.tekin@...> wrote:

>
> Hi friends,
>
> We like to make our custom crud using GWT, well I feel it will be a
> little hacky yet useful.
>
> '<subsite id="Student"  file="crud_GWT:model.Student"
> urlprefix="student"/>'
>
> for example after the previous line, the crud system we make should be
> able to
>
> respond few different submissions, such as
>
>  1. getStudent
>  2. addStudent
>  3. updateStudent
>  4. listStudent
>  5.removeStudent
>
> Is it possible to do? It should be but how can we do?
> >

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "rife-users" group.
To post to this group, send email to rife-users@...
To unsubscribe from this group, send email to rife-users-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/rife-users?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Custom Crud

by Engin Tekin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hi Geert,

I didn't mean rife crud but GWTCrud :)

'<subsite id="Student"  file="crud_GWT:model.Student"
urlprefix="student"/>'

My real question was actually not about combining RIFE with Gwt but
having written some line like we do for normal crud would it be
possible
to respond some regular submissions such as
    getStudent, addStudent...


Well I thought doing something like I said above would be nicer.
Anyway my easy solution to this is write what is needed for student
and
when you need it for teacher then replaceAll(student,teacher)


thanks

On Jan 4, 1:36 am, Geert Bevin <gbe...@...> wrote:

> I have never done any real work with GWT and know very little about
> it. I don't think it can be easily integrated with a restful backend
> though. So, using RIFE/Crud wouldn't be appropriate. Anyone else have
> any insights on GWT in this regard?
>
> --
> Geert Bevin
> Terracotta -http://www.terracotta.org
> Uwyn "Use what you need" -http://uwyn.com
> RIFE Java application framework -http://rifers.org
> Music and words -http://gbevin.com
>
> On 29 Dec 2007, at 01:00, Engin Tekin <engin.te...@...> wrote:
>
>
>
> > Hi friends,
>
> > We like to make our custom crud using GWT, well I feel it will be a
> > little hacky yet useful.
>
> > '<subsite id="Student"  file="crud_GWT:model.Student"
> > urlprefix="student"/>'
>
> > for example after the previous line, the crud system we make should be
> > able to
>
> > respond few different submissions, such as
>
> >  1. getStudent
> >  2. addStudent
> >  3. updateStudent
> >  4. listStudent
> >  5.removeStudent
>
> > Is it possible to do? It should be but how can we do?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "rife-users" group.
To post to this group, send email to rife-users@...
To unsubscribe from this group, send email to rife-users-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/rife-users?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Custom Crud

by Geert Bevin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hi,

I'm sorry, I don't fully follow what you're getting at.

From what you just described it sounds like you want to solely use GWT
and do something like what we do for crud in RIFE. Is that correct? If
this is the case, you should ask on the GWT list instead.

Best regards,

Geert

On 1/9/08, Engin Tekin <engin.tekin@...> wrote:

>
> Hi Geert,
>
> I didn't mean rife crud but GWTCrud :)
>
> '<subsite id="Student"  file="crud_GWT:model.Student"
> urlprefix="student"/>'
>
> My real question was actually not about combining RIFE with Gwt but
> having written some line like we do for normal crud would it be
> possible
> to respond some regular submissions such as
>     getStudent, addStudent...
>
>
> Well I thought doing something like I said above would be nicer.
> Anyway my easy solution to this is write what is needed for student
> and
> when you need it for teacher then replaceAll(student,teacher)
>
>
> thanks
>
> On Jan 4, 1:36 am, Geert Bevin <gbe...@...> wrote:
> > I have never done any real work with GWT and know very little about
> > it. I don't think it can be easily integrated with a restful backend
> > though. So, using RIFE/Crud wouldn't be appropriate. Anyone else have
> > any insights on GWT in this regard?
> >
> > --
> > Geert Bevin
> > Terracotta -http://www.terracotta.org
> > Uwyn "Use what you need" -http://uwyn.com
> > RIFE Java application framework -http://rifers.org
> > Music and words -http://gbevin.com
> >
> > On 29 Dec 2007, at 01:00, Engin Tekin <engin.te...@...> wrote:
> >
> >
> >
> > > Hi friends,
> >
> > > We like to make our custom crud using GWT, well I feel it will be a
> > > little hacky yet useful.
> >
> > > '<subsite id="Student"  file="crud_GWT:model.Student"
> > > urlprefix="student"/>'
> >
> > > for example after the previous line, the crud system we make should be
> > > able to
> >
> > > respond few different submissions, such as
> >
> > >  1. getStudent
> > >  2. addStudent
> > >  3. updateStudent
> > >  4. listStudent
> > >  5.removeStudent
> >
> > > Is it possible to do? It should be but how can we do?
> >
>


--
Geert Bevin
Terracotta - http://www.terracotta.org
Uwyn "Use what you need" - http://uwyn.com
RIFE Java application framework - http://rifers.org
Music and words - http://gbevin.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "rife-users" group.
To post to this group, send email to rife-users@...
To unsubscribe from this group, send email to rife-users-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/rife-users?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Custom Crud

by Engin Tekin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hi Geert,

Yes, that is correct.

But I have done the gwt part, I will try again to explain

I have beans such as Student, Teacher, Payment...

and for all those beans I'm doing the get,set,update,remove...
operations

to be specific for example I have  the oprations for student:
   getStudent
   addStudent
   updateStudent
   listStudent
  removeStudent

I was asking if I can do something like the usual crud that is
responsible just for responding the above submissions
but not actually generating the interface.

If I'm not clear still it's not important, I'm doing copy and paste
for other beans

thanks a lot



On Jan 10, 9:33 am, "Geert Bevin" <gbe...@...> wrote:

> Hi,
>
> I'm sorry, I don't fully follow what you're getting at.
>
> From what you just described it sounds like you want to solely use GWT
> and do something like what we do for crud in RIFE. Is that correct? If
> this is the case, you should ask on the GWT list instead.
>
> Best regards,
>
> Geert
>
> On 1/9/08, Engin Tekin <engin.te...@...> wrote:
>
>
>
>
>
> > Hi Geert,
>
> > I didn't mean rife crud but GWTCrud :)
>
> > '<subsite id="Student"  file="crud_GWT:model.Student"
> > urlprefix="student"/>'
>
> > My real question was actually not about combining RIFE with Gwt but
> > having written some line like we do for normal crud would it be
> > possible
> > to respond some regular submissions such as
> >     getStudent, addStudent...
>
> > Well I thought doing something like I said above would be nicer.
> > Anyway my easy solution to this is write what is needed for student
> > and
> > when you need it for teacher then replaceAll(student,teacher)
>
> > thanks
>
> > On Jan 4, 1:36 am, Geert Bevin <gbe...@...> wrote:
> > > I have never done any real work with GWT and know very little about
> > > it. I don't think it can be easily integrated with a restful backend
> > > though. So, using RIFE/Crud wouldn't be appropriate. Anyone else have
> > > any insights on GWT in this regard?
>
> > > --
> > > Geert Bevin
> > > Terracotta -http://www.terracotta.org
> > > Uwyn "Use what you need" -http://uwyn.com
> > > RIFE Java application framework -http://rifers.org
> > > Music and words -http://gbevin.com
>
> > > On 29 Dec 2007, at 01:00, Engin Tekin <engin.te...@...> wrote:
>
> > > > Hi friends,
>
> > > > We like to make our custom crud using GWT, well I feel it will be a
> > > > little hacky yet useful.
>
> > > > '<subsite id="Student"  file="crud_GWT:model.Student"
> > > > urlprefix="student"/>'
>
> > > > for example after the previous line, the crud system we make should be
> > > > able to
>
> > > > respond few different submissions, such as
>
> > > >  1. getStudent
> > > >  2. addStudent
> > > >  3. updateStudent
> > > >  4. listStudent
> > > >  5.removeStudent
>
> > > > Is it possible to do? It should be but how can we do?
>
> --
> Geert Bevin
> Terracotta -http://www.terracotta.org
> Uwyn "Use what you need" -http://uwyn.com
> RIFE Java application framework -http://rifers.org
> Music and words -http://gbevin.com
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "rife-users" group.
To post to this group, send email to rife-users@...
To unsubscribe from this group, send email to rife-users-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/rife-users?hl=en
-~----------~----~----~----~------~----~------~--~---

 
 
 
Google
rifers.org web