Using the Application Object to Improve Performance
2695Using the Application Object to Improve Performancehttp://www.15seconds.com/Issue/010511.htmCompanies using Web services sold by application service providers (ASPs) are expected to increase nearly 250 percent by 2004, according to the Phillips Group (see http://www.networkcomputing.com/1125/1125service1.html). Substantial portions of those Web services provide Application Programming Interfaces (APIs) to their services via the Internet. While these services are convenient and easy to use, they also dramatically increase network traffic and potentially slow down application performance. Despite the potential slowdown, most customers simply execute a round-trip request for every one of their incoming requestsASP > Tips and Tutorials > DevelopmentOct 10, 2006
ASP pages are executed on the fly by a server when they are requested by a visitor. Because they are not compiled, ASP scripts are slow and hold up the processing of an html page. This results in people leaving your site and severely reduces the enjoyment that your asp apps can provide. So what can you do about it?
There are a few things you can do to speed up an asp script. By speeding up, I mean decreasing the execution time of a script. These tricks will not speed up a database script that writes 10,000 entries to an html table. The reason that those scripts take so long is not necessarily related to the database trip and asp execution but to the rendering of html, especially tables, by a browser. All that said, these tricks will probably increase ASP performance even more if your site is really busy
Use dependent listboxes for example to let a user choose a rep in a reps listbox and then have only the customers for that rep be shown in the customers listbox
Text manipulation in .asp is a snap. The following example takes a string of ten numbers 8005551212 (the 800 number for 800 info) and splits it into the common ###-###-#### format.
Show that you can send email with something other than ASP
Show how to consume a COM server
Send email when your email server is down (thanks to all the f%*&@g spammers!)
Frame that bastard in the office ;-)
Joining mailing list will entitle you
to receive occasional emails informing you of news and
updates to the site and any special offers that may be
of interest to you.