spacer
Yehuda Shiran October 7, 2002
IBuySpy's ReviewsDB Component
Tips: October 2002

Yehuda Shiran, Ph.D.
Doc JavaScript

Developer News
Eclipse Helios Update Brings New PHP Tools
Internet Explorer 9 Ups Standards Support
JBoss Portal 5 Release Easier to Use

The JScript .NET component ReviwsDB.js handles the business logic of the IBuySpy Store reviews. In particular, it extracts reviews from the database, and adds new reviews to the database.

All IBuySpy components share the same IBuySpy namespace. The ReviewsDB.js component includes a single class: ReviewsDB. The ReviewsDB class includes the following method declarations:

  public class ReviewsDB {
    public function GetReviews(productID : int) : SqlDataReader {...}
    public function AddReview(productID: int, customerName: String, 
      customerEmail: String, rating: int , comments: String ) : void {...}
  }

People who read this tip also read these tips:

Look for similar tips by subject:

webref The latest from WebReference.com Browse >
Flashmaps' DynamicLocator: Interactive Maps for Small Areas · Flashmaps' AreaSelector: Interactive Maps for Wide Areas · The DB Mapper: Interactive Street-level Maps of U.S. and Canada
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
MS Access and MySQL · Cisco AutoQoS: VoIP QoS for Mere Mortals · While VoIP Adoption Explodes in Enterprise, Carrier Spending Lags