Introduction to web services and how to in php

1,307 views

Published on

Introduction to web services and how to using php, I gave this talk at Gnunify'09

Published in: Technology
0 Comments
3 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,307
On SlideShare
0
From Embeds
0
Number of Embeds
30
Actions
Shares
0
Downloads
124
Comments
0
Likes
3
Embeds 0
No embeds

No notes for slide

Introduction to web services and how to in php

  1. 1. Introduction to Web Services and HOW-TO in php
  2. 2. AGENDA <ul><li>Web services introduction </li></ul><ul><li>Web Service Architecture </li></ul><ul><li>Consuming web services </li></ul><ul><li>How-to with PHP </li></ul><ul><li>Summary </li></ul>
  3. 3. What is Web Service ? <ul><ul><li>A WEB SERVICE is a distributed unit of business logic that can be accessed over the internet standard web protocols, such as HTTP, and that uses XML for sending and receiving messages. </li></ul></ul><ul><ul><li>A Web service is a software system designed to support interoperable machine-to-machine interaction over a network.(w3c). </li></ul></ul><ul><ul><li>Technically, its is a way to link loosely coupled systems using technology that doesn’t bind them to a particular programming language, component model, or platform. </li></ul></ul>
  4. 4. Why Web Services ? <ul><ul><li>Allows businesses to use the internet to publish , discover, and aggregate services. </li></ul></ul><ul><ul><li>Solve interoperability in a platform-neutral way. </li></ul></ul><ul><ul><li>Provides a solution to bypass firewalls, thus allowing client to access a remote service. </li></ul></ul>
  5. 5. Web Service VS Web Pages Network Transport Messaging Description Discovery UDDI, WSIL, ebXML WSDL, RDF, ebXML SOAP, XML-RPC(XML)‏ HTTP, SMTP, FTP TCP/IP, UDP LAYERS PROTOCOL/STANDARD
  6. 6. Consuming Web Services Service Listener Service Interface Service Implementation Network Calls SOAP Response Execution Return Values/Result Php code SOAP implementation & WSDL Description Apache HTTP server SOAP request via HTTP POST
  7. 7. Consuming Web Services Way: SOAP: Simple Object Access Protocol XML-PRC: XML Remote Procedure Call REST : Representational State Transfer

×