Javascript programming model to organize Web Applications
<p>I have been programming in PHP and C# for a long time, but I have done very little Javascript.
For server side programming I use MVC, which is very nice and my code is neatly organized.</p>

<p>Now, for Javascript, when I write code, I usually screw things up. It becomes something like spaghetti code. I don't know how to organize my code.</p>

<p>Can anyone please help me with any resource, book, or anything which might help with writing neat and organized Javascript code?</p>

<p>Thanks in advance.</p>
