spacer
Yehuda Shiran September 30, 2002
Compiling IBuySpy Components
Tips: September 2002

Yehuda Shiran, Ph.D.
Doc JavaScript

Developer News
HP to Microsoft: Thanks for Nothing
iPhone Remains Left Out as Android Scores Flash
The Year of Living the OpenSocial
IBuySpy Store does most of its business logic and interaction with the MSSQL database through five JScript .NET components. These .js files reside in the Components folder under the Web site root, C:\StoreDOCJS\StoreDOCJS. These are the five JScript .NET files:

  • CustomersDB.js
  • OrdersDB.js
  • ProductsDB.js
  • ReviewsDB.js
  • ShoppingCardDb.js

As you can tell from the names, each component's role is to take care of another part of the Web site business activity: customers, orders, products, reviews, and the store shopping cart.

The sixth file in the Components folder is the make file, mk.bat, which compiles all five components into a single dll file, StoreJS.dll. This is what the file looks like:

  jsc /t:library 
    /out:..\bin\StoreJS.dll 
    /r:System.dll /r:System.Web.dll /r:System.Xml.dll /r:System.Data.dll 
    CustomersDB.js OrdersDB.js ShoppingCartDB.js ReviewsDB.js ProductsDB.js
As you can see, the dll file is stored in the bin folder, next to the Components folder. In fact, StoreJS.dll is the only file in the bin folder.


People who read this tip also read these tips:

Look for similar tips by subject:

internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

Jupitermedia Corporate Info

Legal Notices, Licensing, Reprints, Permissions, Privacy Policy.
Advertise | Newsletters | Tech Jobs | Shopping | E-mail Offers

webref The latest from WebReference.com Browse >
Administering RBAC in PHP 5 CMS Framework · xref: Automatic Cross Referencing Script · Book Review: Content Rich
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
Gateway Launches New Core i7-powered FX-Series Gaming PCs · Review: Lenovo ThinkPad SL300 · EBay, Alternative Site Holiday Resources for Sellers