SlideShare une entreprise Scribd logo
1  sur  10
Creating API for your web application Adam Nemeth, @aadaam
Every webapp can be ported to the mvc pattern Theorem I.
Every webapp can be ported to the entities-services-templates pattern Theorem II. (this is what actually happens mostly)
IF YOUR TEMPLATES ARE FREE OF business  LOGIC, SERVICES CAN BE SEPARATED Theorem III. Free of logic: See [Parr,2002]
YOU can always divide your templates to contextual and non-contextual to the given service Theorem IV. i.e. Master Layout and service-specific template
Publish the data you fill your templates with their raw structure Step 1. i.e. serialize the key-value map of your template as JSON
Make your services available without the non-service context templates as well Step 2. i.e. to do HIJAX
Make your authorization abstract to your services Step 3.
Control 3rd party access to your services Step 4 i.e. create an OAuth-gateway
Separate all of your services to this layer and create only services your application uses Invariant through the project

Contenu connexe

Tendances

Onion Architecture
Onion ArchitectureOnion Architecture
Onion Architecture
matthidinger
 
Buzzientsiebelcrm 120504110642 Phpapp01
Buzzientsiebelcrm 120504110642 Phpapp01Buzzientsiebelcrm 120504110642 Phpapp01
Buzzientsiebelcrm 120504110642 Phpapp01
TBJ Investments, LLC
 

Tendances (17)

The anypoint platform for API's
The anypoint platform for API'sThe anypoint platform for API's
The anypoint platform for API's
 
Onion Architecture
Onion ArchitectureOnion Architecture
Onion Architecture
 
Api testing
Api testingApi testing
Api testing
 
TDD for APIs in a Microservice World (Short Version) by Michael Kuehne-Schlin...
TDD for APIs in a Microservice World (Short Version) by Michael Kuehne-Schlin...TDD for APIs in a Microservice World (Short Version) by Michael Kuehne-Schlin...
TDD for APIs in a Microservice World (Short Version) by Michael Kuehne-Schlin...
 
02 api gateway
02 api gateway02 api gateway
02 api gateway
 
Api Testing
Api TestingApi Testing
Api Testing
 
Amazon API Gateway
Amazon API GatewayAmazon API Gateway
Amazon API Gateway
 
apidays LIVE Hong Kong 2021 - GraphQL : Beyond APIs, graph your enterprise by...
apidays LIVE Hong Kong 2021 - GraphQL : Beyond APIs, graph your enterprise by...apidays LIVE Hong Kong 2021 - GraphQL : Beyond APIs, graph your enterprise by...
apidays LIVE Hong Kong 2021 - GraphQL : Beyond APIs, graph your enterprise by...
 
Mule esb stripe
Mule esb stripeMule esb stripe
Mule esb stripe
 
Using Cookies to Store Your Postman Secrets
Using Cookies to Store Your Postman SecretsUsing Cookies to Store Your Postman Secrets
Using Cookies to Store Your Postman Secrets
 
Automatic documentation with mule
Automatic documentation with muleAutomatic documentation with mule
Automatic documentation with mule
 
Integration with Microsoft SharePoint using Mule ESB
Integration with Microsoft SharePoint using Mule ESBIntegration with Microsoft SharePoint using Mule ESB
Integration with Microsoft SharePoint using Mule ESB
 
What Postman Did for a CEO Who Can’t Code by Craig Balkin
What Postman Did for a CEO Who Can’t Code by Craig BalkinWhat Postman Did for a CEO Who Can’t Code by Craig Balkin
What Postman Did for a CEO Who Can’t Code by Craig Balkin
 
Rest api best practices – comprehensive handbook
Rest api best practices – comprehensive handbookRest api best practices – comprehensive handbook
Rest api best practices – comprehensive handbook
 
Get Data from Microsoft CRM using Mule ESB
Get Data from Microsoft CRM using Mule ESBGet Data from Microsoft CRM using Mule ESB
Get Data from Microsoft CRM using Mule ESB
 
Buzzientsiebelcrm 120504110642 Phpapp01
Buzzientsiebelcrm 120504110642 Phpapp01Buzzientsiebelcrm 120504110642 Phpapp01
Buzzientsiebelcrm 120504110642 Phpapp01
 
Query in share point by mule
Query in share point by muleQuery in share point by mule
Query in share point by mule
 

En vedette (7)

点评 移动社交时代的生活消费决策-17沙龙
点评 移动社交时代的生活消费决策-17沙龙点评 移动社交时代的生活消费决策-17沙龙
点评 移动社交时代的生活消费决策-17沙龙
 
Appmobil eloadas
Appmobil eloadasAppmobil eloadas
Appmobil eloadas
 
