title: Where to code inorder to override backbone.sync
body: <p>I want to override backbone.sync i have already asked this but the problem is i don't quite get it. I need to know where to put the codes if i were to override the sync function.</p>
  <p>If i put it on the model like this</p>
  <pre><code>model = Backbone.Model.extend({ sync:&quot;&quot; });
  </code></pre>
  <p>Then how should i call it? if i were to use the save method. Also i need to change the methodMap of create from POST to PUT. temporarily i resorted to this <code>'create': 'PUT',</code> actually editing the backbone.js file ( iknow its not good ). Before i forgot i also need to add this</p>
  <pre><code>sendAuthentication = function (xhr) {
            xhr.setRequestHeader('Authorization', auth)
  }; 
  </code></pre>
  <p>As a beforeSend parameter since my server has authentication. Again where should i do it? Where should i go and put the codes? in my model? in my collection? or in my views? Any help? THank you.</p>
  <h1>update</h1>
  <p>Also can i override the sync on my collection? i mean can i have something like this?</p>
  <pre><code>collection = Backbone.Collection.extend({ sync:&quot;&quot;});
  </code></pre>