Computer Science 9608 (Notes) Chapter: 1.2 Communication and Internet technologies Topic: 1.2.3 Client- and server-side scripting There are two main ways to customize Web pages and make them more interactive. The two are often used together because they do very different things. Scripts A script is a set of instructions. For Web pages they are instructions either to the Web browser (client-side scripting) or to the server (server-side scripting). These are explained more below. Scripts provide change to a Web page. Think of some Web pages you have visited. Any page which changes each time you visit it (or during a visit) probably uses scripting. All log on systems, some menus, almost all photograph slideshows and many other pages use scripts. Google uses scripts to fill in your search term for you, to place advertisements, to find the thing you are searching for and so on. Amazon uses scripting to list products and record what you have bought. Client-side The client is the system on which the Web browser is running. JavaScript is the main client-side scripting language for the Web. Client-side scripts are interpreted by the browser. The process with client-side scripting is: 1. the user requests a Web page from the server 2. the server finds the page and sends it to the user 3. the page is displayed on the browser with any scripts running during or after display So client-side scripting is used to make Web pages change after they arrive at the browser. It is useful for making pages a bit more interesting and user-friendly. It can also provide useful gadgets such as calculators, clocks etc. but on the whole is used for appearance and interaction. Client-side scripts rely on the user's computer. If that computer is slow they may run slowly. They may not run at all if the browser does not understand the scripting language. As they have to run on the user's system the code which makes up the script is there in the HTML for the user to look at (and copy or change).

Page 1 of 11

Computer Science 9608 (Notes) Chapter: 1.2 Communication and Internet technologies Topic: 1.2.3 Client- and server-side scripting Server-side The server is where the Web page and other content lives. The server sends pages to the user/client on request. The process is: 1. the user requests a Web page from the server 2. the script in the page is interpreted by the server creating or changing the page content to suit the user and the occasion and/or passing data around 3. the page in its final form is sent to the user and then cannot be changed using server-side scripting The use of HTML forms or clever links allow data to be sent to the server and processed. The results may come back as a second Web page. Server-side scripting tends to be used for allowing users to have individual accounts and providing data from databases. It allows a level of privacy, personalization and provision of information that is very powerful. E-commerce, MMORPGs and social networking sites all rely heavily on server-side scripting. PHP and ASP.net are the two main technologies for server-side scripting. The script is interpreted by the server meaning that it will always work the same way. Server-side scripts are never seen by the user (so they can't copy your code). They run on the server and generate results which are sent to the user. Running all these scripts puts a lot of load onto a server but none on the user's system. The combination A site such as Google, Amazon, Facebook or StumbleUpon will use both types of scripting: server-side handles logging in, personal information and preferences and provides the specific data which the user wants (and allows new data to be stored) client-side makes the page interactive, displaying or sorting data in different ways if the user asks for that by clicking on elements with event triggers

Page 2 of 11

Computer Science 9608 (Notes) Chapter: 1.2 Communication and Internet technologies Topic: 1.2.3 Client- and server-side scripting To insert a JavaScript into an HTML page, we use the

Recommend Documents

EE6352 Electrical Engineering and Instrumentation 123- By ...
EasyEngineeering.net. Visit : www.EasyEngineeering.net. Page 3 of 7. EE6352 Electrical Engineering and Instrumentation 123- By EasyEngineering.net.pdf.

EE6352 Electrical Engineering and Instrumentation 123- By ...
EasyEngineeering.net. Visit : www.EasyEngineeering.net. Page 3 of 7. EE6352 Electrical Engineering and Instrumentation 123- By EasyEngineering.net.pdf.

123.PDF
There was a problem previewing this document. Retrying... Download. Connect more apps... Try one of the apps below to open or edit this item. 123.PDF. 123.

123.pdf
... What is the meant by critical angles? xii- What are the main types of lenses? xiii- What is a gold leaf electroscope? Page 2 of 2. Main menu. Displaying 123.pdf ...

Welding - 123.is
Further information on single plate thickness can be found in TechSupport #61 at ... The WeldCalc computer program can be used for preheat and interpass ...

Welding - 123.is
This brochure is aimed at simplifying, improving and boosting the efficiency of the welding process. ..... as well as commercial and technical support. For more ...

CLIENT RIGHTS AND RESPONSIBILITIES Each ... -
Each person served (and, where appropriate, his/her family and/or legal guardian) has the right to: 1. Reasonable access to services, regardless of race, creed, age, gender, physical abilities, national origin or sexual orientation. 2. Considerate an

Client Overview Client Profile. Founded in 1980, The ...
campaign will direct these searches to promote ticket purchases and newsletter signups. Adwords Strategy. We have organized our efforts into 9 campaigns to ...

A Behavioural Model for Client Reputation - A client reputation model ...
The problem: unauthorised or malicious activities performed by clients on servers while clients consume services (e.g. email spam) without behavioural history ...

123-15-TENOM.pdf
GIATMARA SDN. BHD. Wang ini tidak akan dikembalikan. 4) Semua kos yang berkaitan dengan Tawaran Kerja di atas adalah tanggungjawab pembekal.

