Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

AJAX will be the lowest layer. Think of it as the database calls in an ORM like activerecord. You have an object, you do some validations or perform some logic and when you want to persist it on the server, you make an ajax call. In backbone you will call save on the model and it will do a POST or PUT request based on whether this is a new or already existing model.


Would this be a good MVC framework for Javascript: http://javascriptmvc.com/ ?


Yes. It is a popular one. You should also look at http://knockoutjs.com/ and http://maccman.github.com/spine/




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: