1/6
Looks like no tags are added yet.
three--layered architecture
organizes applications into 3 logical layers:
presentation/user interface (UI) layer
application/business logic layer
data layer
presentation/user interface (UI) layer
interacts with an application to present, collect, and deliver user information for processing
handles user input, data display, and formatting, without the business logic
application layer/business logic layer
where the information processing the accomplishes the core functions of the app take place
acts as intermediary between the data and presentation layer since they cannot communicate with each other directly
data layer
stores, manages, and retrieves the application’s data
apps typically use commonly available relational or NoSQL database management systems such as MySQL, PostgreSQL, MongoDB, or Cassanda
Which layer of a 3 layer order management system does the following:
prints possible actions for the user
displays each product with its price and stock
places order once specifics are entered and validated
raises error if ID number entered doesn’t exist
presentation/UI layer
Which layer of a 3 layer order management system does the following:
identifies product
makes sure product exists
make sure quantity ordered doesn’t exceed stock
calculates price, saves order, and updates stock
organizes order details
application/business layer
Which layer of a 3 layer order management system does the following:
contains dictionary to store products and organize them by ID
initializes empty list to store orders in
defines function to access dictionary of products
defines function to find product using its ID
defines function to change stock of product to remove amount ordered
defines function to create dictionary for order details and add it to list
storage/data layer