Domain-Driven Design Quickly by Abel Avram, Floyd Marinescu

By Abel Avram, Floyd Marinescu

A good eye-opener. Now i understand how i'm going to deal with my prostate cancer...no doubt.

Show description

Read or Download Domain-Driven Design Quickly PDF

Similar computers & technology books

Amos 4.0 Users Guide

E-book by way of

Imagining the Internet: Personalities, Predictions, Perspectives

Within the early Nineties, humans anticipated the dying of privateness, an finish to the present suggestion of "property," a paperless society, 500 channels of high-definition interactive tv, global peace, and the extinction of the human race after a takeover engineered by way of clever machines. Imagining the net zeroes in on predictions in regards to the Internet's destiny and revisits previous predictions--and how they became out--to positioned that imagined destiny in viewpoint.

Fundamentals of Power System Protection

Energy process is a hugely complicated dynamic entity. One malfunction or a clumsy set relay can jeopardize the total grid. energy process security as a subject matter deals all of the parts of intrigue, drama, and suspense whereas dealing with fault stipulations in genuine existence.

Additional resources for Domain-Driven Design Quickly

Sample text

Draw from the model the terminology used in the design and the basic assignment of responsibilities. The code becomes an expression of the model, so a change to the code may be a MODEL-DRIVEN DESIGN│27 change to the model. Its effect must ripple through the rest of the project’s activities accordingly. To tightly tie the implementation to a model usually requires software development tools and languages that support a modeling paradigm, such as object-oriented programming. Object-oriented programming is suitable for model implementation because they are both based on the same paradigm.

Such a program cannot easily encapsulate conceptual connections, making mapping between domain and code difficult to be realized. Some specific domains, like mathematics, can be easily modeled and implemented using procedural programming, because many mathematical theories are simply addressed using function calls and data structures because it is mostly about computations. More complex domains are not just a suite of abstract concepts involving computations, and cannot be reduced to a set of algorithms, so procedural languages fall short of the task of expressing the respective models.

At that point the domain model becomes compromised. It has to deal with lots of infrastructure details instead of dealing with domain concepts. What happens if a decision is made to change the underlying database? All that scattered code needs to be changed to be able to access the new storage. When client code accesses a database directly, it is possible that it will restore an object internal to an Aggregate. This breaks the encapsulation of the Aggregate with unknown consequences. A client needs a practical means of acquiring references to preexisting domain objects.

Download PDF sample

Domain-Driven Design Quickly by Abel Avram, Floyd Marinescu
Rated 5.00 of 5 – based on 29 votes