Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What Javascript framework integrates well with Grails?

Most of the applications that we produce for the front end uses Grails and we love it to death but we are exploring Javascript frameworks such as backbone.js, ember.js for templating, reusability. We are comfortable and familiar with json and would like to know what are some experiences and recommendations for a Javascript framework that plays nice with Grails.

Would like to understand the evaluation criteria, cost of implementation and learning curve involved.

like image 771
Dennis Y. Avatar asked Feb 17 '12 08:02

Dennis Y.


People also ask

Is Grails a Java framework?

Grails is an open source web application framework that uses the Apache Groovy programming language (which is in turn based on the Java platform).

Which JS framework is best in 2022?

React JS React is the most popular web framework in 2022, with over 40% of professional developers saying they use it extensively. It is an open-source JavaScript library developed by Facebook and used to build highly responsive user interfaces.

Is Grails based on spring?

14.1 The Underpinnings of Grails. Grails is actually a Spring MVC application in disguise. Spring MVC is the Spring framework's built-in MVC web application framework.


1 Answers

backbone is fully flexible framework, and can be used with grails without any pain (and I've used it, with Grails). I compatible with most js libs (jquery, zepto, etc), with most client side templating languages, etc.

ember as I see is more high level, but have some constraints for your app architecture, for example it works best when you're using handlebars. So you need to learn a new templating language, at least. And I'm not sure that there is server-side renderers for handlebars (for case when you want to render page on server side as well)

like image 177
Igor Artamonov Avatar answered Sep 29 '22 00:09

Igor Artamonov