Multitier Architecture Flashcards

1
Q

What is a multi tier project structure?

A

A multi tier architecture project structure is a client-server architecture in which the presentation, logic and data layers are physically separated.

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

Which layers make up a multi tier architecture?

A

Presentation layer, Logic layer and Data layer.

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

Briefly explain what the Presentation layer is and its purpose.

A

Presentation layer is the top level of MA and is the UI. The main function of the interface is to translate tasks and results to something the user can understand. This is the frontend.

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

Briefly explain what the Logic layer is and its purpose.

A

Logic layer moves and processes data between the two surrounding layers. It contains core business logic files written in PHP. These files should include functions that are responsible for processing the data received from the presentation layer, as well as other functions that are used to manipulate the data.

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

Briefly explain the Data layer and its purpose.

A

This is where information is stored and retrieved from a database or file system. The information is then passed back to the logic tier for processing, and then eventually back to the user. This layer contains files related to data storage, such as the database configuration file, SQL queries, and functions that are responsible for interacting with the database.

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

What are the benefits and drawbacks of multi tier architecture project structure?

A

Advantages:
- Scalable
- Increased security
- Reusable
Disadvantages:
- Increased effort
- Increased complexity

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