Both REST ( Representational states transfer) and SOAP is widely adopted techniques for building distributed systems. REST is an architectural style for implementing systems on top of HTTP infrastructure. A large number of Specifications has been developed on top of SOAP and there are large number of SOAP stacks both open source and proprietary out there implementing large part of this WS* stack.
Both these d techniques have their advantages and drawbacks. Here are few of the advantages and disadvantages of each paradigm.
REST
Advantages
1. Based on few simple principles which are already in wide adoption on the Web itself
2. Can be implemented very quickly.
3. Ideal for providing simple API's to the users. (Eq Whether Services, Flicker, Yahoo REST services )
4. Amount of learning required to get started is minimum in comparison to SOAP
5. Has a very large following amount the scripting community
Disadvantages
1. If the system is a very large one, then designing based on REST could become a very complex task.
2. Implementing Security on a REST system is one major issues. Although HTTPS, and HTTP Authentication can be used, they only provide transport level security.
SOAP
Advantages
1. Well designed mature technology
2. Has been widely adopted in industry
3. Large number of SOAP stacks available to choose from.
4. Has support for Both Transport level and message level security which is a big advantage over REST.
5. Supports multiple protocol bindings ( Not just HTTP)
6. Ideal for implementing complex enterprise systems since the SOAP Stacks cater for security, reliability, transactions ect.
Disadvantages
1. Complex in comparison to REST
2. Big learning curve required
3. Difficult to debug a complex system
One great thing about using WSF/PHP is that it can support Both of these techniques simultaneously. However, if you are building a complex system which require security, I would always recommend the use of SOAP.
2 comments:
Useful post thank you. My web development business typically recommends SOAP for web services implementations. Always good to compare the options before making the decision though...
Check out my new computer/technology blog Acuras Blogger if you have the time. Thanks again!! And keep up the good work!!
米蘭情趣用品我情趣用品我情趣我飛機杯我自慰套我充氣娃娃我AV女優我按摩棒我跳蛋我潤滑液我角色扮演我情趣內衣我自慰器我穿戴蝴蝶我變頻跳蛋我無線跳蛋我電動按摩棒我情趣按摩棒我丁字褲我G點我SM我後庭
視訊美女我視訊做愛
網頁設計
我網頁我設計
Post a Comment