Partially valid data - followup on the comments

XAF Team Blog
28 March 2008

Thanks to everybody for your comments on my post Partially valid business objects, they are most appreciated.

First I need that I was probably not very clear on my own intent in that first post. At this stage, while I was reviewing the suggestion for inclusion in our release plans, my primary intent is to find out whether we are actually missing some important use case, either around validation (as the suggestion hinted) or on its own. The result is no, we're not missing anything important - in other words, there's room for improvement as opposed to a glaring omission.

Here's what I'm taking away from the discussion:

  1. There doesn't appear to be a use case that can't be solved by using flags in the object. In fact, in all the cases that were mentioned, this seems to be the easiest and most effective solution.
  2. It is of course possible to write a controller to perform some sort of check over data and inform the end user about certain "special states" that are important outside the "real" data validation process. It would be nice to simplify this process and that would be a feature that comes closest to the original suggestion. At the same time I stand by my original comments - in these cases a warning that appears when the user enters the data is just the tip of the iceberg. I'll consider adding this feature in the future.
  3. Many applications could benefit greatly from workflow support, since it seems to be the rule rather than the exception that processes are handled in multiple steps, often by more than one person. This is not news to us - not all of you have probably been around for long enough, but during the pre-release phase we had a release or two that included our Windows Workflow Foundation integration. Unfortunately we had to push that feature away because its completion would have taken too much time. WF integration is now planned only for 2008.3, since it depends on a few other things that won't be completed before then.
Tags
4 comment(s)
Linton
Linton

Thanks for posts like these, Oliver, your continued transparency is very much appreciated by my group.

I'm happy to hear WF integration is targeted for this year: Our use-cases are *heavily* WF oriented and we'll be ready-and-willing to participate in the process as soon as a beta is released.

Secondly, I've been around for a long time, and every time DevEx makes a forward-looking statement you guys get hammered by people posting "hurry-up!" and every other sort of twisted logic gets spewed about as I watch developers transform into the "monster" customers we normally despise.

Having said that, would you be willing to put your head in the guillotine and show us what's planned in 2008.2 -- specifically I'm interested in details about "...a few other things" that need to be completed before WF is implemented: I'm guessing they're architectual in nature.

Again, thanks for the posts. Linton

28 March, 2008
Oliver Sturm (DevExpress)
Oliver Sturm (DevExpress)

Hi Linton,

Thanks for your comments. The "few other things" are mainly concerning the domain model reusability changes that Roman has blogged about a few times. His latest article on the topic is here: community.devexpress.com/.../reusable-domain-models-strikes-back.aspx

These efforts will see major changes in the base class library, and while we'll keep everything as backwards compatible as we can for our customers, we want to take advantage of the new features for new modules that need base classes - WF is one of those, and so we've scheduled it to depend on the domain module changes.

28 March, 2008
Mark Krasnohorsky
Mark Krasnohorsky

Hi Oliver,

Thank you for providing an update on WWF and the new IOC based domain model reusability. Architectural functionality such is this is always welcome, and much more important than cosmetic functionality such as "warnings" for validation.

MK

29 March, 2008
Anonymous
eXpress App Framework Team

This is post no. 3 in the mini series "10 exciting things to know about XAF". You can find

25 January, 2012

Please login or register to post comments.