SlideShare uma empresa Scribd logo
1 de 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

Mais conteúdo relacionado

Mais procurados

The anypoint platform for API's
The anypoint platform for API'sThe anypoint platform for API's
The anypoint platform for API'sAchyuta Lakshmi
 
Onion Architecture
Onion ArchitectureOnion Architecture
Onion Architecturematthidinger
 
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...Michael Kuehne-Schlinkert
 
Amazon API Gateway
Amazon API GatewayAmazon API Gateway
Amazon API GatewayMark Bate
 
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...apidays
 
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 SecretsPostman
 
Automatic documentation with mule
Automatic documentation with muleAutomatic documentation with mule
Automatic documentation with muleF K
 
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 ESBSanjeet Pandey
 
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 BalkinPostman
 
Rest api best practices – comprehensive handbook
Rest api best practices – comprehensive handbookRest api best practices – comprehensive handbook
Rest api best practices – comprehensive handbookKaty Slemon
 
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 ESBSanjeet Pandey
 
Buzzientsiebelcrm 120504110642 Phpapp01
Buzzientsiebelcrm 120504110642 Phpapp01Buzzientsiebelcrm 120504110642 Phpapp01
Buzzientsiebelcrm 120504110642 Phpapp01TBJ Investments, LLC
 
Query in share point by mule
Query in share point by muleQuery in share point by mule
Query in share point by muleSon Nguyen
 

Mais procurados (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
 

Destaque

点评 移动社交时代的生活消费决策-17沙龙
点评 移动社交时代的生活消费决策-17沙龙点评 移动社交时代的生活消费决策-17沙龙
点评 移动社交时代的生活消费决策-17沙龙17Startup
 
Appmobil eloadas
Appmobil eloadasAppmobil eloadas
Appmobil eloadasAdam Nemeth
 
Rural social media presentation
Rural social media presentationRural social media presentation
Rural social media presentationThe Abbi Agency
 
UX A MÁV-Startnál
UX A MÁV-StartnálUX A MÁV-Startnál
UX A MÁV-StartnálAdam Nemeth
 
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 TechnologyAbhinav Bisht
 

Destaque (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
 

Semelhante a Creating APIs for web apps with MVC & services patterns

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 SOAJeffrey Hasan
 
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 IntegrationPace Integration
 
Service-now.com Foundations Module 1
Service-now.com Foundations Module 1Service-now.com Foundations Module 1
Service-now.com Foundations Module 1Diane Cunningham
 
Report on mall automation
Report on mall automationReport on mall automation
Report on mall automationSonu Patel
 
Online Real Estate Management System
Online Real Estate Management SystemOnline Real Estate Management System
Online Real Estate Management Systemshahrukh Nawandish
 
08 hopex v next service fabric
08 hopex v next   service fabric08 hopex v next   service fabric
08 hopex v next service fabricMichel Bruchet
 
Microsoft Dynamics AX 2012 - Services Overview
Microsoft Dynamics AX 2012 - Services OverviewMicrosoft Dynamics AX 2012 - Services Overview
Microsoft Dynamics AX 2012 - Services OverviewFabio Filardi
 
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...IRJET Journal
 
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 DebtDavid Litvak Bruno
 
ChircuVictor StefircaMadalin rad_aspmvc3_wcf_vs2010
ChircuVictor StefircaMadalin rad_aspmvc3_wcf_vs2010ChircuVictor StefircaMadalin rad_aspmvc3_wcf_vs2010
ChircuVictor StefircaMadalin rad_aspmvc3_wcf_vs2010vchircu
 
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.pptMatthew Perrins
 
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 InvestmentStrongback Consulting
 
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...Akhil Mittal
 
Enhancement in Web Service Architecture
Enhancement in Web Service ArchitectureEnhancement in Web Service Architecture
Enhancement in Web Service ArchitectureIJERA Editor
 
APIs: the Glue of Cloud Computing
APIs: the Glue of Cloud ComputingAPIs: the Glue of Cloud Computing
APIs: the Glue of Cloud Computing3scale
 
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...Polyxer Systems
 

Semelhante a Creating APIs for web apps with MVC & services patterns (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...
 

Mais de Adam Nemeth

Servcice Design Principles of OneTicket
Servcice Design Principles of OneTicketServcice Design Principles of OneTicket
Servcice Design Principles of OneTicketAdam Nemeth
 
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 organisationAdam Nemeth
 
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...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ásAdam Nemeth
 
Indamail embed csatolmanyconcept
Indamail embed csatolmanyconceptIndamail embed csatolmanyconcept
Indamail embed csatolmanyconceptAdam Nemeth
 
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 conferenceAdam Nemeth
 
Frontend First Design & Development
Frontend First Design & DevelopmentFrontend First Design & Development
Frontend First Design & DevelopmentAdam Nemeth
 
Kanban - út a rend felé
Kanban - út a rend feléKanban - út a rend felé
Kanban - út a rend feléAdam Nemeth
 
Nearby Story: Architectural Conference
Nearby Story: Architectural ConferenceNearby Story: Architectural Conference
Nearby Story: Architectural ConferenceAdam 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 gyakorlataAdam Nemeth
 
Nearby Feeling: Urban Architecture
Nearby Feeling: Urban ArchitectureNearby Feeling: Urban Architecture
Nearby Feeling: Urban ArchitectureAdam Nemeth
 
Unified Instant messaging in Hungary?
Unified Instant messaging in Hungary?Unified Instant messaging in Hungary?
Unified Instant messaging in Hungary?Adam Nemeth
 
OptimalWorkshop az OnlineMarketingnél
OptimalWorkshop az OnlineMarketingnélOptimalWorkshop az OnlineMarketingnél
OptimalWorkshop az OnlineMarketingnélAdam Nemeth
 
What makes a good map?
What makes a good map?What makes a good map?
What makes a good map?Adam Nemeth
 
The Earth is Flat
The Earth is FlatThe Earth is Flat
The Earth is FlatAdam Nemeth
 

Mais 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
 

Último

Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
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 AutomationSafe Software
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
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 organizationRadu Cotescu
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
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 2024The Digital Insurer
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 

Último (20)

Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
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
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
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
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
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
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 

Creating APIs for web apps with MVC & services patterns

  • 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