These are great questions. I too had your same concerns in regards to efficiency. However, after creating a couple of test websites using Atlas, my concern regarding the parsing of the javascript files has receded. That said, it would be interesting if someone could benchmark how much time it actually takes to initialize the Atlas overhead. I'm sure that it's a heck of a lot of cpu cycles but with the horsepower of today's machines, it's not likely that it's significant in regards to time. Also, Atlas and Ajax modeled "weblications" will, overall, require far fewer full-page requests because much of the sites' content and/or functionality will be loaded in "modules" without reloading the page's infrastructure (Atlas).
Jim
There is some startup cost, but as you say full page loads are indeed fewer.
Also, for the most part the script engine parses code upfront but "compiles" it on-demand, as code is run.
One thing to check is Atlas runtime mode vs. framework mode (on simple pages, if all you are doing is making some web service calls, then the Atlas runtime mode ... much smaller suffices). You could even do something like on the home page you use the atlas runtime script to preload the entire framework, so subsequent pages do not need to take the hit of downloading it.
This is a concern for us in particular, because our web app is pretty much maxed out in terms of page elements that now cause an average 1 second delay on page load. More than that, and we're in trouble
Does any one know if IE7 will include components that will help reduce ATLAS run time overhead in any way ?
NikhilKo wrote:
Atlas runtime mode vs. framework mode (on simple pages, if all you are doing is making some web service calls, then the Atlas runtime mode ... much smaller suffices).
Ahh, that sounds like a good idea.
It'd be good to look at getting a section on the atlas website that covers some of the implementation/design do's and don't's / tips and tricks. I know there is alot of good resource in the blogs (Yours Nikhil, and Scott Guthrie's as well.) but it would be nice if there was an official stance on it as well.
No comments:
Post a Comment