We are building a layered solution where we will have a "Domain layer" where we have all the business logic etc.
Is there any design patterns how to use this logic from InfoPath so when a rule change in the Domain layer it automaticly is
used by the InfoPath form..
Compare Enterprise lib Validation Application Block ...Quote
"Any application that accepts input either from users or from other systems must ensure that the information is valid in terms of some set of rules that you specify. For example, when processing an order, you may need to check that a customer's phone number has the correct number of digits, or that a date falls within a particular range. In addition, if the validation fails, you may need to send an error message that explains what is wrong.
The Enterprise Library Validation Application Block provides a library of classes, called validators, that supplies the code for validating .NET Framework data types. For example, one validator checks for null strings and another validator checks that a number falls within a specified range."
The cool thing would be to use this from InfoPath