← Prev in month
← Prev in thread
[wsrp-interfaces] [wsia][wsrp][wsrp-wsia joint interfaces]: Analternative
The attached is an alternative proposal to draft 0.1.2. Its a more
simplified interface based on a (web) service model (not OO). It
assumes the consumer provides the (transient) entity key to the
producer. For simplicity I haven't defined these as bulk operations.
My personal preference is if we want to support bulk operations then
such operations would be added vs. replace these. Also I have taken a
little different tack in defining each methods incoming parameters. I
have separated what I thought were the logical base parameters to the
method from the contextual parameters -- those that identify the
consumer, the user etc. This later group is packaged into a single data
element as a Call Context. As the context varies a little for each
method, each method has its own call context defined.
Also, I have left out the Action method pending my understanding if/why
we need it. Finally, so I can get this out today, I leave describe()
and setProperties() as an exercise for the reader.
I hope you will find this API not only a little simplier/clearer but
also more manageable. I think it creates far fewer "dynamic" references
that hopefully lead to more performant and scalable systems. Please let
me know what you think.
-Mike-
← Prev in month
← Prev in thread