[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


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!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.