Upgrade to Pro — share decks privately, control downloads, hide ads and more …

apidays New York 2023 - Modernize your apps wit...

apidays New York 2023 - Modernize your apps with API Patterns, Hamida Rebai, Revenu Quebec

apidays New York 2023
APIs for Embedded Business Models: Finance, Healthcare, Retail, and Media
May 16 & 17, 2023

Modernize your apps with API Patterns
Hamida Rebai, Senior Advisor, Information and Solution Integration Architect, Revenu Quebec

------

Check out our conferences at https://www.apidays.global/

Do you want to sponsor or talk at one of our conferences?
https://apidays.typeform.com/to/ILJeAaV8

Learn more on APIscene, the global media made by the community for the community:
https://www.apiscene.io

Explore the API ecosystem with the API Landscape:
https://apilandscape.apiscene.io/

apidays

June 29, 2023
Tweet

More Decks by apidays

Other Decks in Programming

Transcript

  1. M i c r o s o f t M

    V P Microsoft MVP & MCT Software Architect Microsoft MVP in Developer Technologies Member and Speaker at dotnetfoundation Blogger and Technical writer Book Author Rebai Hamida – Medium Hamida Rebai Trabelsi | LinkedIn Rebaï Hamida – YouTube @rebaihamida
  2. TABLE OF CONTENT • API definition • API types •

    API Foundation • API Gateway pattern • Azure API Management service
  3. API DEFINITION • Application Programming Interface, is a set of

    programming instructions and protocols used to enable communication between software applications. • API that facilitates interaction between different software programs by defining how they can communicate and exchange information. • Save time and effort that allow more rapid development and innovation.
  4. TYPES OF API ARCHITECTURES • Rest APIs (Representational State Transfer):

    REST guidelines are: • Client-Server Separation. • Uniform Interface. • Stateless. • Layered system. • Cacheable. • SOAP API (Simple Object Access Protocol):defines how messages should be sent and what must be included in them. • GraphQL API: Developed by Meta in 2012 and open sourced in 2015, defined as a query language for APIs. • RPC: a protocol for invoking processes that can be written with XML, defined as a query language for APIs (XML-RPC) or JSON (JSON-RPC).
  5. API STRATEGY • Critical component of digital transformation. Establish a

    digital strategy Align organization and culture Evaluation and build supporting tech Engage the current ecosystem •build a strategic view of AIPs and API vision. •API Mindset, leadership and investments. •Align right metrics in the digital value chain. •Maintain and optimize
  6. API STRATEGY ESTABLISH A DIGITAL STRATEGY • The strategy is

    critical to the success of the rest steps. • Adopt a well-defined and executive-backed digital strategy. • Create an API ecosystem that focus on internal APIs first • Being open-minded to calculated risk is key for the strategy development process. • Identifying business outcomes • Identifying target audiences : • Visualize the API ecosystem. • Identify the internal and external participants. • Validate the ecosystem and business models
  7. API STRATEGY ALIGN ORGANIZATION AND CULTURE • Assemble full lifecycle

    API management platform/tools • Establish API architecture and automation platforms • Commence KPI consolidation and dashboarding • Activate best practices for universal API management, governance, observability, and discoverability
  8. API STRATEGY EVALUATION AND BUILD SUPPORTING TECH • Evaluate existing

    infrastructure. • Identify necessary technology. • Assess technology options. • Prioritize technology needs • Build support tech • Continuously evaluate and optimize
  9. API STRATEGY ENGAGE THE CURRENT ECOSYSTEM • Developer experience •

    Developer outreach • Partner program • API marketplace • Innovation initiatives
  10. API FOUNDATION • Frontend Integration • Backend Integration • API

    types: • Public API • Community API • Solution-Internal API • API Description
  11. API GATEWAY PATTERN • Integration pattern for clients that communicate

    with a system service. • Provide a single abstraction layer between the underlying services and the customer’s needs. • Single entry point for all clients. When should you consider using the API Gateway pattern?
  12. MAIN FEATURES OF API GATEWAY PATTERN Routing Request Aggregation Authentification

    Authorization Service Discovery Load Balancing Throttling Logging, Tracing Correlation Pas-Through Headers/ Query String Transformation Quality of Service Custom Middleware
  13. USE CASE Monitoring Microservices Web API - Container Platform Management

    Microservices Web API – Container Planning and Scheduling Microservices Web API - Container Billing Microservices Web API – Container Client Web App Client Mobile App Backend DB
  14. ONE API GATEWAY - SOLUTION Client Web App Client Mobile

    App Monitoring Microservices Web API - Container Platform Management Microservices Web API – Container Planning and Scheduling Microservices Web API - Container Billing Microservices Web API – Container Backend API gateway DB
  15. TWO API GATEWAY - SOLUTION Client Web App Client Mobile

    App Monitoring Microservices Web API - Container Platform Management Microservices Web API – Container Planning and Scheduling Microservices Web API - Container Billing Microservices Web API – Container Backend API gateway DB API gateway