The Proceedings of the Information Systems Education Conference 2000: §100    Home    Papers/Indices    prev (§026)    Next (§101)
    Paper (refereed)     Information Systems Curriculum
Recommended Citation: Haney, J D and C A VanLengen.  Server-Side Scripting in JavaScript/JScript and VBScript.  In The Proceedings of the Information Systems Education Conference 2000, v 17 (Philadelphia): §100.
CDpic

Server-Side Scripting in JavaScript/JScript and VBScript

thumb
Refereed
 
John D. Haney    [a1] [a2]
College of Business Administration
Northern Arizona University    [u1] [u2]
Flagstaff, Arizona, USA    [c1] [c2]

Craig A. VanLengen    [a1] [a2]
College of Business Administration
Northern Arizona University    [u1] [u2]
Flagstaff, Arizona, USA    [c1] [c2]

When developing server-side scripting using Microsoft's Active Server Pages and their Internet Information Server (IIS), either VBScript or JScript are available. The language of choice for most developers is VBScript since it is closely akin to Visual Basic and Visual Basic for Applications. However, for those developers that are more familiar with Java and JavaScript, JScript is a comfortable alternative. The differences between VBScript and JScript lie primarily in the syntax and not in the functionality. The examples interact with an Oracle database: to connect to the database; create record sets; and adding, changing, and deleting records shows identical logic structure. Where the use of JScript rather than VBScript can become rather tedious is the scarcity of functions in JScript that are available in VBScript. The solution is to write comparable user-defined functions in JScript as demonstrated by the FormatCurrency function.

Keywords: IS curriculum, programming languages, Web development

Read this refereed paper in Adobe Portable Document (PDF) format. (137 K bytes)
Preview this refereed paper in Plain Text (TXT) format. (23 K bytes)

View the photo/graphic Haney.John.jpg with this presentation. (4 K bytes)
CDpic
Comments and corrections to
webmaster@isedj.org