Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Why do we partition a web based application into layers? Whichlayers are produce

ID: 3616735 • Letter: W

Question


Why do we partition a web based application into layers? Whichlayers are produced as a result of thispartition?                                                                                                                                                  10 Marks
Why do we partition a web based application into layers? Whichlayers are produced as a result of thispartition?                                                                                                                                                  10 Marks

Explanation / Answer

Partitioning is a time tested method of separating the userinterface of an application from its Domain Logic. The primary goal of Partitioning is to isolate UI changes andprevent them from requiring changes to the Domain Logic of theapplication. The primary reason for this division is that the userinterface and Domain Logic have different drivers for change anddifferent rates of change. By making this separation, you canchange the UI without touching the Domain Logic and vice versa. Partitioning divides an application into three concerns:     *       Model - Encapsulates coreapplication data and functionality Domain Logic.     *       View - obtains data from the modeland presents it to the user. (a resultedlayer)     *       Controller - receives and translatesinput to requests on the model or the view. The separation into three concerns is inspired by a informationprocessing model where the controller represents system input, themodel represents processing and the view represents the output ofthe system.

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote