Developing a VBScript Class for an Extremely Lightweight Recordset Alternative (Page 1 of 5 )
Why in the world would we consider replacing the venerable old ADO Recordset object? It certainly serves its purpose on about a trillion web pages around the world. However, given how many ASP pages simply need to write out HTML data from it, it’s remarkably over-loaded with unused and unnecessary features. Each unused feature is another waste of system resources. In this article, Tom Kelleher shows how to build a VBScript class to replace the Recordset as our data container, freeing up those resources… and how he stumbled across some interesting additional uses in the process.
The object described in this article was originally developed and deployed on a Windows NT Server v4.0 system with 512 MB of RAM, running ASP 2.0, IIS 3.0, VBscript 5.6, and ADO 2.6. However, these are not the minimum requirements for it. ADO 2.1 would suffice to pull database data, VBScript 5.0, and lower RAM would all work. Also, the object has since been installed on a Windows 2000 Server SP2, with ASP 3.0, IIS 5.0 and more RAM with no ill effects.