GeorgeGaz
17-08-09, 12:58
Hello all,
With the release of v3 underway, ShopWindow development have found themselves twiddling their thumbs ... :o (well actually they have been moved onto other projects but let's see if we can give them something meaty to get their coding digits in to).
ShopWindow is, and always has been, built using SOAP, however, a REST API has been mentioned time and time again and is worth looking into (as it is something that the timeline for v3 did not allow us to fully explore).
For those that are using the API (and those that have knowledge of APIs in general) I would like to begin a constructive thread about these two methods and how they can aid ShopWindow as a platform.
I, admittedly, am not a developer so forgive my ignorance. Members of the dev team will be involved in this thread in due course.
SOAP
Pros:
• Language, platform, and transport agnostic
• Designed to handle distributed computing environments
• Is the prevailing standard for web services, and hence has better support from other standards (WSDL, WS-*) and tooling from vendors
• Built-in error handling (faults)
• Extensibility
Cons:
• Conceptually more difficult, more "heavy-weight" than REST
• More verbose
• Harder to develop, requires tools
REST
Pros:
• Language and platform agnostic
• Much simpler to develop than SOAP
• Small learning curve, less reliance on tools
• Concise, no need for additional messaging layer
• Closer in design and philosophy to the Web
Cons:
• Assumes a point-to-point communication model--not usable for distributed computing environment where message may go through one or more intermediaries
• Lack of standards support for security, policy, reliable messaging, etc., so services that have more sophisticated requirements are harder to develop ("roll your own")
• Tied to the HTTP transport model
Source ( http://ajaxonomy.com/2008/xml/web-services-part-1-soap-vs-rest)
I look forward to reading (and hopefully understanding) what you guys think about this.
Cheers
With the release of v3 underway, ShopWindow development have found themselves twiddling their thumbs ... :o (well actually they have been moved onto other projects but let's see if we can give them something meaty to get their coding digits in to).
ShopWindow is, and always has been, built using SOAP, however, a REST API has been mentioned time and time again and is worth looking into (as it is something that the timeline for v3 did not allow us to fully explore).
For those that are using the API (and those that have knowledge of APIs in general) I would like to begin a constructive thread about these two methods and how they can aid ShopWindow as a platform.
I, admittedly, am not a developer so forgive my ignorance. Members of the dev team will be involved in this thread in due course.
SOAP
Pros:
• Language, platform, and transport agnostic
• Designed to handle distributed computing environments
• Is the prevailing standard for web services, and hence has better support from other standards (WSDL, WS-*) and tooling from vendors
• Built-in error handling (faults)
• Extensibility
Cons:
• Conceptually more difficult, more "heavy-weight" than REST
• More verbose
• Harder to develop, requires tools
REST
Pros:
• Language and platform agnostic
• Much simpler to develop than SOAP
• Small learning curve, less reliance on tools
• Concise, no need for additional messaging layer
• Closer in design and philosophy to the Web
Cons:
• Assumes a point-to-point communication model--not usable for distributed computing environment where message may go through one or more intermediaries
• Lack of standards support for security, policy, reliable messaging, etc., so services that have more sophisticated requirements are harder to develop ("roll your own")
• Tied to the HTTP transport model
Source ( http://ajaxonomy.com/2008/xml/web-services-part-1-soap-vs-rest)
I look forward to reading (and hopefully understanding) what you guys think about this.
Cheers