Chapter 1 - Dynamic Web Content Flashcards

1
Q

What is Apache?

A

The web server we use.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What does Apache web server do?

A

It responds to web requests and triggers other software to run on the server, such as:

PHP, operating as a module embedded into Apache.

MySQL, which acts as the database.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What does Apache web server do?

A

It responds to web requests and triggers other software to run on the server, such as:

PHP, operating as a module embedded into Apache.

MySQL, which acts as the database.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is a request response process?

A

It consists of a web browser asking the web server to send it a web page, and the server sending it back to the page. the browser then takes care of displaying the page.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What does DNS stand for?

A

Domain Name Service

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Give an example of an INSERT statement

A

INSERT INTO users VALUES(‘Smith’, ‘John’, ‘jsmith@mysite.com’);

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Give an example of a SELECT statement

A

SELECT surname,firstname FROM users WHERE email=’jsmith@mysite.com’;

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What does SQL stand for?

A

Structured Query Language

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is an RSS?

A

Really Simple Syndication

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What does the Rewrite module do?

A

Enables the web server to handle a varying range of URL types and rewrite them to its own internal requirements.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What does the proxy module do?

A

You can use this to serve up often-requested pages from a cache to ease the load on the server.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What does PHP handle?

A

All the main work on the web server

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What does mySQL handle?

A

Manages all the data

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What do CSS and Javascript handle?

A

How the web page is presented

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What are the four components at minimum, needed to create a fully dynamic web page?

A

A web server (such as Apache)

a server-side scripting language (PHP)

a database (MySQL)

a client-side scripting language (JavaScript).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What does HTML stand for?

A

HyperText Markup Language: the web page itself, including text and markup tags.

17
Q

Why does the name MYSQL contain the letters SQL?

A

Like nearly all database engines, MySQL accepts commands in Structured Query Language (SQL). SQL is the way that every user (including a PHP program) communicates with MySQL.

18
Q

PHP and JAvaScript are both programming languages that generate dynamic results for web pages. What is their main difference, and why would you use both of them?

A

PHP runs on the server, whereas JavaScript runs on the client. PHP can communicate with the database to store and retrieve data, but it can’t alter the user’s web page quickly and dynamically. JavaScript has the opposite benefits and drawbacks.

19
Q

What does CSS stand for?

A

Cascading Style Sheets: styling and layout rules applied to the elements in an HTML document.

20
Q

List three major new elements introduced in HTML5.

A

Probably the most interesting new elements in HTML5 are , , and , although there are many others such as , , , and more.

21
Q

If you encounter a bug in one of the open source tools, how do you think you could get it fixed?

A

Some of these technologies are controlled by companies that accept bug reports and fix the errors like any software company. But open source software also depends on a community, so your bug report may be handled by any user who understands the code well enough. You may someday fix bugs in an open source tool yourself.