Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to implement MVC in jquery [closed]

Any references how to implement mvc in jquery.

thanks

like image 827
kobe Avatar asked Nov 06 '10 07:11

kobe


2 Answers

There are already a few MVC frameworks out there that are designed to work well with jQuery, maybe they're worth a look to you. Some suggestions:

http://www.javascriptmvc.com/

http://documentcloud.github.com/backbone/

[edit] sorry to sound a tiny bit repetitive of the first answer - I guess SO didn't pop its usual "someone answered this while you weren't looking!" warning.

like image 70
Ken Franqueiro Avatar answered Oct 04 '22 03:10

Ken Franqueiro


you could try backbone: https://backbonejs.org/

Backbone.js gives structure to web applications by providing models with 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 API over a RESTful JSON interface.

like image 20
generalhenry Avatar answered Oct 04 '22 03:10

generalhenry