[unclassified] [MOBY-l] List of services

Phillip Lord p.lord at russet.org.uk
Mon Oct 13 08:26:37 EDT 2003



>>>>> "Mark" == Mark Wilkinson <markw at illuminae.com> writes:

  Mark> Ken Steube wrote:

  >> (I agree with Phillip that a simple article should be a
  >> collection with one entry).
  >>
  Mark> Most of these architectural considerations were examined and
  Mark> abandoned early in the process (though granted this was
  Mark> without much discussion on the list).

  Mark> The reason it is the way it is: by separating collections from
  Mark> simples, we can precisely define the inputs to a service - a
  Mark> single object, a defined number of objects, or an undefined
  Mark> number of objects, as well as any combination of these (e.g. a
  Mark> collection of sequences plus a single sequence as a service
  Mark> input).  

And the cost is that you have to consider the case where a service
takes a collection with a single item, or a single item, separately. 


  Mark> This could not (unambiguously) be defined with Phillips
  Mark> suggestion without adding another parameter to the service
  Mark> signature... which then becomes six or a half dozen.

Please, only my mother calls me "Phillip"...

Cheers

Phil



More information about the moby-l mailing list