Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why can't I model my domain using ERD?

I am fairly new to this discussion but I HAVE to ask this question even at the risk of sounding 'ignorant'. Why is it that we now stress so much on 'DDD'. The more I look into 'DDD' the more complex it seems to make my application. Whereas modeling my domain with the database helps keep my application consistent across layers. Then I can use DAL Helpers such as SubSonic or L2S to easily access that model. What is so bad about this? Even in enterprise applications?

Why do we strive to create a new way of modeling our domain when we have a tried and tested one?

I am willing to hear from the purists here.

like image 410
Ali Kazmi Avatar asked Dec 17 '22 08:12

Ali Kazmi


1 Answers

You can't sell an old methodology, because too many projects failed and too many people know the old methodology anyway. There has to be a new one to market.

If you're doing fine with the old way then use what works. Do pay attention to new stuff, as some really nice ideas come along. But that doesn't mean everything old is bad and stupid. Usually you can incorporate new ideas into the old models to a large degree.

There does come a time to make a move. Like I wouldn't do OOP with structures and function pointers. ;-)

like image 81
dwc Avatar answered Jan 10 '23 19:01

dwc