ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> ws-dev
ws-dev
Re: Design decision
by Cameron Laird other posts by this author
Nov 26 2001 9:15PM messages near this date
view in the new Beta List Site
Design decision | Re: Design decision
>  From ws-dev-admin@[...].com  Tue Nov 20 19:35:59 2001
>  		.
>  		.
>  		.
>  Let's say you want to look something up in your WSDL data structure. It
>  could be a port, an element, a type, etc.

>  My original idea is that you would do something like
>  $WSDL->FindPort(...)

>  Gisle had the idea that you could do $WSDL->Find("port", ...)

>  The benefits of my way is that it is more traditional and has better
>  compatibility with statically typed languages like Java.

>  The benefits of Gisle's is that in theory you could increase the list of
>  component types you could look up without changing the API. XML Schema
>  does have a notion of component that is not unlike Gisle's.

>  I think I still prefer my way because it doesn't introduce a new concept
>  of "component" and "component type" with an enumeration of component
>  types. I can't really imagine how you would extend the list of component
>  types and I don't know how you could use new component types in code
>  without knowing their semantics in advance.
>  		.
>  		.
>  		.
I did the first (and only, so far) cut of WSDL4TCL
in Gisle's style, 'cause that's far more idiomatic
to my way of speaking Tcl.

It'd be quite a pain with Java and such, though, I
agree.
_______________________________________________
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

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved