[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Are people really using Identity constraints specified in
It depends on the consequence. In a recent case locally, a restaurant that was working juveniles (under 16) excess hours paid fines. A business rule must have a consequence, and since policy tends to be very local, putting these in any component shared across boundaries is unfit design. It is a matter of which component do you wish to emit the exception. One might want to log it but now we have to discuss access and transparency requirements, aka, who's zoomin' who. len From: Michael Kay [mailto:michael.h.kay@n...] > Often it will > be correct, valid data, revealing that the business rules > have indeed been breached. > To take Len's example, if the business rules say that an employee must not work more than 40 hours and the employee says he has worked 43, what should happen? Do you want the database to record incorrect data, on the basis that the correct data is unpalatable?
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|