Questions tagged [grails]
Grails is an open source web application framework which uses the Groovy programming language (which is in turn based on the Java platform).
22 questions
0 votes
1 answer
2k views
remote interaction with WPF C# desktop application
I have created a standalone application with WPF and I need to use some of its functions via web. In few words, I would like that an user can access a web page and have the chance to insert some data ...
0 votes
1 answer
78 views
How to store the current version of an instance? Store reference to specific instance?
I'm working on a project with has different checklists (questions and answers) associated with an entity (Protocol). There is a business requirement to have these questions be altered in the future ...
2 votes
4 answers
912 views
What's the alternative to DRY code when it requires too many parameters?
What is the best strategy for maintaining easy to follow code when keeping things DRY means you have to pass a lot of parameters to shared functions? In my specific case, I have a grails based app, ...
31 votes
2 answers
24k views
When to use def in Groovy?
I have been developing in Groovy for a little while now and I'm wondering how often I should be using the dynamic casting def? A co-worker of mine believes we should use it always as it helps Groovy ...
6 votes
2 answers
2k views
How do I set up a micro-services architecture that can take advantage of a common, centralized security service?
I've obviously heard a lot about the Micro-Services Architecture and think it makes a lot of sense (especially with the success stories of Netflix). I'd like to implement a small Grails application ...
0 votes
1 answer
116 views
Checking equality of a request parameter
I have a codes table that stores name value pairs and a group name. So for this example let me demonstrate with two rows, each row would represent one value in the same drop down. Group Name = '...
1 vote
1 answer
2k views
Best practice for comments above methods in a grails application?
I'm writing a grails application and am not sure what the best practice is with regard to comments outside of method blocks. I've done a bit of research and there seems to be conflicting views on how ...
0 votes
1 answer
533 views
REST & Grails- A solution in search of a problem?
Over the past week, I've been struggling to adapt a Grails application to use the REST architecture. Problem is, I've had nothing but trouble throughout. For this application, the choice between ...