There are different operations that you want to perform on some data. The functionalities that you want to perform will depend on the user input or actions. Now, the implementation looks like normal function calls based on some conditions. Things […]
You will always learn something new, whenever you work with Grails. It doesn’t fail to surprise you everytime. Last week’s client visit made me sit up and notice few more useful methods in GORM. failOnError:true.An useful property when applied while […]
Ever since dynamic languages like Groovy started making so much noise accompanied with JavaScript, the pressure has been on Java language to revamp itself. C# has been doing that pretty smartly over the years. C# started off as a pale […]
In one of the earlier posts we created a simple query using Groovy DSL. Let’s implement another example as shown below using the DSL capabilities of Groovy. Let’s create User.groovy with the code shown below. //User.groovy Calculator.compute { addition 2,3 […]
In the earlier post, we discussed WebWorkers in HTML 5 that can be used to execute JavaScript code in the background. Let’s discuss the use of a WebWorker in this post. You can create an instance of Worker class by […]