title: What architectural pattern(s) should I use for my RIA?
body: <p>I'm building a web application that interacts heavily with the DOM and need direction in making my code scalable and maintainable.</p>
  
  <p>The application overview: Upon interaction, I have toolbars and overlays that guide the user to edit the page, I then send back the edited page to the server.</p>
  
  <p>So far I've successfully built what I wanted but it's JQuery all tied together and I need help on how to rewrite my code to make it scalable and maintainable.</p>
  
  <p>Research so far:</p>
  
  <ul>
  <li>RequireJS - I've looked at RequireJS and thought this was a great starting point and got it all working.</li>
  <li>JQuery - Can't get away from this awesome library.</li>
  <li>Nicholas Zakas' presentation on Scalable JavaScript Application Architecture - Awesome idea, but how do I implement this? I'm fairly new to advanced JavaScript.</li>
  </ul>
  
  <p>I will also need some kind of event pooling to manage all these events. If I use JQuery's built-in event pooling "bind", "trigger", will this not force me away from Zakas' idea that only my application core should have access to my JQuery library?</p>
  
  <p>What type of framework should I be looking at to solve my problem?</p>