1.2.3 Client and Server - Side Scripting

¡Supera tus tareas y exámenes ahora con Quizwiz!

CSS

(Cascading Style Sheets) style language that defines the appearance of HTM documents, such as font, color, and page layout.

SQL

Structured Query Language - a language used to manage/manipulate a relational database

PHP

a common server-side scripting language

Client

a computer that requests the services provided by a server

Scripting language

a high-level programming language that is interpreted

HTML

a mark-up language that determines the appearance of web pages

Server

a server that provides a service requested by a client

Client and Server Side Scripting

used to customize web pages and make them interactive. Server-side scripting: - handles logging in, personal information and preferences - provides the specific data that the user wants (it also allows new data to be stored) Client-side scripting: - makes the page interactive, displaying or sorting data in different ways depending on what the user ask for by clicking etc.

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. user requests a web page from the server 2. the script in the page is interpreted by the server creating/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 *HTML forms or links are used to allow data to be sent to the server and processed. The results may come back as a 2nd 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 and social networking sites all rely heavily on server-side scripting. *PHP and ASP.net are the main technologies used *script is interpreted by the server so it will always work the same way. (aren't seen by the user) *They run on the server and generate results which are sent to the user.

Client-side

- used to make web pages change after they arrive at the browser. - JavaScript is the main language - Client-side scripts are interpreted by the browser. - Process with client-side scripting *user requests a web page from server * the server finds the page and sends it to the user * the page is displayed on the browser with any scripts running during or after display - scripts make pages more interesting, user-friendly, provide calculators, clocks...used for appearance and interaction. ^ rely on the user's computer. If the computer is slow, the scripts may run slowly. It's possible the scripts won't run if the browser doesn't understand the scripting language

JavaScript

A common client-side scripting language used for interactive parts of a web page.

Scripts

A set of instructions for web pages to the web browser (client-side scripting) or to the server (server-side scripting). - provides change to a web site - all log on systems, some menus, etc use scripts

Client-Server Model

A system in which some of the computers (clients) request service provided by other computers (servers)

CGI

Common Gateway Interference - general term for a program that runs on a web server and interacts with a browser (ex. a program that queries data from a database, and returns it to be displayed in the browser)


Conjuntos de estudio relacionados

Marketing Research Final Exam MSU

View Set

CoursePoint: Chapter 18: Evaluating - ML3

View Set

Implementing Supplemental Servers - Chapter 10

View Set

Physics conceptual questions 1-9

View Set

Topography & Fuels : Wildland Firefighting

View Set

Week 5: Assessing + Selecting Employees

View Set