I\'m experimenting with DDD and EF 4.1 Code First. I have an Aggregate Root BlogEntry which looks simlar to this:
I have a scenario where I am processing a queue of MailItems. Once I have processed each MailItem, I need to update the Status of the MailItem. The logic for updating the status is quite complex. My t
I have some entity classes in my application. I want to save all changes to this entities and some happened events in a history table. Problem is that entity classes are different, build with differen
I have occasionally encountered a pattern in code which resembles a monad but does not keep a consistent type across >>=.
Here is my problem domain in the financial industry : Asset ========== Asset parent assetID + compareTo(Asset anotherAsset)
So for example, here is an illustration of how the current code works. I know this may not be a perfect representation of a c开发者_如何学JAVAomposite, but I wasn\'t sure what else to call it:
So I have a database with 2 tables - Workflows and WorkflowSteps I want to use the rows stored there to create objects in java BUT the catch is that I want to have my database code separated from my a
I\'m writing a Django app that works like a newspaper.I have articles and then I have customized versions of those articles that appear in certain contexts.So, I could have a version of an article tha
For any windows application there is a requirement to enable or disable menu items and buttons 开发者_运维问答based on certain properties of a selected object. What are the design patterns you have em
If I have a proxy pattern Class A and proxy for that is Class PrxA. Question1 If I define few functions as virtual in A are those supposed to be defined as virtual even in PrxA?