Steve Smith and I are excited to finally have our Domain-Driven Design Fundamentals course available on Pluralsight (http://juliel.me/PS-DDD ) . It was a long haul creating the course but we wanted it to be just right. And coordinating our schedules became tricky since we really wanted to collaborate completely on this, not just divide up the work and sew it together.
We were also grateful to have Eric Evan’s, the “father” of DDD, participate in the course by letting us interview him and use the resulting video clips where he provides thoughtful and insightful advice throughout the course.
The course has now been out for a few weeks and the reception has been great. Good ratings, great feedback in the discussions and on twitter are making us quite proud of our hard work. And it’s has been in Pluralsight’s Top 10 list (based on past 10 days viewing) in the entire library of some [I believe] 1500 courses since a few days after it was released.
If you don’t have a subscription (but really, they are only $29/month), there is a 10 day free trial on the website and I also have 30 day free trial cards I can share. Let us know what you think!
Sign up for my newsletter so you don't miss my conference & Pluralsight course announcements!
12 thoughts on “Domain-Driven Design Fundamentals Course on Pluralsight”
Absolutely love this course! Thank you for taking the time to produce this great series. I even bought a pluralsight subscription just to finish watching it 🙂 This really shows a great real world example for how to implement DDD into my solution.
Thanks for sharing, looking forward to take the course. Can you please share 30 days trial?
I am just beginning to take this course in Plural Sight, and I am very happy you did it. It seems very well organized and helpful. I was wondering if you could share the Solution you use in the course? It would really help to understand better the course.
Unfortunately, the downloads are for Pro subscribers. We are not allowed to share them otherwise. So sorry.
Excellent course, lot of new things to learn. If you still have some, please do share 30 days trail card. thanks again.
We’ve been enjoying your Pluralsight DDD Fundamentals course and have downloaded the FrontDesk sample solution for further investigation.
Are you able to elaborate a little on the roll of the Domains, EF, and Foreign Keys? For example the Appointment entity in the VetOfficeContext does not have a foreign key constraint to Client. Has this been omitted for brevity or purity of the Domain class? We are still pretty keen on all of our solutions having referential integrity 🙂
We talk about FKs and/or navigation properties in the domain in Module 4 (Aggregates in the Domain). In your domain modeling, you would define your aggregate to enforce the constraints that you care about.
WRT to EF & those same constraints defined in the database, we are not taking advantage of some of EF’s relationship magic. For example, if Client has a List
property, then EF would, by convention, work out a 1:* relationship and infer the PK FK constraint in its own validation mechanism (occurs at SaveChanges) and in the database. When using DDD, depending on some of EFs relationship behavior, especially when it comes to pushing data to the database, we would have to design our model to align with EFs rules — totally against DDD concepts. Therefore we’re not relying on EF itself to define those model & DB constraints for us. However, you can still define them directly in the database. If you are using EF Code First to initialize/migrate the database schema, tehre are ways to add more instructions to the migrations to affect the underlying database. But then only the database will automatically attend to those constraints.
I know this post is old but I’ve been watching the course (which I loved btw) recently and there’s one EF-related thing I’m wondering about as a newbie to EF. In the course you introduce a DateTimeRange-class that is used as a property in the Appointment-class and what I’m wondering is how DateTimeRange is persisted to the DB. Does EF handle the mapping automatically and map its two datetime-properties (Start and End) to two datetime-columns in the db-table?
the date time range class is defined elsewhere in the app and has a start and end date property. So the two properties are known. EF has a concept of a complex type and will assume that the table which the root type (appointment) maps to has columns that align. EF by default will assume they are named “appointment_startdate” and “appointment_enddate”
hth and gives you enough to google for more details if you need. (It must be in another course…e.g. the EF Code First pluralsight course..ifyou want to see more)
Thanks! I appreciate your taking time to respond to my question in an old post this way.
no problem. It’s an important course and I’m always eager to help people wrap their heads around this stuff! Thnks for watching it. 🙂
Hi Julie! Im really enjoying your course. My first one on PluralSight.
I have a similar application and one of the requirements is not allow saving overlapped appointments. In your ScheduleRepository.Update() you dont take care of that (as the conflicts are saved and displayed on the screen).
This validation seems to be an invariant of the model, right? But as it’s a multi-user application I have to check that on the repo, during the Update, otherwise, I mayhave concurrence problems, violating the requirement above, if 2 users update the schedule at the same time.
Do you have any suggestions for this kind of problem using DDD? Is it possible to lock the schedule during the validation and update process?
How does DDD deals with concurrence conflicts? Or doesnt it?