Chapter 4. Isolating The Domain Flashcards
With a layering approach, any elements of a layer depends only on other elements in __________ or on elements of the layers _________ it.
in the same layer
the layers underneath it
DDD, p. 70
What are the four layers in an application?
UI or presentation layer
Application layer
Domain layer or model layer
Infrastructure layer
DDD, p. 70
The external user of a system might be a human or ___________.
Another computer system.
DDD, p. 70
The application layer ________ tasks and _________ work.
coordinates tasks
delegates work.
If an application needs to send an email, the application layer would request the transmission of the message.
DDD, p. 70
The UI layer does two things:
Shows _______ to the user
______ user’s commands
Shows information to the user
Interprets user’s commands
DDD, p. 70
The domain/model layer captures what four things about the business?
concepts
information
rules
state
DDD, p. 70
The infrastructure layer provides ________ technical capabilities that support ______ layers.
generic
higher
eg. Message sending, persistence, drawing widgets, etc.
DDD, p. 70
The grandfather of connecting the UI to the application and domain layers is:
Model-view-controller (MVC)
DDD, p. 73
T/F: The infrastructure layer should have knowledge of the domain layer.
False. It contains technical capabilities such a sending an email.
DDD, p. 70
Technical capabilities in the infrastructure layer most often offered as ________.
Services.
DDD, p. 73
What is another term for domain layer?
The model layer (as in model view controller).
DDD, p. 70
DDD pays off best for what type of project?
Ambitious
DDD, p. 76-77
What 4 characteristics define the Smart UI anti-pattern?
- Business logic in the UI
- Small functions
- Separate functions in separate UIs
- Use relational database as shared repository of the data
DDD, p. 77
What does 4GL stand for?
Fourth generation language
Mentioned on DDD, p. 77
What are the names of some 4GLs?
Cold fusion
Perk, python, ruby
SQL
SAS / SPSS
(from online source)