title: What are the pros and cons of building an AJAX-heavy web app over one with persistent URLs?
body: <p><strong>Original Question: Is it a bad idea to make an all JavaScript website?</strong>
  <br /><br />
  <strong>*<em>Changed the question because this ended up being more of a discussion, but it could be helpful for others.</em>*</strong></p>
  
  <p>In this case, I was thinking of making a website that initially delivers its overall layout using regular HTML (like a normal, basic web page), but then I plan to fill the content of the HTML content area dynamically, entirely with AJAX requests.</p>
  
  <p>Users of the site won't ever be refreshing the page or going to a new page, and all other divs and elements that need to be generated will be created using AJAX (making use of lots of JavaScript functions that are on a cached external JavaScript page).</p>
  
  <p>Although I'm not actually making a <strong>forum</strong> website, a forum's level of functionality is close to what I want to achieve.  Lots of database reading and writing too.</p>
  
  <p>Is this a bad idea?  Am I not considering something that could make this potentially terrible?  Is it good performance-wise (since I'll be doing so much client-side work and less server side work)?</p>
  
  <p>I realize that the page wouldn't work for people who have JavaScript turned off, but that's not a concern in this case.  I'm also not worrying about any mobile devices that don't support JavaScript, since I would probably just create a mobile-specific version of the site that doesn't use JavaScript).</p>
  
  <p>Thanks!</p>
  
  <p><strong>UPDATE:</strong>
  First: Thank you for all the responses, everyone!  I really appreciate it!</p>
  
  <p>Just for clarification purposes, I thought this would be a good idea mostly because it seemed like I could just say, "Hey AJAX, just give me the raw forum post data for this page and I'll do all of the HTML building on the client side."  Same DB access of course, but less server side page formatting work and less data transfer to the client.</p>
  
  <p>And another important clarification: I'm not worried about search engine optimization because this forum would be a login-only network that should not be crawled or viewed by non-logged-in users.</p>