title: PHP vs JavaScript For Dynamic HTML Pages
body: <p>Typically when I put together dynamically generated HTML markup, I've been using PHP to store the information and then looping through that to create elements on the page. One example is navigation; create an array of objects and then loop through them to echo the markup. This helps out a lot for times that I might have to make minor (or major) changes during development or maintenance.</p>
  
  <p>Lately I've been wondering if I should use JavaScript to do this instead. Same principle, but using addElement.</p>
  
  <p>Just wanted to get some opinions on this; pros, cons, php vs js, seo considerations, etc.</p>
  
  <p>Thanks folks!</p>