SlideShare a Scribd company logo
1 of 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

More Related Content

What's hot

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
 

What's hot (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
 

Viewers also liked

点评 移动社交时代的生活消费决策-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
 

Viewers also liked (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
 

Similar to 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
 

Similar to 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...
 

More from 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
 

More from 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
 

Recently uploaded

SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfPrecisely
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DayH2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DaySri Ambati
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostZilliz
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 

Recently uploaded (20)

SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DayH2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 

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