Need advice about which tool to choose?Ask the StackShare community!
Backbone.js vs Grails: What are the differences?
Backbone.js: Give your JS App some Backbone with Models, Views, Collections, and Events. Backbone supplies structure to JavaScript-heavy applications by providing models key-value binding and custom events, collections with a rich API of enumerable functions, views with declarative event handling, and connects it all to your existing application over a RESTful JSON interface; Grails: An Open Source, full stack, web application framework for the JVM. Grails is a framework used to build web applications with the Groovy programming language. The core framework is very extensible and there are numerous plugins available that provide easy integration of add-on features.
Backbone.js belongs to "Javascript MVC Frameworks" category of the tech stack, while Grails can be primarily classified under "Frameworks (Full Stack)".
"Javascript structure" is the top reason why over 136 developers like Backbone.js, while over 44 developers mention "Groovy" as the leading cause for choosing Grails.
Backbone.js and Grails are both open source tools. It seems that Backbone.js with 27.5K GitHub stars and 5.7K forks on GitHub has more adoption than Grails with 2.48K GitHub stars and 945 GitHub forks.
Uber Technologies, Pinterest, and reddit are some of the popular companies that use Backbone.js, whereas Grails is used by LinkedIn, PedidosYa, and MercadoLibre. Backbone.js has a broader approval, being mentioned in 1066 company stacks & 218 developers stacks; compared to Grails, which is listed in 47 company stacks and 22 developer stacks.
Pros of Backbone.js
- Javascript structure135
- Models101
- Simple98
- Restful76
- Easy api59
- Flexible46
- Open source45
- Fast to pick up44
- Events34
- JSON25
- OOP8
- Lightweight2
- Collections1
- Easy customizable1
Pros of Grails
- Groovy56
- Jvm40
- Rapid development38
- Gorm37
- Web framework30
- Open source25
- Plugins21
- Extensible17
- Easy17
- Dynamic14
- Clean architecture (Dependency Injection)6
- Gradle6
- Clear what everything does, lots of options5
- RAD4
- Agile4
- Great documentation4
- Android3
- Spring3
- Easy setup2
- Java web apps with steroid1
Sign up to add or upvote prosMake informed product decisions
Cons of Backbone.js
- Requires underscore.js1
Cons of Grails
- Frequent breaking changes3
- Undocumented features2