Rural social media presentation
Rural social media presentationRural social media presentation
Rural social media presentation
 
Aulas moodle
Aulas moodleAulas moodle
Aulas moodle
 
What is ux_dl
What is ux_dlWhat is ux_dl
What is ux_dl
 
UX A MÁV-Startnál
UX A MÁV-StartnálUX A MÁV-Startnál
UX A MÁV-Startnál
 
Exploring Tight Gas Reservoir Using Intelligent Well Technology
Exploring Tight Gas Reservoir Using Intelligent Well TechnologyExploring Tight Gas Reservoir Using Intelligent Well Technology
Exploring Tight Gas Reservoir Using Intelligent Well Technology
 

Similaire à Creating web services

Service-now.com Foundations Module 1
Service-now.com Foundations Module 1Service-now.com Foundations Module 1
Service-now.com Foundations Module 1
Diane Cunningham
 
IBM Innovate 2013: Making Rational HATS a Strategic Investment
IBM Innovate 2013: Making Rational HATS a Strategic InvestmentIBM Innovate 2013: Making Rational HATS a Strategic Investment
IBM Innovate 2013: Making Rational HATS a Strategic Investment
Strongback Consulting
 

Similaire à Creating web services (20)

Build Message-Based Web Services for SOA
Build Message-Based Web Services for SOABuild Message-Based Web Services for SOA
Build Message-Based Web Services for SOA
 
MuleSoft London Community October 2017 - Hybrid and SAP Integration
MuleSoft London Community October 2017 - Hybrid and SAP IntegrationMuleSoft London Community October 2017 - Hybrid and SAP Integration
MuleSoft London Community October 2017 - Hybrid and SAP Integration
 
Service-now.com Foundations Module 1
Service-now.com Foundations Module 1Service-now.com Foundations Module 1
Service-now.com Foundations Module 1
 
Report on mall automation
Report on mall automationReport on mall automation
Report on mall automation
 
Online Real Estate Management System
Online Real Estate Management SystemOnline Real Estate Management System
Online Real Estate Management System
 
Mvc4
Mvc4Mvc4
Mvc4
 
08 hopex v next service fabric
08 hopex v next   service fabric08 hopex v next   service fabric
08 hopex v next service fabric
 
Microsoft Dynamics AX 2012 - Services Overview
Microsoft Dynamics AX 2012 - Services OverviewMicrosoft Dynamics AX 2012 - Services Overview
Microsoft Dynamics AX 2012 - Services Overview
 
IRJET - Application Development Approach to Transform Traditional Web Applica...
IRJET - Application Development Approach to Transform Traditional Web Applica...IRJET - Application Development Approach to Transform Traditional Web Applica...
IRJET - Application Development Approach to Transform Traditional Web Applica...
 
From Monoliths to Services: Grafually paying your Technical Debt
From Monoliths to Services: Grafually paying your Technical DebtFrom Monoliths to Services: Grafually paying your Technical Debt
From Monoliths to Services: Grafually paying your Technical Debt
 
ChircuVictor StefircaMadalin rad_aspmvc3_wcf_vs2010
ChircuVictor StefircaMadalin rad_aspmvc3_wcf_vs2010ChircuVictor StefircaMadalin rad_aspmvc3_wcf_vs2010
ChircuVictor StefircaMadalin rad_aspmvc3_wcf_vs2010
 
4163A - What is Web 2.0.ppt
4163A - What is Web 2.0.ppt4163A - What is Web 2.0.ppt
4163A - What is Web 2.0.ppt
 
IBM Innovate 2013: Making Rational HATS a Strategic Investment
IBM Innovate 2013: Making Rational HATS a Strategic InvestmentIBM Innovate 2013: Making Rational HATS a Strategic Investment
IBM Innovate 2013: Making Rational HATS a Strategic Investment
 
Enterprise Level Application Architecture with Web APIs using Entity Framewor...
Enterprise Level Application Architecture with Web APIs using Entity Framewor...Enterprise Level Application Architecture with Web APIs using Entity Framewor...
Enterprise Level Application Architecture with Web APIs using Entity Framewor...
 
Web services
Web servicesWeb services
Web services
 
Third party api integration
Third party api integrationThird party api integration
Third party api integration
 
Enhancement in Web Service Architecture
Enhancement in Web Service ArchitectureEnhancement in Web Service Architecture
Enhancement in Web Service Architecture
 
APIs and Microservices - What Are They?
APIs and Microservices - What Are They?APIs and Microservices - What Are They?
APIs and Microservices - What Are They?
 
APIs: the Glue of Cloud Computing
APIs: the Glue of Cloud ComputingAPIs: the Glue of Cloud Computing
APIs: the Glue of Cloud Computing
 
