Introducing 'JQuery.Net' a new approach to implementing an AJAX Methodology.

  • Web Services
    • They are very useful, but do we really need them to support the user experience for a web application using AJAX?
  • AJAX Toolkit
    • I am sure the script manager has its place in the world, however I do not see the point of writing information to the page that may never be needed.
    • Do we need the added complexity of adding a script manager or a reference to a script manager to a page?
  • Advantage of using the JQuery.Net approach to AJAX
    • Using the ICallBackEventHandler Interface over a Service Method.
      • All the form objects are serialized and sent to the server and are available during the callback event.
        • yes, this includes the view state and event validation data of the asp.net page as well.
      • when the results from the callback are sent back to the page the event validation is updated to keep the form data in synch with current state of the page.
    • we keep the page as clean as possible by minimizing the number of links to js and css files.
    • all CSS page links appear in the header of page regardless of when they are added to the page. the css will still link to referenced images via the virtual path used to place the optimized CSS file in the structure of the website.
    • CSS Files are merged into one file and minimized on the fly when optimization and minimizer are enabled
    • JavaScript Files are merged into one file and minimized on the fly when optimization and minimizer are enabled
    • Dramatically decrease the time it takes to load a page.
      • I have seen a page that took 15 seconds to load reduced to loading in 4 seconds using FF 3.6 and FF 4.0.

What I am exploring is a way to utilize a HTTP Module to handle the script injection onto a page rendered by a HTTP Handler that manages only the java script libraries necessary to support the user experience for that page.

Last edited Apr 11, 2011 at 11:33 PM by kccarter, version 3

Comments

No comments yet.