IBuySpy Store, Part II: JScript Components: File Interactions - Doc JavaScript
IBuySpy Store, Part II: JScript Components
File Interactions
The IBuySpy Store is quite complex. There are about 20 stored procedures, 13 ASP.NET pages, 5 user controls, 5 JScript .NET scripts, and one Web.config
file. There are also a lot of interactions between these files. An ASP.NET page uses classes from all of the JScript .NET files, as well as ASP.NET user controls. IBuySpy classes use the stored procedures as their only mechanism to interact with the database. To assist you in finding your way in the IBuySpy Store code, we drew a color-coded map of the different file types and the interactions between them:
On the left hand side you see the ASP.NET user controls (pink) and the JScript .NET components (red). On the right hand side you see all the stored procedures (green). On the bottom you see all the ASP.NET pages. We drew a horizontal line from each stored procedure (green), from each user control (pink), and from each JScript .NET component (red). The vertical lines represent a called-by relationship between the ASP.NET pages at the bottom and the rest of the system. For example, a green vertical line between Login.aspx
and the green line going left out of the CustomerLogin
stored procedure shows that this stored procedure is called from the Login.aspx
ASP.NET page.
Next: How to compile JScript components
Produced by Yehuda Shiran and Tomer Shiran
All Rights Reserved. Legal Notices.
Created: October 7, 2002
Revised: October 7, 2002
URL: https://www.webreference.com/js/column120/4.html