Re: Design decision
by Paul Kulchenko other posts by this author
Nov 21 2001 5:11AM messages near this date
view in the new Beta List Site
Re: Design decision
|
Re: Design decision
Hi, Paul!
FWIW it looks good to me. We didn't discussed API for updates, did
we? Any plans? Should we use the same method: -> Port("name") to get
value and -> Port("name", $new_value) to update/assign a new value?
Something else?
Best wishes, Paul.
--- Paul Prescod <paulp@[...].com> wrote:
> Gisle and I discussed it more and came up with an idea that I think
> is okay.
>
> $foo->Ports # list of ports
> $foo->Port(...) # find a port by name and namespace
>
> They look similar but the big differences are:
>
> 1. ->Ports is a list, not a single port
> 2. ->Ports returns the ports in THIS WSDL. ->Port("...") finds a
> port
> in any included or imported WSDL
>
> Arguably Port(....) could be called findPort or resolvePort but the
> bare
> name seemed clear enough.
>
> Paul Prescod
__________________________________________________
Do You Yahoo!?
Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
http://geocities.yahoo.com/ps/info1
_______________________________________________
Ws-dev mailing list
Ws-dev@[...].com
http://listserv.ActiveState.com/mailman/listinfo/ws-dev
Thread:
Paul Prescod
Cameron Laird
Paul Prescod
Chris Radcliff
Rich Salz
Paul Prescod
Paul Kulchenko
Paul Prescod
Paul Prescod
|