Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Javascript Validation Framework for Backbone.js

Backbone.js comes with model validation events, and I'm looking to integrate it with a lite validation framework.

I just started looking at http://happyjs.com/

any other recommendations?

like image 407
Edward Chan Avatar asked May 31 '11 18:05

Edward Chan


People also ask

Is Backbone a JavaScript framework?

js is a JavaScript rich-client web app framework based on the model–view–controller design paradigm, intended to connect to an API over a RESTful JSON interface. Backbone is known for being lightweight, as its only hard dependency is on one JavaScript library, Underscore.

Is Backbone JS still used?

Backbone. Backbone has been around for a long time, but it's still under steady and regular development. It's a good choice if you want a flexible JavaScript framework with a simple model for representing data and getting it into views.

Does Backbone need jQuery?

You can use the Backbone. Model without jQuery, but Backbone. View will require either jQuery or Zepto, just like the docs state.

Is Backbone JS any good?

Backbone. js is an ideal choice for front-end and back-end development because it supports REST APIs that are used to keep the front-end and back-end in sync.


2 Answers

jQuery Validate is my favorite its well documented and used by many

like image 110
mcgrailm Avatar answered Sep 29 '22 17:09

mcgrailm


Try the Backbone.Validations plugin

like image 42
David Tuite Avatar answered Sep 29 '22 16:09

David Tuite