[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Are people really using Identity constraints specif ied in

  • To: "Bullard, Claude L (Len)" <len.bullard@i...>,"Michael Kay" <michael.h.kay@n...>,"Roger L. Costello" <costello@m...>, <xml-dev@l...>
  • Subject: RE: Are people really using Identity constraints specif ied in XML schema?
  • From: "Hunsberger, Peter" <Peter.Hunsberger@S...>
  • Date: Tue, 24 Aug 2004 08:47:09 -0500
  • Thread-index: AcSJIY4uLXikKgyVRTeJ68YlrdEIegAviW1Q
  • Thread-topic: Are people really using Identity constraints specif ied in XML schema?

xmlbeans identity constraints
Bullard, Claude L (Len) <len.bullard@i...> writes:

> Let's ask the question another way.  Considering that a schema 
> only knows how to do one thing, test conformance of an instance 
> to itself, where should a schema sit in a model-view-controller 
> architecture?  

Cheap shot: as far away as possible....  

> 
> A user interface is likely doing all of the following:
> 
> " 
>
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpag/h
tml/uipab-ch01.asp
>
> 1 Managing the flow of information through the user interface
components 
> 2 Managing the transitions between stages of a user interface process 
> 3 Modifying user process flow in response to exceptions 
> 4 Separating the conceptual user interaction flow from the
implementation or device where it occurs 
> 5 Maintaining internal business-related state, usually by holding on
to one or more business entities > that are affected by
>   the user interaction 
> 6 Accumulating data taken from many UI components to perform a batch
update at the server 
> 7 Keeping track of the progress of a task in a user interface process"
> 
> It seems to me that items 3,5 and 6 are pertinent.  

I find MVC to be an incomplete model, but playing along with this for a
moment, what about 1?  Early validation that what the user entered is
what the application expects is always good?

> Would I want to use the schema 
> to find exceptions that modify user process flow given this also
affects transition 
> management?  Likely not.  Maintain internal business state?  No.
Verify that data 
> taken from many components are valid priot to performing a batch
update? Ok. That 
> looks like a good candidate.  But is it?

Well, if you're trying to protect the back end from bad data (assuming
it can't protect itself) then it seems like another good spot.  Given
the current state of the Web I've come to assume that the ideal
architecture would do duplicate validation.  Once up front with fancy
JavaScript UI type interaction and once again on the back end for
browsers that don't support JavaScript or people who need to otherwise
circumvent the normal UI.  Never built such a system, but with our
current system it would be relatively easy (a couple person months) to
do.



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.