I've been reading tons of tutorials, I really like this technology, but I am missing something.

Following this tutorial <http://www.youtube.com/watch?v=FZSjvWtUxYk> you get JSON data from this url, <http://backbonejs-beginner.herokuapp.com/users> then you set your model, and collection. 

I am not sure how to set this url on my own (for either local storage or database storage), I obviously need to set it to where I can GET the data or PUT/POST/DELETE data. I need to mention that I dont want to use PHP to send the data to the database, because this is a cordova app. Maybe setting data is beyond just using a URL, hopefully some one can make this clear, this should be easy points for most.

I am missing something easy here, because there is a reason they are not covering this topic extensively (maybe they are and I am overlooking it), but oh well ill ask anyways maybe someone can point this out :)

**Here is the ajaxPrefilter** *it kind of confuses me, I know it obviously prefilters our url to point to the data, but I am not sure how to apply an appropiate url for local storage/server side.*

```
$.ajaxPrefilter( function( options, originalOptions, jqXHR ) {
    options.url = 'http://backbonejs-beginner.herokuapp.com' + options.url;
}); 

```

**Edit:** Also I noticed that when I run a POST request, this url changes <http://backbonejs-beginner.herokuapp.com/users> and adds my data, this is from the RESTful services right, and what is so special about that url that it allows me to do that? In the meantime I am going to keep rewatching the backbone tutorial videos, to see what I am missing lol.

Also watching this <http://net.tutsplus.com/tutorials/javascript-ajax/understanding-backbone-js-and-the-server/> starting from the beginning he actually understands what I mean, but jeffery uses PHP, which maybe I can use with cordova (pointing to a script or something) but I would rather use javascript to send data to mysql and local storage.

**EDIT:** Okay I see heroku is a cloud based service <https://www.heroku.com/> so inside that url we were using a dummy type of service to store the data.. Okay so now how do I point the url to local storage?

Finally got it!