031.2 Web Application Architecture Flashcards

1
Q

Broad meaning in technical jargon usually describes a traditional program executed locally and self-sufficient in its purpose

Operating interface and data processing components are integrated into a sing package.

A

Application

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

Adopts client/server model and its client portion is based on HTML that is obtained from the server and rendered by a browser

A

Web Application

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

Work done locally and provides an interface to the user and to layout the content in an attractive manner.

A

client side

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

Work done remotely to run the business end of the applcation.

A

server side

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

Main component of web browsers
Chrome, Edge - blink
safari - WebKit
Firefox - Gecko

A

rendering agent.

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

A mechanism that allows you to package web application clients for offline use and limited to functions that do not require immediate communication with the server

A

Progressive Web Apps (PWA)

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

Regardless of deliver method, apps written in this run on an abstraction layer created by the engine that functions as an isolated execution environment.

A

HTML

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

The central element of a web app client that runs on the server and contains the addresses for all files required for the correct presentation and operation of the client.

A

HTML document.

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

HTML alone does not have much versatility to build more elaborate interfaces and does not have
general-purpose programming features.

A

For this reason, an HTML document that should function as a client application is always accompanied by one or more sets of CSS and JavaScript

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

Main purpose is to adjust the appearance and layout of the elements of the HTML interface

A

CSS
Cascading Style Sheets

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

Procedures written with this respond to events in the browser and allows you to extend interactivity beyond hyperlinks and forms - making the page displayed by the browser like a conventional app interface.

A

JavaScript

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

term used in JavaScript is a global object with properties and methods that can be used to obtain information from any element on the HTML document

A

document

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

Client apps based on web technologies can run on any device that has a compatible web browser and thus are

A

multiplatform

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

A feature that significantly improves the performance of JavaScript applications running on the browser and is a kind of compiled JavaScript that produces source code written in a more efficient language such as C

Accellerates mainly processor-intensive activities because it avoids much of the translation performed by browsers when running a program written in conventional JavaScript.

A

WebAssembly

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

Displays messages and switches between message folders without leaving the page

A

Webmail client

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

Widely used for communication in web apps because it is based on basic methods available in HTTP

A

Representational State Transfer paradigm (REST)

17
Q

HTTP request starts with a keyword that defines the basic operation to be performed
GET
POST
PUT
DELETE

accompanied by a corresponding URL where the action will be applied.

A

HTTP Header

18
Q

This is both the main actor in a web app and the passive side of the communication just responding to requests made by the client

A

Server

19
Q

y require specific configuration changes to meet
the needs of the application.

A

HTTP servers, such as Apache and NGINX

20
Q

raditional HTTP servers directly associate the path
indicated in the request to a file on the local file system.

A

By default

21
Q

all request mapping and corresponding programming are implemented using JavaScript

A

Node.js Express

22
Q

convenient way to keep static content—images, JavaScript and CSS code that do not change in the short term—as
conventional files, either on the server’s own file system or distributed across

A

Content Deliver Network (CDN)

23
Q

Other kinds of content, such as email messages in a webmail application, product details in a shopping application, and transaction logs, are more conveniently stored in a

A

Database Management System (DBMS)

24
Q

The most traditional type of database management system the application designer defines data tables and the input format accepted by each table. The set of
tables in the database contains all the dynamic data consumed and produced by the application.

A

relational database

25
Q

The most popular relational database language

A

Structured Query Language (SQL, pronounced
“sequel”), adopted by the open source databases SQLite, MySQL, MariaDB, and PostgreSQL.

26
Q

An alternative to relational databases is a form of database that does not require a rigid structure
for the data. These databases are called

Although they may incorporate some features similar to those found in relational databases, the focus is on
allowing greater flexibility in storage and access to stored data, passing the task of processing that
data to the application itself. MongoDB, CouchDB, and Redis are common non-relational database
management systems

A

non-relational databases

NoSQL

27
Q

Regardless of the database model adopted, applications have to add data and probably update it
over the life span of the applications. In some applications, such as webmail, users themselves
provide data to the database when using the client to send and receive messages. In other cases,
such as in the shopping application, it’s important to allow the application’s maintainers to modify
the database without having to resort to programming. Many organizations therefore adopt some kind of and allows non-technical users to administer the app.

A

Content Management System (CMS)

28
Q

Client used by ordinary users

A

non-privileged clients

29
Q

Client used by by special users to maintain and update the information presented by the application

A

privileged clients

30
Q

What feature do modern browsers offer to overcome the poor performance of CPU-intensive web application clients?

A

The developers can use WebAssembly to implement the CPU-intensive parts of the client
application. WebAssembly code generally has better performance than traditional JavaScript,
because it requires less translation of instructions.

31
Q

If a web application uses the REST paradigm for client/server communication, which HTTP
method should be used when the client requests the server to erase a specific resource?

A

REST relies on standard HTTP methods, so it should use the standard DELETE method in this
case.

32
Q

Cite five server scripting languages supported by the Apache HTTP server

A

PHP, Go, Perl, Python, and Ruby.

33
Q

Why are non-relational databases considered easier to maintain and upgrade than relational
databases?

A

Unlike relational databases, non-relational databases do not require data to fit rigid predefined
structures, making it easier to implement changes in the data structures without affecting
existing data