title: Pure dynamic pages - is it a feasible approach
body: <p>I'm building a website and considering using pure dynamic pages, i.e. no html files and everything is handled by a router in javascript and the DOM elements are all created and inserted to the document by javascript.</p>
  
  <p>I'm just wondering whether it's a good idea. IMHO, events can be attached to DOM elements when they are created, which may make the code more readable. And the static and dynamic parts might be better incorporated. But the page format may become unclear. And I'm not so sure whether performance will be compromised.</p>
  
  <p>Is anyone aware of any websites that actually use this approach?</p>
  
  <p>Thanks a lot!</p>