Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

RESTful Web Services @AnkaraPHP meetup


Published on

Slide has been prepared for AnkaraPHP meetup organization to aware student and industry professionals about RESTful Web Services, SOA, and etc.

  • Be the first to comment

  • Be the first to like this

RESTful Web Services @AnkaraPHP meetup

  1. 1. RESTful Web Services
  2. 2. 2 little little into the middle RESTful Web Services What is it? Why do we need?
  3. 3. 3 Before Now After Alternatives?
  4. 4. 4 backslash ınız düz bassın! bon appétit Pros & Cons Questions & Remarks
  5. 5. What is it? REpresentational State Transfer, A new way to talk, since 2000 by Roy Thomas Fielding
  6. 6. 6 walk in some great details What is it? Performance user-perceived performance and network efficiency[ Scalability increases the scalability of pure server components Simplicity of a Uniform Interface A simple, well-defined, structured text-based response structure Visibility communication between components Portability components by moving program code with the data Reliability resistance to failure at the system level
  7. 7. 7 RESTful principles: simple, lightweight & fast What is it? Resource identification through URI /users/Galileo Uniform interface PUT, GET, POST, and DELETE Stateful interactions? Stateless! Put the state information in in the payload or reponse Self-descriptive messages HTML, XML, plain text, PDF, JPEG, JSON, and others
  8. 8. 8 finally? What is it? Traditional thinking: ”A Web service is a method of communications between two electronic devices over the WWW.”
  9. 9. Why do we need? REST in piece ((((:
  10. 10. 10 put your great subtitle here What We do WWW Mobile API Anywhere!
  11. 11. 11 Enlarge your application mobility with RESTful web services: Windows Phone, Android, iOS, Mobile Web ” “ Mobile App Development
  12. 12. 12 Platform independent Layered StatesAny client - Any Server Resource Organised
  13. 13. 13 API Integrate your services with ANY 3rd party vendors/softwares or internal services(micro) ” “ fzk
  14. 14. 14 inspired by Java - Sun Microsystems WORA + A! Write your services Once regarding data or request and Run it to Anyone from Anywhere
  15. 15. Before ?
  16. 16. 16 Look at the timeline SOAP Simple Object Access Protocol RPC Remote Procedure Call
  17. 17. 17 WSDL Web Services Description Language RESTful
  18. 18. NOW
  19. 19. RESTful is the RockStar All the most popular and huge companies use RESTful services for their own application(s).
  20. 20. 20 Who uses? Twitter Facebook Pinterest Instegram Snapchat
  21. 21. 21 After
  22. 22. 22 Let’s discuss!
  23. 23. 23 Alternatives Asynchronous APIs WebSockets, MQTT, AMQP, Stomp, WebHooks SDKs Orchestration / Experience APIs takes generically-modeled data elements and/or features and prepares them in a more specific way for a targeted developer or application Binary Protocols Apache Thrift, Google Protocol Buffers
  24. 24. 24 Pros & Cons Security? Complexity? Fast? Simplicity Well-defined/structured WORA + A
  25. 25. 25 WHAT WHY WHERE WHEN WHO HOW Questions & Remarks ???
  26. 26. 26 Fatih Karatana Lead Software Architect @ Turksat Get in Touch
  27. 27. THANKS FOR WATCH !!!