General discussion
-
CreatorTopic
-
September 30, 2002 at 12:57 am #2329376
Minimize network traffic with XMLHTTP
Lockedby maryweilage · about 21 years, 5 months ago
Tell us what you think about minimizing network traffic with XMLHTTP, as featured in this week’s Web Development Zone newsletter.
Topic is locked -
CreatorTopic
All Comments
-
AuthorReplies
-
-
September 30, 2002 at 9:14 pm #3487278
Brilliant
by jpnoon · about 21 years, 5 months ago
In reply to Minimize network traffic with XMLHTTP
This blazing fast response mechanism (i.e. change the data without reloading the html) is built into MS Access Data Access Pages, asp.net and the new ColdFusionMX/FlashMX active webpage configurations.
-
September 30, 2002 at 10:00 pm #3487267
Case of Cool vs Practical
by fywdude · about 21 years, 5 months ago
In reply to Minimize network traffic with XMLHTTP
Yes, IE has some nice functionality to reduce network traffic. Taking advantage of this functionality takes double the effort (the real measurement of code cost, not lines), encourages bad coding practices (such as including database calls in an ASPpage), and will have to be completely re-written if the application is expanded to users outside the intranet (often the case with data-driven systems).
Until bandwidth costs more than development (again), the use of templates will result in reusable view components that won’t marry the IT department forever to a single browser.
-
October 1, 2002 at 12:25 am #3487230
Is there a non-ActiveX solution?
by asyn42 · about 21 years, 5 months ago
In reply to Minimize network traffic with XMLHTTP
That looks like a pretty cool solution the the problem. But we have to be cross-platform, so ActiveX is not an option.
Is there a similar non-ActiveX solution that works with Mozilla based browsers? Possibly a similar idea using Java as the component to support I/O to the server?
-
October 1, 2002 at 4:30 am #3487150
don’t like client activex
by highpitch1204 · about 21 years, 5 months ago
In reply to Is there a non-ActiveX solution?
not portable solution, limited only on ie 5+.
-
-
October 1, 2002 at 5:51 am #3487121
How about the WWW?
by jelks · about 21 years, 5 months ago
In reply to Minimize network traffic with XMLHTTP
Back to the old “coding to the browser” of Netscape days, huh? I thought we were trying to get beyond such sillyness. “Plus ca change …”, I guess.
While some folks are indeed interested in IE-only intranet solutions, how about something for the *World Wide* Web…
How about an XML solution that does NOT require MS-specific Active-X? And how about one that doesn’t use IE’s (only) “XML data islands”? Ignoring for that moment that [x]HTML doesn’t have an
element in any existing published DTD, those things are even invalid XML: you can NOT begin an element with the letters [xX][mM][lL]! -
October 23, 2002 at 1:51 am #3509185
Geez
by drkervorkian · about 21 years, 5 months ago
In reply to How about the WWW?
I think the thing that most people fail to realize is that M$ provides tools that make the development process easier and faster. Yeah, M$ happens to be a monopoly and nothing short of pure evil, but it just so happens that knowing their tools and being able to utilize them, at least for me, pays quite well. I think all this high-level scripting is pointless and slow. The only way to get true speed is to work at a very low level. Who has that kind of time?!!? I bet if I spent the 3 months to develop a true speedy solution, I’d get paid the same amount as if I spent a week developing the same solution with M$ tools. Also considering that IE constitutes about 98% of all browsers used, then using M$ solutions is not such a bad deal. This is especially true when you are developing INTRANET applications where 100%, yes 100%, of the browsers are IE 5.5 or above. This is why it takes me a short time to develop intranet solutions with IE, rather than spending much more time trying to work around all the short-comings of all the other browsers. M$ might be the epitome of all things bad and evil, but they just happen to provide an easy way to do things.
-
-
October 1, 2002 at 6:28 am #3487110
Another foolish use of non-web standards
by mike arms · about 21 years, 5 months ago
In reply to Minimize network traffic with XMLHTTP
Wonderful, another suggestion to implement via a M$ proprietary extension. Those who ignore web standards and choose such a course deserve whatever vendor abuse they get.
Avoid this like the plague.
-
October 23, 2002 at 1:52 am #3509182
As I said
by drkervorkian · about 21 years, 5 months ago
In reply to Another foolish use of non-web standards
See “Geez”
-
-
October 2, 2002 at 10:53 am #3485159
Been There, Done That
by journeyman2001 · about 21 years, 5 months ago
In reply to Minimize network traffic with XMLHTTP
You can reduce network traffic by utilising JavaScript (found in all major browsers). By using .js file(s), which would reside in the users cache during their session, you can use JavaScript to display a template of your HTML page. What will be retrieved from your ASP/PHP/JSP code will be JavaScript instructions on which routines to use to create the template (though this possibly could be kept in the .js file as well) and JavaScript lines of code to set each control on your HTML page to the values retrieved.
Having already used this in an ASP project, I can verify that the speed it takes to return from a submit is three times faster than an ASP page that contained all the code itself. All by reducing the amount of redundant HTML being passed. And the added beauty is that it’s not browser specific.
-
-
AuthorReplies