Grail stack with scala and scaml

I would like to start a new project and I am considering grails. My previous experience with grails started with small projects to learn it, quickly moving through the main functions without a hitch, and then got stuck at some point related to trying to use a plugin that fails.

What I really like is GORM, and to a lesser extent, automatic bean wiring (mostly @Service, @Controller, @Autowired, without annotations). I think gsp is fine, but for me, HAML is the world above it.

On the other hand, I worked with scala, and I really like the scala language (much more than I like groovy for example) and scaml. I am wondering if someone successfully mixed these technologies (grails, scala, haml / scaml) easily .

I noticed, for example, that there is a grails scala plugin and a grails haml plugin, but then it seems that I (maybe) drift through the territory of buggy plugins that I really don’t like.

While we are on it, please feel free to tell me which plugins you found are absolutely safe . A suitable plugin is what I would like to use, if possible, as well as spring-security / openid.

Also, manually coding all of this is an option for me (spring + scala + scalate + hibernate). I basically did this before (usually a jdbc template instead of sleep mode). I just hope that the graph can give a code that I would not write for free better. I do this project in my free time, and I would like to avoid the overhead to make the project fun.

+4
source share
1 answer

Recently, I made a blog entry. Minus a few hiccups, I found using Scala in a Grails project very simple. We have a constant “discussion” here in the office of static typed or dynamic languages, and I wanted to prove that you can have a [def] cake topped with a [Cake] cake. You can read all the studies that I have done here http://www.christianoestreich.com/2011/04/mixing-grails-groovy-scala-java/

Thanks to the innovations that appear around the corner in Grails 1.4 http://www.grails.org/1.4.0.M1+Release+Notes , it's even easier to sell. Support for testing support is improving, faster database and integrated support for LiquiBase, etc.

I find that templates and creating custom tags are extremely useful in GSP. I'm not sure, in particular, that you consider excellent in HAML? Perhaps you could share WHY what it is superior to?

List of plugins: resources (bundled with 1.4 now), Spring Cache, test data collection, coverage and Spring Security. This is pretty much what I use in all of my projects. We use Searchable and Taggable at startup, which we are working on, and they really like it.

+3
source

All Articles