jschap10 - Tutorial 10: Server-Side JavaScript JavaScript -...

Info iconThis preview shows pages 1–13. Sign up to view the full content.

View Full Document Right Arrow Icon
Tutorial 10: Server-Side JavaScript JavaScript - Comprehensive
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Previewing the WebAdventure Home Page In this tutorial you will create a program that can be used as WebAdventure’s Web site The program will store the number of hits it receives and include an area where visitors can sign a guest book You cannot run the programs from the Tutorial.10 folder on your Data Disk unless the drive containing your Data Disk is under the control of a Netscape or Microsoft Web server To preview the WebAdventure home page refer to the steps on pages 504 to 506 of the textbook
Background image of page 2
Tutorial10_StartPage.asp in Internet Explorer
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Tutorial10_HomePage.asp in Internet Explorer
Background image of page 4
Section A: Netscape LiveWire
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Objectives In this section, the students will learn: About client/server architecture About server-side JavaScript development How to create LiveWire applications About LiveWire core objects How to create a Guest Book using LiveWire
Background image of page 6
Client/Server Architecture There are many definitions of a client/server system In traditional client/server architecture, the server is usually some sort of database from which a client request information A system consisting of a client and a server is known as a two-tier system One of the primary roles of the client, or front end, in a two-tier system is the presentation of an interface to the user
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
The Design of a Two-Tier Client/Server System
Background image of page 8
Client/Server Architecture A three-tier , or multitier , client/server system consists of three distinct pieces: the client tier, the processing tier, and the data storage tier The client tier, or user interface tier, continues to be the Web browser The database portion of the two-tier client/server system is split into a processing tier and the data storage tier The processing tier, or middle tier, is a “processing bridge” that handles interaction between the Web browser client and the data storage tier
Background image of page 9

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
The Design of a Three-Tier Client/Server System
Background image of page 10
Client/Server Architecture An important aspect in the design of any a client/ server system is deciding how much processing to place on the client A general rule of thumb is to allow the client to handle the user interface processing and light processing, such as data validation, but have the server perform intensive calculations and data storage Unlike with a private network, you do not know the computing capabilities of each client on the Web
Background image of page 11

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Server-Side JavaScript Development Server-side JavaScript is a programming language based on client-side JavaScript that has the ability to handle communication between the client tier and the data storage tier Additionally, server-side JavaScript can interact closely with client-side JavaScript, since they share the same basic programming features Server-side JavaScript is not without drawbacks One of the biggest disadvantages of the language is that it is proprietary and vendor-specific
Background image of page 12
Image of page 13
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 06/13/2011 for the course MIS 241 taught by Professor Tse during the Spring '11 term at Moraine Valley Community College.

Page1 / 88

jschap10 - Tutorial 10: Server-Side JavaScript JavaScript -...

This preview shows document pages 1 - 13. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online