title: simple PHP code sample to serve backbone.js
body: <p>Experience level: newbie.</p>
  
  <p>The <a href="http://documentcloud.github.com/backbone/examples/todos/index.html" rel="noreferrer">backbone.js Todos demo</a> uses localStorage. This question is about how to use PHP to serve the page instead, assuming that a MySQL DB has been set up.</p>
  
  <p>I checked out PHP frameworks such as CodeIgniter but found them difficult to follow and possibly overkill for my learning purposes.</p>
  
  <p>I understand the concept that a REST API needs to be set up. I am really looking for simple code samples. Thanks in advance.</p>
  
  <p>Update: Is there a full backbone.js tutorial somewhere that includes a full working example of how to wire up to server side PHP?</p>