Guillaume Laforge wrote:
> So... well.. as it's getting quite further from Gaelyk, perhaps just
> keep here the specific Gaelyk bits, to avoid boring those who don't
> care about this new framework you're inventing here.
>
I'm not trying to invent a new framework. What I want to do is develop
some components that are reusable in Gaelyk, Grails, and plain-old
Spring MVC applications.
My focus for now is GAE/Gaelyk, but I'd like the components to be able
to be used in those other environments. I don't want to write code that
is completely tied to GAE. I'd like to be able to run on other JVM
environments whether they be "cloud-based" or more traditional
Tomcat/Jetty/AppServer/Servlet environments.
A key goal, of course, is for the components to initialize quickly when
a new JVM is started.
So the idea is a lightweight configuration (or profile) of Spring MVC.
(An alternative to using SpringMVC might be to use the Servlet 3.0
stuff. At first glance, it looks a lot like Spring MVC, but I haven't
used it yet and it's not supported on GAE yet, either)
To tie this back to Gaelyk, here are some points of integration I'm
potentially interested in:
1) A Gaelyk plugin for installing Spring MVC into a Gaelyk environment
2) Easy inclusion of the Gaelyk jar in Spring MVC and/or Grails projects
3) Easy access to Gaelyk helpers in Spring MVC controllers and/or views
4) Ability to use Groovy templates (with Gaelyk) in Spring MVC views
5) Ability to use pre-compiled Groovy templates (with Gaelyk) in Spring
MVC views
Does this make sense?
As a separate aside: I'd also potentially be interested in using GSP
pages and taglibs in Spring MVC and/or Gaelyk, but last I heard they
weren't decoupled from Grails. I also wonder if there would be any
performance issues on load-requests. Obviously it would be best if they
could be pre-compiled.
>> I also thought it might be interesting to create a Gaelyk plugin for
>> SpringMVC. I think that would be fairly straightforward. I'd also love to
>> get something going where the dependencies are pulled out of Maven repos
>> with Ivy or some such tool. Has anyone done that with Gaelyk?
>>
>
> See my email on Maven integration.
>
I saw that message. I was looking for something that lets me pull jars
from Maven repos without actually using Maven (something like Ivy or Grape)
It looks like what he's doing is using Maven to manage Gaelyk projects -
which might be a good approach for me, actually. I went cold turkey on
Maven a few years back, but it might be time to give Maven another look.
There are so may build solutions to choose from these days:
1) Plain old Ant
2) Ant with Ivy for pulling Jars
3) Ant with Maven Ant tasks for pulling Jars
4) Gant
5) Gradle
6) Gaelyk (Antbuilder)
7) Grails (moving to Gradle?)
8) Maven 2
9) Maven 3 (Now in beta)
I've been leaning towards #1 and #2, but haven't mastered Ivy yet.
Guillaume it looks like you're using #6 for Gaelylk and Gaelyk plugins
and Scott is using #8. Too many choices -- argh.
-- Sean
> [...]