Discoveries and decisions

Well gang, over the past couple of days I’ve made some discoveries and decisions.

First off, having messed with domain driven development for several months now with little progress, I’ve come to the conclusion that I just can’t think that way. Not a real problem as it isn’t my only option. I’m just going back to using the service layer to wrap my logic.

Secondly, I tended to lose the overall picture in my head once I started splitting things up into several assemblies. I also had a hard time with namespace management. Therefore, I’ve gone back to the single-project solution. However, I’ll be deleting the models folder-namespace and creating new ones for each type of object: Repositories, Services, Extensions, etc.

Thirdly, I honestly have zero need for database abstraction. I use SqlServer express. I simply have no access to, or desire to mess with, other storage systems. Therefore, I’ll be using the Linq to Sql Classes designer.

Fourthly, I’ve dropped the ues of view models and presentations. Instead, I’ve opted to pass in the L2S objects and will be using FormCollections and UpdateModel to get results. I’ve written a few helpful extensions methods for both HtmlHelper and ViewDataDictionary that I will be using to pass certain things into the view in a typed fashion.

In one night, I have the entirety of the application base written, and several controllers done. A year and a half ago, I was probably too unsure of myself to get this far, even with this simple setup, so I am certain that my efforts in understanding all my options, and available technologies helped a great deal. In any regards, this setup is the best match for me and my project.

Thanks for putting up with me.

Hi Serena,

Thank you for all of your posts. Virtually everything I know about 4.0 is based on the threads you’ve posted and the research I’ve done based on them. This has been a fantastic study, and if I don’t understand it as well as I’d like… at least now I know I’m not the only one. :wink: