Presentation is loading. Please wait.

Presentation is loading. Please wait.

Latest and trendiest? A template in Visual Studio? The best best practice? No! Much better! I believe that DDD can help very much.

Similar presentations


Presentation on theme: "Latest and trendiest? A template in Visual Studio? The best best practice? No! Much better! I believe that DDD can help very much."— Presentation transcript:

1

2

3

4

5

6

7

8

9

10

11

12

13 Latest and trendiest? A template in Visual Studio? The best best practice? No! Much better! I believe that DDD can help very much in creating business value.

14 $ Why? What? How? ”Code!” ? ? ? And so on… $

15 Complexity Productivity

16 ...the size is of tremendous importance! The size… - drives cost - drives bugs - drives delays - drives team size, which drives code size…

17 http://domainlanguage.com/ddd/patterns/DDD_Reference_2011-01-31.pdf

18 Problem and chosen solution Model UmlAsASketch Ubiquitous Language Code UI

19

20 Argh! Why not come up with ten more words for describing the same thing… Why on Earth does he care about that? It’s just words…

21

22

23 Sigh, he’s coming with that now!?

24 CustomerRental

25

26 public bool CanCheckOut() { if (status != RentalStatus.New) return false; if (Customer.Age < highestRequiredAgeOfAnyOfTheChosenFilms()) return false; return true; } public void CheckOut() { if (! CanCheckOut()) throw new...... status = RentalStatus.CheckedOut; }

27

28

29

30

31

32

33 UI FacadeEntities Data Access Tables Most often very little focus Traveling recordsets...

34 UI Domain Model

35

36

37

38

39

40

41

42 http://microsoft.com/msdn www.microsoft.com/learning http://channel9.msdn.com/Events/TechEd http://microsoft.com/technet

43

44


Download ppt "Latest and trendiest? A template in Visual Studio? The best best practice? No! Much better! I believe that DDD can help very much."

Similar presentations


Ads by Google