vladikk / learning-ddd Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
learning-ddd/listings/07-06.cs
Line 21 in 79f8718
state instead of _state
learning-ddd/listings/07-02.cs
Line 1 in ebba3ac
only apply methods.
no projection logic which mentioned in the book.
learning-ddd/listings/08-03.cs
Line 16 in 79f8718
Hi Vlad,
I did read your book learning-ddd and it's great - many thanks. I hope I can ask a question. On p.139 the concept of interchange context is mentioned. On p.229 the concept of integration-oriented model is mentioned. Are we not going back to the 'old school' canonical data model from SOA ESB era with the concept of interchange context as a separate bounded context in charge of transforming models for more convenient consumption by other components? If not, what is the difference?
Many thanks for your explanation!
learning-ddd/listings/08-01.cs
Line 17 in 79f8718
HI,
please look at the 06-03 listing.
Line 7: EmailAdress value type
Line 21: Email.Parse()
It is needed to use the same value type name on both rows
Hello,
It seems like there is a problem with the following code snippet : https://github.com/vladikk/learning-ddd/blob/main/listings/06-13.cs
public class Ticket
{
// ...
List<Message> _messages;
// ...
public void Execute(EvaluateAutomaticActions cmd)
{
if (this.IsEscalated && this.RemainingTimePercentage < 0.5 &&
GetUnreadMessagesCount(for: AssignedAgent) > 0)
{
_agent = AssignNewAgent();
}
}
public int GetUnreadMessagesCount(UserId id)
{
return _messages.Where(x => x.To == id && !x.WasRead).Count();
}
// ...
}
Why is there a for on line 10 ?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.