Backbone is a client-side JavaScript solution offering models, views and collections (of models) that help you manage your data and views on the client-side. Backbone, by default, can populate its client-side models with data from a server using REST APIs.
You can build your server-side models however you want, but (by default) they need to be accessed through a simple REST API like this using the model functions, sync(), fetch() and save():
- create → POST /collection
- read → GET /collection[/id]
- update → PUT /collection/id
- delete → DELETE /collection/id
More information can be found here:
http://documentcloud.github.com/backbone/#Sync
Here's an overview of how to create a REST API with code igniter:
http://net.tutsplus.com/tutorials/php/working-with-restful-services-in-codeigniter-2/
Here an overview of how to create a REST API with symfony:
http://di-side.com/di-side/services/web-solutions/rest-webservice-symfony/