I've looked at the CpBT examples in uNhAddins and they look really promising. I have two questions though.
Firstly, it's very usual in the way I've build my system for business logic to be split up into several methods that are called in groups, which together perform the correct mutations. The reason for this is that from different entry points, different sets of business logic need to be executed. When these calls themselves manage the conversation, this would mean that for every method, a transaction would be started and stopped. Does this pose a significant performance overhead? Secondly, I have a problem separating concerns from my view. The problem is that my data grid views are built dynamically. Currently, my view provides an ICriteria with some basic filters (`not deleted', `active', stuff like that) and that the dynamic grid builder completes this ICriteria with the values of the dynamic filters. When I move to a clean CpBT model, I would not be able to use the ICriteria anymore, certainly not in this fashion. I see three options: 1) Use this existing model and cheat specifically for the dynamic grids; 2) Create methods on my PersistenceConversationalModel (Controller) classes that take a parameter for each possible filter. This would mean I'd have to program each data grid and would loose the dynamic aspect, and I would get many methods with many many parameters; 3) Abstract the dynamicaly created filters into something I can pass onto the PersistenceConversationalModel class, and parse this into an ICriteria there. This would be something similar to what ICriteria would use and would allow filters to be expressed in such a model. Suggestions? A thing to note here is that I'm planning on creating literally thousands of data grids (our legacy system has over 3000). -- You received this message because you are subscribed to the Google Groups "nhusers" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/nhusers?hl=en.
