Very simple example with backbone.js and PHP without frameworks. Just for your understanding.