123 Malpractice & Liability.pdf
Retrying... Whoops! There was a problem loading this page. Retrying... 123 Malpractice & Liability.pdf. 123 Malpractice & Liability.pdf. Open. Extract. Open with.

CAPITAL INVESTMENT BOARD, IOWA[123]
29 Mar 2017 - each of the individual owners of the entity on the basis of each owner's pro rata share of the earnings of the entity, and the individual owners may claim their respective credits on their individual income tax returns. For investments

CAPITAL INVESTMENT BOARD, IOWA[123]
May 7, 2017 - Transfer of responsibilities for administration of the program ..... Centers by either supplying the Small Business Development Centers with a ...

CAPITAL INVESTMENT BOARD, IOWA[123]
Aug 22, 2012 - 2.4(15E). Application for the investment tax credit. 2.5(15E). Verification of qualifying businesses and community-based seed capital funds.

CAPITAL INVESTMENT BOARD, IOWA[123]
Aug 22, 2012 - each of the individual owners of the entity on the basis of each owner's pro rata share of the earnings of the entity, and the individual owners may claim their respective credits on their individual income tax returns. For investments

123-133.pdf
Page 1 of 3. Mga karaniwang sugat na maaaring maging kanser sa bibig. Frictional keratosis. Leukoplakia. Magaspang at maputing patse sa bahagi na. dating may ngipin lalo na sa mga pasyen- teng walang pustiso. Dahil nakalantad ito. kapag ngumunguya, m

Bus # 123.pdf
9 7:12 35 North 12000 West. 10 7:13 839 South 12000 West. 11 7:14 944 South 12000 West. 12 7:15 1063 South 12000 West. 13 7:16 SR 87 12567 West. 14 7:17 SR 87 12655 West. 15 7:18 SR 87 12275 West. 16 7:19 1414North 14000 West. 17 7:21 2748 North 1400

CAPITAL INVESTMENT BOARD, IOWA[123]
Aug 16, 2017 - Transfer of responsibilities for administration of the program ..... Centers by either supplying the Small Business Development Centers with a ...

flash cards 123 by islamichomeschoolingworksheets.blogspot.com.pdf ...
flash cards 123 by islamichomeschoolingworksheets.blogspot.com.pdf. flash cards 123 by islamichomeschoolingworksheets.blogspot.com.pdf. Open. Extract.

CAPITAL INVESTMENT BOARD, IOWA[123]
Sep 13, 2017 - The telephone number is (515)281-3204. Application forms may also be obtained by contacting a Small Business. Development Center in the ...

CAPITAL INVESTMENT BOARD, IOWA[123]
Apr 25, 2018 - A balance sheet, certified by the chief executive officer and the chief financial officer of the qualifying business, that reflects the qualifying ...

CAPITAL INVESTMENT BOARD, IOWA[123]
Aug 22, 2012 - Analysis, p.2. Capital Investment Board[123]. IAC 8/22/12. 4.11(15E). Notification to the department of revenue. 4.12(15E). Other provisions ...

New Client Contact Form
Holiday Logos and Events – Google style! Year: 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009. Months: Jan-Mar Apr-Jun Jul-Sep Oct-Dec.