title: When to use "client-side routing" or "server-side routing"?
body: <p>I'm a little bit confused about this, and I feel slightly stupid asking this question, but I want to understand it.</p>
  <p>So, say I'm working with a client side web framework, like Backbone, Angular or Durandal. This framework includes routing.</p>
  <p>But I of course still have a server for database stuff, and so on, which also has routing.</p>
  <p>My question now is:</p>
  <blockquote>
  <p>When to use &quot;client-side routing&quot; or &quot;server-side routing&quot;?</p>
  <p>How is it &quot;decided&quot; whether routing is already performed on the client side or whether the request is first sent to the web server?</p>
  </blockquote>
  <p>I have a particularly hard time imagining this because the client side could do routing before the server ever gets to know about that request.</p>
  <p>I'd be very thankful if someone could explain how these two routing systems work together.</p>
  <p>P.S.: I have not included code samples because I'm not looking for an answer concerning a particular framework, but concerning the routing process in general.</p>