6. What is a Web Service?
Public Interface (API)
Provides access to data stores
Provides access to procedures
On a remote/external systems
7. Why provide APIs/Web services?
Your application is in fact a service therefore is in your interest
to let users use the service even outside the application
You want other applications to use your data but in the same
time control it.
Is easier/cheaper to build on top
You have to integrate with something ,sometimes anyway
8. Why use APIs/Web services?
Access external data stores
Enhance your application with extra functionality by using an
external yet integrated service
Easy integration
9. Why is integration so important?
80% of the enterprise software developed/year has integration
requirements from the client
15%(aprox) of the ecommerce websites have some sort of
integration
Cloud computing & SaS are coming( actually are here
already)
10. Major swifts
Closed Application
Architecture
(Walled gardens)
Closed Application
Architecture
(Walled gardens)
Open Web
Architecture
(Loosely coupled)
Open Web
Architecture
(Loosely coupled)
Low level architects &
developers
Low level architects &
developers Frontend developersFrontend developers
13. HTTP SQL CRUD
POST INSERT CREATE
GET SELECT READ
PUT UPDATE UPDATE
DELETE DELETE DELETE
14. RESTfull Design
1 Determine the resources
1 Determine which method each resource will support
1 Link the resources together
1 Develop data schemas
1 Choose the best format to represent the schemas
(JSON,XML,Text e.t.c)