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

RE: Transformative Programming: Flow-based, functional,and mor

  • From: David Lee <dlee@calldei.com>
  • To: Peter Hunsberger <peter.hunsberger@gmail.com>, Simon St.Laurent<simonstl@s...>
  • Date: Thu, 17 Oct 2013 22:53:23 +0000

RE:  Transformative Programming: Flow-based

I was thinking of this myself and perhaps its a profound misunderstanding ....

The correlation between when there is little tolerance for errors vs when specs are needed vs change .

 

In a pipeline say like

 

Outside World 1 -> my pipeline -> step a -> step b -> step c -> Outside World 2

 

Inside My World (step a, step b etc)  there may be very little tolerance for errors, because its a tightly controlled

situation and because the same person or group is maintaining the inputs and outputs.  It's not worth the effort and performance and development costs  to enforce data integrity at every step.

Its also a place where changes can and need to happen frequently.

This is where I would NOT bother with a schema.   Change should happen as needed and all parties would tend

to be closely communicating.   Less validation would be done, more expectation that data is already in the format needed,

and produce exactly what the next step wants.

 

Outside My World   (say the Big Input and Big Output) is where I would want schemas ...

say for example,  HL7 In, and HTML Out.

These are interfaces which I dont want to change often, where the parties involved may not be communicating closely,

where frequent change is a generally detrimental and a tight schema has the highest value to help make the process work

with the least risk.

 

I am not at all sure if this is entirely opposite of what Simon is saying or exactly the same thing but stated differently ...

 

 

----------------------------------------

David A. Lee

dlee@calldei.com

http://www.xmlsh.org

 

From: Peter Hunsberger [mailto:peter.hunsberger@gmail.com]
Sent: Thursday, October 17, 2013 6:36 PM
To: Simon St.Laurent
Cc: xml-dev@lists.xml.org
Subject: Re: Transformative Programming: Flow-based, functional, and more

 

Hi Simon,

 

I'll buy into your view on REST, maybe a better fit is something like Web Sockets?  However, I can't agree with you in regards to tighter specs inside applications and looser between them.  Are you suggesting that (for example) a Java method that has a single String as it's input and output needs a full XSD or some other more formal spec?  I suspect you're indulging in a bit of hyperbole in that, flexibility between applications in what they can accept might simplify the world, but you know as well as anyone that not everything can be mapped to name value pairs or tuples and left at that?


Peter Hunsberger

 

On Wed, Oct 16, 2013 at 4:32 PM, Simon St.Laurent <simonstl@simonstl.com> wrote:

On 10/16/13 4:23 PM, Peter Hunsberger wrote:

Seems pretty coherent so far.  I think maybe part of your discomfort
with REST in this context is that it requires standardization of the
data interchanged across the boundaries?

 

Actually, part of my fondness for REST lies in its not requiring data standardization.  That's been a part of what people (mistakenly IMHO) do with REST, but it's not central to the approach.

The problem is more that REST is about manipulating resources than about flow through a pipeline.  I know REST is flexible enough to handle most everything, but I'm not convinced it's actually a natural fit.

 

If so, you may want to explore
to what extent that is true since REST is an obvious target, even with
the single Enterprise, at least at the higher levels of granularity (as
evidenced by Amazon WS for example).  That could still give you a
consistent story (and an interesting one in and of itself): the more
granular you go the less formal the needs of the interchange format.
  So, between Enterprises you (well at least some people) might even
allow for XSD and their ilk, but within an application you get closer to
Unix pipes. etc.

 

Actually, I'm pretty sure at this point that the computing world needs the opposite of that.  Tighter specifications inside of applications, looser connections between them (and between organizations).

Thanks,


--
Simon St.Laurent
http://simonstl.com/

_______________________________________________________________________

XML-DEV is a publicly archived, unmoderated list hosted by OASIS
to support XML implementation and development. To minimize
spam in the archives, you must subscribe before posting.

[Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
Or unsubscribe: xml-dev-unsubscribe@lists.xml.org
subscribe: xml-dev-subscribe@lists.xml.org
List archive: http://lists.xml.org/archives/xml-dev/
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php

 



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


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.