title: Something Similar To ASP.net User Controls for Javascript Web App Development?
body: <p>I'm assigned to work on a Javascript solution that seems fairly easy to implement in platforms like ASP.net, WPF, or Flash Builder (because I can create separate components and controls).</p>
  
  <p>The project requires many types of file selection-like mechanisms for each unique type of related data, many of each require auto-completion-like capabilities, navigating a file hierarchy-like system, and pagination. There are also multiple tabs for managing the different related pieces of data of the complex object.</p>
  
  <p>Also, the user must be able to save and retrieve work all on the same page.</p>
  
  <p>Such a requirement requires tons of markup and event-handling code in one page, which easily results in over 1000+ lines of code, even with jQuery and knockout.js. (It becomes very tedious to wade through and maintain.) Is there a way to create separate "pages" with both HTML and JavaScript, and then embed/reference them on the main HTML page?</p>
  
  <p>Is such a project with such complex requirements better suited for Flash Builder or Silverlight, or should we stick to Javascript &amp; HTML? </p>