Quick Left

This is a blog

GIFs, tech and stuff.

Backbone Without AJAX Part II

Last week I blogged in part I about how to build single page apps with no AJAX by using dnode, a remote method invokation library for the browser. This allows you to directly invoke server functions from your client side JavaScript without setting up any HTTP routes. This week we want to look more closely about how to overwrite Backbone.sync to make this work smoothly. But first you need to make sure that you connect to dnode successfully and get the db object from the backend exposed correctly off your root namespace object.

Read More...

Backbone Without AJAX - Part 1

If you are like us here at QuickLeft, you have been writing a lot more single page JavaScript apps recently using frameworks like Backbone. Backbone is actually the only Model-View-Controller JS framework we have used much so far and in Backbone you send and receive data from your server by default using Rails style REST-ful AJAX calls.

Read More...

Tags