Understanding API Architectures: Web API vs. Minimal API – An In-Depth Compar...
Understanding API Architectures: Web API vs. Minimal API – An In-Depth Compar...Understanding API Architectures: Web API vs. Minimal API – An In-Depth Compar...
Understanding API Architectures: Web API vs. Minimal API – An In-Depth Compar...
 

Plus de Adam Nemeth

Agilis UX - Frontend Meetup előadás
Agilis UX - Frontend Meetup előadásAgilis UX - Frontend Meetup előadás
Agilis UX - Frontend Meetup előadás
Adam Nemeth
 
Indamail embed csatolmanyconcept
Indamail embed csatolmanyconceptIndamail embed csatolmanyconcept
Indamail embed csatolmanyconcept
Adam Nemeth
 
Webszolgáltatások elmélete és gyakorlata
Webszolgáltatások elmélete és gyakorlataWebszolgáltatások elmélete és gyakorlata
Webszolgáltatások elmélete és gyakorlata
Adam Nemeth
 

Plus de Adam Nemeth (15)

Servcice Design Principles of OneTicket
Servcice Design Principles of OneTicketServcice Design Principles of OneTicket
Servcice Design Principles of OneTicket
 
From undercover to official: introducing user research to your organisation
From undercover to official: introducing user research to your organisationFrom undercover to official: introducing user research to your organisation
From undercover to official: introducing user research to your organisation
 
Tömeges POI megjelenítés kereskedelmi térképeken - Displaying POIs en masse i...
Tömeges POI megjelenítés kereskedelmi térképeken - Displaying POIs en masse i...Tömeges POI megjelenítés kereskedelmi térképeken - Displaying POIs en masse i...
Tömeges POI megjelenítés kereskedelmi térképeken - Displaying POIs en masse i...
 
Agilis UX - Frontend Meetup előadás
Agilis UX - Frontend Meetup előadásAgilis UX - Frontend Meetup előadás
Agilis UX - Frontend Meetup előadás
 
Indamail embed csatolmanyconcept
Indamail embed csatolmanyconceptIndamail embed csatolmanyconcept
Indamail embed csatolmanyconcept
 
Nearby Startup Pitch for SUU 2013 conference
Nearby Startup Pitch for SUU 2013 conferenceNearby Startup Pitch for SUU 2013 conference
Nearby Startup Pitch for SUU 2013 conference
 
Frontend First Design & Development
Frontend First Design & DevelopmentFrontend First Design & Development
Frontend First Design & Development
 
Kanban - út a rend felé
Kanban - út a rend feléKanban - út a rend felé
Kanban - út a rend felé
 
Nearby Story: Architectural Conference
Nearby Story: Architectural ConferenceNearby Story: Architectural Conference
Nearby Story: Architectural Conference
 
Webszolgáltatások elmélete és gyakorlata
Webszolgáltatások elmélete és gyakorlataWebszolgáltatások elmélete és gyakorlata
Webszolgáltatások elmélete és gyakorlata
 
Nearby Feeling: Urban Architecture
Nearby Feeling: Urban ArchitectureNearby Feeling: Urban Architecture
Nearby Feeling: Urban Architecture
 
Unified Instant messaging in Hungary?
Unified Instant messaging in Hungary?Unified Instant messaging in Hungary?
Unified Instant messaging in Hungary?
 
OptimalWorkshop az OnlineMarketingnél
OptimalWorkshop az OnlineMarketingnélOptimalWorkshop az OnlineMarketingnél
OptimalWorkshop az OnlineMarketingnél
 
What makes a good map?
What makes a good map?What makes a good map?
What makes a good map?
 
The Earth is Flat
The Earth is FlatThe Earth is Flat
The Earth is Flat
 

Dernier

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Dernier (20)

The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 

Creating web services

  • 1. Creating API for your web application Adam Nemeth, @aadaam
  • 2. Every webapp can be ported to the mvc pattern Theorem I.
  • 3. Every webapp can be ported to the entities-services-templates pattern Theorem II. (this is what actually happens mostly)
  • 4. IF YOUR TEMPLATES ARE FREE OF business LOGIC, SERVICES CAN BE SEPARATED Theorem III. Free of logic: See [Parr,2002]
  • 5. YOU can always divide your templates to contextual and non-contextual to the given service Theorem IV. i.e. Master Layout and service-specific template
  • 6. Publish the data you fill your templates with their raw structure Step 1. i.e. serialize the key-value map of your template as JSON
  • 7. Make your services available without the non-service context templates as well Step 2. i.e. to do HIJAX
  • 8. Make your authorization abstract to your services Step 3.
  • 9. Control 3rd party access to your services Step 4 i.e. create an OAuth-gateway
  • 10. Separate all of your services to this layer and create only services your application uses Invariant through the project