RESTful
Web Services
2
little little into the middle
RESTful Web Services
What is it?
Why do we need?
3
Before
Now
After
Alternatives?
4
backslash ınız düz bassın!
bon appétit
Pros & Cons
Questions & Remarks
What is it?
REpresentational State Transfer, A new way to talk, since 2000
by Roy Thomas Fielding
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
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
finally?
What is it?
Traditional thinking: ”A Web service is a method of communications between two electronic devices over
the WWW.”
Why do we need?
REST in piece ((((:
10
put your great subtitle here
What We do
WWW Mobile API Anywhere!
11
Enlarge your application mobility with RESTful
web services: Windows Phone, Android, iOS,
Mobile Web
”
“
Mobile App
Development
12
Platform independent
Layered StatesAny client - Any Server Resource Organised
13
API
Integrate your services with ANY 3rd party
vendors/softwares or internal
services(micro)
”
“
fzk
14
inspired by Java - Sun Microsystems
WORA + A!
Write your services Once regarding data or request and Run it to Anyone from
Anywhere
Before
?
16
Look at the timeline
SOAP
Simple Object Access Protocol
RPC
Remote Procedure Call
17
WSDL
Web Services Description Language
RESTful
NOW
RESTful is the RockStar
All the most popular and huge companies use RESTful services for their own
application(s).
20
Who uses?
Twitter Facebook Pinterest Instegram Snapchat
21
After
22
Let’s discuss!
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
Pros & Cons
Security?
Complexity?
Fast?
Simplicity
Well-defined/structured
WORA + A
25
WHAT WHY WHERE WHEN WHO HOW
Questions & Remarks ???
26
fatih@karatana.com
Fatih Karatana
Lead Software Architect @ Turksat
Get in Touch github.com/fatihzkaratana
THANKS FOR WATCH !!!

RESTful Web Services @AnkaraPHP meetup