Search Search

#1 worldwide
FREE Coding Lessons

since 1996
   THE BEST WAY to learn ASP & Asp.net!
Advertise Here!
click for details
Credits Host:
DiscountASP.net
Server Admin:
The "Team"
Contact Info.
Charles M. Carroll

my Blog

Overview: RSFast - Intro
by Charles Carroll

The Short Explanation
Everybody knows Getstring and Getrows is the fastest way to fetch data (see: http://www.learnasp.com/advice/whygetrows.asp) but people don't like to re-write their code or have the heartache of the ugliness of the code.

Rsfast is a library that makes fetching data easier. It looks easy on the outside. You just tell it how you want the data to look an under the covers it does highly optimized getstrings and then parses the strings and combines it with your formatting. The current version is version 6.01!

Easy for you, hard for the library. This is very complex internally but you never have to worry about that. Just call it. It works.

The Long Explanation (skip it and goto samples if you want)

There are many ways to retrieve data. 

This "Rsfast" library is the best of all worlds and is a suitable replacement for any database display mentioned above. It provides re-usability, lightning fast data fetching and supports every kind of formatting desired so that it can be used in many situations. In addition to any custom formatting, it provides support for listboxes, tables, page n of n tables, nth row formatting, hyperlink, and date-formatting. The feature that provides massive application speed up is that it can cache data for a specified duration. Even if the formatting applied is totally different, the data, not the format is cached. Imagine 1,000 people hit your server in 1 minute period. Instead of 1,000 queries, only the first user that minute would fetch the data. Other 999 users get same exact data. Cache can be expressed in seconds, minutes or hours. (only in minutes in this version, next version supports richer caching options).

If a long cache duration is required yet data freshness needs to be assured some caching "rules" ensure that fresh data will trigger a cache update at instance data appears.
Chaz Wish List
Tall Tip $5
Grande Tip $20
Venti Tip $39
Tip Jar Thanks
2004 Thanks
2005 Thanks
HUGE Tip -love site