Why APIs are Different Than Integration
-
Upload
apigee -
Category
Engineering
-
view
114 -
download
0
description
Transcript of Why APIs are Different Than Integration
![Page 1: Why APIs are Different Than Integration](https://reader033.fdocuments.net/reader033/viewer/2022061300/54c89a484a795944758b456b/html5/thumbnails/1.jpg)
APIs != Integration
![Page 2: Why APIs are Different Than Integration](https://reader033.fdocuments.net/reader033/viewer/2022061300/54c89a484a795944758b456b/html5/thumbnails/2.jpg)
Ed Anuff@edanuff
Brian Pagano@brianpagano
![Page 3: Why APIs are Different Than Integration](https://reader033.fdocuments.net/reader033/viewer/2022061300/54c89a484a795944758b456b/html5/thumbnails/3.jpg)
groups.google.com/group/api-craft
![Page 4: Why APIs are Different Than Integration](https://reader033.fdocuments.net/reader033/viewer/2022061300/54c89a484a795944758b456b/html5/thumbnails/4.jpg)
youtube.com/apigee
![Page 5: Why APIs are Different Than Integration](https://reader033.fdocuments.net/reader033/viewer/2022061300/54c89a484a795944758b456b/html5/thumbnails/5.jpg)
slideshare.com/apigee
![Page 6: Why APIs are Different Than Integration](https://reader033.fdocuments.net/reader033/viewer/2022061300/54c89a484a795944758b456b/html5/thumbnails/6.jpg)
community.apigee.com
![Page 7: Why APIs are Different Than Integration](https://reader033.fdocuments.net/reader033/viewer/2022061300/54c89a484a795944758b456b/html5/thumbnails/7.jpg)
Agenda
• What is integration?• The A in API is for apps• All development is API
development
CC-BY-SA
![Page 8: Why APIs are Different Than Integration](https://reader033.fdocuments.net/reader033/viewer/2022061300/54c89a484a795944758b456b/html5/thumbnails/8.jpg)
Why?
• The app developer is king
• The right tool for the job
CC-BY-SA
![Page 9: Why APIs are Different Than Integration](https://reader033.fdocuments.net/reader033/viewer/2022061300/54c89a484a795944758b456b/html5/thumbnails/9.jpg)
What is Integration?
Typically backend-to-backend, sometimes application to application
Often connector-based
MQ, ESB, EAI, ORBs
CC-BY-SA
![Page 10: Why APIs are Different Than Integration](https://reader033.fdocuments.net/reader033/viewer/2022061300/54c89a484a795944758b456b/html5/thumbnails/10.jpg)
The A in API is for Apps
Rich clients(Visual Basic, Delphi, etc.)
Web applications(app servers)
Rich clients(mobile apps)
CC-BY-SA
![Page 11: Why APIs are Different Than Integration](https://reader033.fdocuments.net/reader033/viewer/2022061300/54c89a484a795944758b456b/html5/thumbnails/11.jpg)
App
CC-BY-SA
![Page 12: Why APIs are Different Than Integration](https://reader033.fdocuments.net/reader033/viewer/2022061300/54c89a484a795944758b456b/html5/thumbnails/12.jpg)
Modern Server-side App• Often runs in an app server
• Monolithic presentation and business logic
• Hosted in an environment (often a virtualized container)
• Increasingly lightweightCC-BY-SA
![Page 13: Why APIs are Different Than Integration](https://reader033.fdocuments.net/reader033/viewer/2022061300/54c89a484a795944758b456b/html5/thumbnails/13.jpg)
App
Backend
CC-BY-SA
API
![Page 14: Why APIs are Different Than Integration](https://reader033.fdocuments.net/reader033/viewer/2022061300/54c89a484a795944758b456b/html5/thumbnails/14.jpg)
Apps Need Resources
• Databases and storage
• Email services
• Sometimes integration-based, but increasingly API-based
CC-BY-SA
![Page 15: Why APIs are Different Than Integration](https://reader033.fdocuments.net/reader033/viewer/2022061300/54c89a484a795944758b456b/html5/thumbnails/15.jpg)
12-Factor Apps
MIT License
Adam Wiggins http://12factor.net/
IV. Backing ServicesTreat backing services as attached resources
![Page 16: Why APIs are Different Than Integration](https://reader033.fdocuments.net/reader033/viewer/2022061300/54c89a484a795944758b456b/html5/thumbnails/16.jpg)
Cloud Business Services• Database-as-a-Service
• Storage-as-a-Service• Email-as-a-Service• MQ-as-a-Service
All are already in widespread use…
CC-BY-SA
![Page 17: Why APIs are Different Than Integration](https://reader033.fdocuments.net/reader033/viewer/2022061300/54c89a484a795944758b456b/html5/thumbnails/17.jpg)
Internal Resources
Many new resource services already are API-based
Developers prefer to use APIs even with the added work of learning APIs versus ESB approaches
CC-BY-SA
![Page 18: Why APIs are Different Than Integration](https://reader033.fdocuments.net/reader033/viewer/2022061300/54c89a484a795944758b456b/html5/thumbnails/18.jpg)
App
Front end
Backend
CC-BY-SA
App
Backend
CC-BY-SA
API
API
![Page 19: Why APIs are Different Than Integration](https://reader033.fdocuments.net/reader033/viewer/2022061300/54c89a484a795944758b456b/html5/thumbnails/19.jpg)
Appcode
SDKServer
infrastructureAPI
Mobile API Architecture
CC-BY-SA
![Page 20: Why APIs are Different Than Integration](https://reader033.fdocuments.net/reader033/viewer/2022061300/54c89a484a795944758b456b/html5/thumbnails/20.jpg)
Clients
Mobile clients talking to server-side apps via an API• TIGHTLY-COUPLED•NOT INTEGRATION, NOT SOA
HTML5/JS and single page apps
CC-BY-SA
![Page 21: Why APIs are Different Than Integration](https://reader033.fdocuments.net/reader033/viewer/2022061300/54c89a484a795944758b456b/html5/thumbnails/21.jpg)
App
Front end
Backend
AppApp
CC-BY-SA
API
API
APIAPI
![Page 22: Why APIs are Different Than Integration](https://reader033.fdocuments.net/reader033/viewer/2022061300/54c89a484a795944758b456b/html5/thumbnails/22.jpg)
App-to-App
API-centric: app developers expose their own APIs and learns others’ APIs
Integration: normalized data interchange
Agility trade-off
CC-BY-SA
![Page 23: Why APIs are Different Than Integration](https://reader033.fdocuments.net/reader033/viewer/2022061300/54c89a484a795944758b456b/html5/thumbnails/23.jpg)
Front end
Backend
AppAppServi
ceServi
ceServi
ce
Service
Service
Service
Service
Service
Service
Micro service architecture
CC-BY-SA
APIAPI
API
API
![Page 24: Why APIs are Different Than Integration](https://reader033.fdocuments.net/reader033/viewer/2022061300/54c89a484a795944758b456b/html5/thumbnails/24.jpg)
Micro-Services
Components are services, not in-process objects
Allows polyglot programming
Easier to scale component services individually
CC-BY-SA
![Page 25: Why APIs are Different Than Integration](https://reader033.fdocuments.net/reader033/viewer/2022061300/54c89a484a795944758b456b/html5/thumbnails/25.jpg)
to summarize…
![Page 26: Why APIs are Different Than Integration](https://reader033.fdocuments.net/reader033/viewer/2022061300/54c89a484a795944758b456b/html5/thumbnails/26.jpg)
APIs != IntegrationAPIs are used for both integration and non-integration use-cases
APIs are used to facilitate communications to the backend
APIs enable powering engagement at the front-end
APIs connect applications to applications
App components are being built as micro-services
CC-BY-SA
![Page 27: Why APIs are Different Than Integration](https://reader033.fdocuments.net/reader033/viewer/2022061300/54c89a484a795944758b456b/html5/thumbnails/27.jpg)
Questions?
Ed Anuff@edanuff
Brian Pagano@brianpagano
![Page 28: Why APIs are Different Than Integration](https://reader033.fdocuments.net/reader033/viewer/2022061300/54c89a484a795944758b456b/html5/thumbnails/28.jpg)
community.apigee.com
![Page 29: Why APIs are Different Than Integration](https://reader033.fdocuments.net/reader033/viewer/2022061300/54c89a484a795944758b456b/html5/thumbnails/29.jpg)
Resources
Community: http://community.apigee.com/
Webcasts: http://apigee.com/about/api-best-practices/all/webcast
eBooks: http://apigee.com/about/api-best-practices/all/ebook
Institute: http://pages.apigee.com/institute.html
Learn: http://community.apigee.com/learn
I Love APIs: http://apigee.com/about/iloveapis-conference
![Page 30: Why APIs are Different Than Integration](https://reader033.fdocuments.net/reader033/viewer/2022061300/54c89a484a795944758b456b/html5/thumbnails/30.jpg)
Thank you!