Best Practice to use JavaScript?
<p>What is the best practice to include Javascript to your web applications? </p>

<p>Consider the following situations:</p>

<ul>
<li>Different HTML Pages</li>
<li><em>NO</em> JavaScript Framework like JQuery or Dojo</li>
<li>Different JS-Functions for different Pages.</li>
</ul>

<p>I am not sure, but I think there are 3 solutions:</p>

<ul>
<li>Include the stuff directly in the html file</li>
<li>Put the stuff in one big .JS file and use some kind of namespace(s)</li>
<li>Use one .JS File for every html page, with the needed functions included</li>
</ul>

<p>I am looking forward for your suggestions.</p>
