On 11/11/07 5:07 PM, "Tom Schneider" <[EMAIL PROTECTED]> wrote:
> Mark, > I was reading Getting Started With Grails this weekend and the more I > look at Grails, the more I see your Groovy Works effort fitting into a > Grails mini-porting effort to Struts 2. Much of what you describe is > already in Grails and I think the last thing we need is yet another > groovy web framework. :) I will agree with you, and I've decided I'm done reinventing wheels. So, I'm game. I'm very pressed for time, but I'm definitely interested in this. I think a bridge from Java based Struts 2 development into Groovy is really exciting. We have realized some serious productivity gains using Groovy with Struts 2 in the simple way we've been using it in house for some time now. > Just to expand upon this, I think there are 3 main pieces we would need > to make this work: > 1. A new plugin based on Don's rest plugin that maps incoming request to > grails controllers. I'll have to check out Don's plugin and get a look at it. I would assume that this plugin would still route the request through the usual Xwork infrastructure and interceptors, right? What about also mapping to S2 controllers written in Java? I would want that to be available too. It would provide a migration path to users who want to use Grails type stuff, and keep their current investment in S2. I'd love to be able to drop my existing S2 app down into Grails and just keep growing it. > 2. A grails controller engine that can take the grails request, provide > the necessary context and execute a grails controller. I'm not sure I follow you here, but I'm sure I'll get it eventually. > 3. A GSPResult that can create the context for the GSP page and execute > the GSP page. > > I did some work on this over the weekend and it didn't take too much > effort to get a GSPResult going. (Although the templated executed, it > didn't display any data because I didn't have a ModelAndView for the > template to run against) I think someone has done a GSP result. It might make some sense to look at that. Take care, Mark --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]