SlideShare une entreprise Scribd logo
1  sur  17
REST Fundamentals
Ready to think web scale?
Daniel Marbach
planetgeek.ch / dotnet-zentral.ch
@danielmarbach
www.bbv.ch
Documentation
information
www.bbv.ch
I can’t!
www.bbv.ch
It changed everything
www.bbv.ch
Success Story?
www.bbv.ch
Http
UniformResourceIdentifier
eTag
Caching
…
HEAD
TRACE
CONNECT
200
404
201
www.bbv.ch
Http
UniformResourceIdentifier
eTag
Caching
…
HEAD
TRACE
CONNECT
200
404
201
www.bbv.ch
Key Concept
www.bbv.ch
Constraints =REST
www.bbv.ch
=RESTful
I obey…
I obey all constraints
I obey all constraints
I obey…
www.bbv.ch
Hypermedia
www.bbv.ch
Three
Two
One
Zero
Maturity Model
www.bbv.ch
Hypermedia
HTTP Verbs
Resources
Plain old XML
Level Three
www.bbv.ch
Hypermedia
HTTP Verbs
Resources
Plain old XML
Level Three
www.bbv.ch
Backlog Demo
www.bbv.ch
What level is this?
www.bbv.ch
REST Fundamentals
Enjoy the REST of the usergroup;)
Daniel Marbach
planetgeek.ch / dotnet-zentral.ch
@danielmarbach

Contenu connexe

En vedette

Accesorios y Recambios para Climatizadores Evaporativos
Accesorios y Recambios para Climatizadores EvaporativosAccesorios y Recambios para Climatizadores Evaporativos
Accesorios y Recambios para Climatizadores Evaporativos
MET MANN, Fabricante de Climatización y Ventilación
 
Presentación campaña Alicante
Presentación campaña AlicantePresentación campaña Alicante
Presentación campaña Alicante
jaermula
 
OpenX - Gestión de Campañas Publicitarias en Internet
OpenX - Gestión de Campañas Publicitarias en InternetOpenX - Gestión de Campañas Publicitarias en Internet
OpenX - Gestión de Campañas Publicitarias en Internet
Cristian Sánchez
 

En vedette (20)

Accesorios y Recambios para Climatizadores Evaporativos
Accesorios y Recambios para Climatizadores EvaporativosAccesorios y Recambios para Climatizadores Evaporativos
Accesorios y Recambios para Climatizadores Evaporativos
 
Lugarización
LugarizaciónLugarización
Lugarización
 
Programa Fingerplus
Programa FingerplusPrograma Fingerplus
Programa Fingerplus
 
Necessity of assamese translation
Necessity of assamese translationNecessity of assamese translation
Necessity of assamese translation
 
Soundoff June 4, 2015
Soundoff June 4, 2015Soundoff June 4, 2015
Soundoff June 4, 2015
 
Businessware technologies hylafax fax server
Businessware technologies   hylafax fax serverBusinessware technologies   hylafax fax server
Businessware technologies hylafax fax server
 
METODO DE MEMORIA SAMUEL
METODO DE MEMORIA SAMUELMETODO DE MEMORIA SAMUEL
METODO DE MEMORIA SAMUEL
 
Design Integrated Services Presentation
Design Integrated Services PresentationDesign Integrated Services Presentation
Design Integrated Services Presentation
 
Presentación campaña Alicante
Presentación campaña AlicantePresentación campaña Alicante
Presentación campaña Alicante
 
Educarex. Tu espacio Web
Educarex. Tu espacio Web Educarex. Tu espacio Web
Educarex. Tu espacio Web
 
Nutri-Max Company Quality Manual Preparation
Nutri-Max Company Quality Manual PreparationNutri-Max Company Quality Manual Preparation
Nutri-Max Company Quality Manual Preparation
 
Splive TDT (Ver La TDT Y Canal GRATIS) (Android) Descargar Sin coste
Splive TDT (Ver La TDT Y Canal GRATIS) (Android) Descargar Sin coste
Splive TDT (Ver La TDT Y Canal GRATIS) (Android) Descargar Sin coste
Splive TDT (Ver La TDT Y Canal GRATIS) (Android) Descargar Sin coste
 
Balea
BaleaBalea
Balea
 
Leadershippresentation
LeadershippresentationLeadershippresentation
Leadershippresentation
 
Asesinos en serie
Asesinos en serieAsesinos en serie
Asesinos en serie
 
New Product Development
New Product DevelopmentNew Product Development
New Product Development
 
OpenX - Gestión de Campañas Publicitarias en Internet
OpenX - Gestión de Campañas Publicitarias en InternetOpenX - Gestión de Campañas Publicitarias en Internet
OpenX - Gestión de Campañas Publicitarias en Internet
 
Promotion decisions 29-10-13
Promotion decisions 29-10-13Promotion decisions 29-10-13
Promotion decisions 29-10-13
 
Ein neuer job_ein_neues_leben_2012
Ein neuer job_ein_neues_leben_2012Ein neuer job_ein_neues_leben_2012
Ein neuer job_ein_neues_leben_2012
 
Hantavirus
HantavirusHantavirus
Hantavirus
 

Similaire à REST Fundamentals (Short)

Html5 form attributes
Html5 form attributesHtml5 form attributes
Html5 form attributes
OPENLANE
 
Hateoas APIs are about relationships
Hateoas APIs are about relationshipsHateoas APIs are about relationships
Hateoas APIs are about relationships
Matt Bishop
 

Similaire à REST Fundamentals (Short) (20)

Enterprise Hosting
Enterprise HostingEnterprise Hosting
Enterprise Hosting
 
Rapid Prototyping with Sass, Compass and Middleman by Bermon Painter
Rapid Prototyping with Sass, Compass and Middleman by Bermon PainterRapid Prototyping with Sass, Compass and Middleman by Bermon Painter
Rapid Prototyping with Sass, Compass and Middleman by Bermon Painter
 
Headless - the future of e-commerce
Headless - the future of e-commerceHeadless - the future of e-commerce
Headless - the future of e-commerce
 
Runtime Verification for the Web (RV 2010 Tutorial)
Runtime Verification for the Web (RV 2010 Tutorial)Runtime Verification for the Web (RV 2010 Tutorial)
Runtime Verification for the Web (RV 2010 Tutorial)
 
HTMX: Web 1.0 with the benefits of Web 2.0 without the grift of Web 3.0
HTMX: Web 1.0 with the benefits of Web 2.0 without the grift of Web 3.0HTMX: Web 1.0 with the benefits of Web 2.0 without the grift of Web 3.0
HTMX: Web 1.0 with the benefits of Web 2.0 without the grift of Web 3.0
 
Micro-Blogging for The Enterprise (MongoDB)
Micro-Blogging for The Enterprise (MongoDB)Micro-Blogging for The Enterprise (MongoDB)
Micro-Blogging for The Enterprise (MongoDB)
 
All you need is front
All you need is frontAll you need is front
All you need is front
 
HTML5 Smart Markup for Smarter Websites [FoWD NYC 2011]
HTML5 Smart Markup for Smarter Websites [FoWD NYC 2011]HTML5 Smart Markup for Smarter Websites [FoWD NYC 2011]
HTML5 Smart Markup for Smarter Websites [FoWD NYC 2011]
 
Html5 form attributes
Html5 form attributesHtml5 form attributes
Html5 form attributes
 
DDoS Attacks and Countermeasures
DDoS Attacks and CountermeasuresDDoS Attacks and Countermeasures
DDoS Attacks and Countermeasures
 
REST Easy - Building RESTful Services in Zend Framework
REST Easy - Building RESTful Services in Zend FrameworkREST Easy - Building RESTful Services in Zend Framework
REST Easy - Building RESTful Services in Zend Framework
 
HTTP colon slash slash: end of the road? @ CakeFest 2013 in San Francisco
HTTP colon slash slash: end of the road? @ CakeFest 2013 in San FranciscoHTTP colon slash slash: end of the road? @ CakeFest 2013 in San Francisco
HTTP colon slash slash: end of the road? @ CakeFest 2013 in San Francisco
 
Hateoas APIs are about relationships
Hateoas APIs are about relationshipsHateoas APIs are about relationships
Hateoas APIs are about relationships
 
REST in ( a mobile ) peace @ WHYMCA 05-21-2011
REST in ( a mobile ) peace @ WHYMCA 05-21-2011REST in ( a mobile ) peace @ WHYMCA 05-21-2011
REST in ( a mobile ) peace @ WHYMCA 05-21-2011
 
Ultra-modern Front-end Dev & Introducing Spar
Ultra-modern Front-end Dev & Introducing SparUltra-modern Front-end Dev & Introducing Spar
Ultra-modern Front-end Dev & Introducing Spar
 
Develop:BBC 2013 - Turbocharge your mobile web apps by using offline
Develop:BBC 2013 - Turbocharge your mobile web apps by using offlineDevelop:BBC 2013 - Turbocharge your mobile web apps by using offline
Develop:BBC 2013 - Turbocharge your mobile web apps by using offline
 
Rails Vs CakePHP
Rails Vs CakePHPRails Vs CakePHP
Rails Vs CakePHP
 
Web Development Foundation & Team Collaboration
Web Development Foundation & Team CollaborationWeb Development Foundation & Team Collaboration
Web Development Foundation & Team Collaboration
 
Crawling & Indexing for JavaScript Heavy Sites brightonSEO 2021
Crawling & Indexing for JavaScript Heavy Sites brightonSEO 2021Crawling & Indexing for JavaScript Heavy Sites brightonSEO 2021
Crawling & Indexing for JavaScript Heavy Sites brightonSEO 2021
 
The Future of Technical SEO | Women in Tech SEO 2019 | Rachel Costello
The Future of Technical SEO | Women in Tech SEO 2019 | Rachel CostelloThe Future of Technical SEO | Women in Tech SEO 2019 | Rachel Costello
The Future of Technical SEO | Women in Tech SEO 2019 | Rachel Costello
 

Dernier

Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Dernier (20)

Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
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, ...
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 

Notes de l'éditeur

  1. KönntihreucheinLebenohne die unglaublicheMenge an Informationenim Web nochvorstellen?
  2. Ichnicht!
  3. WennichmeinVerhaltenanschaue:Lese RSS Feeds, BucheZugticketsüber Browser oder AppDas Web verändertewiewirInformationenproduzierenoderkonsumierendramatisch
  4. Was macht das Web eineerfolgreicheApplikationsplattform?Architekturnichtsweiteresalstausende von einfachenInteraktionenzwischenAgenten und RessourcenNutzen HTTP und URI alsTechnologie
  5. SchlüsselkonzeptoderFundamentalerBausteinFast alleskannalsRessourcemodeliertwerdenWirdzur Manipulation zurVerfügunggestelltRessource != DatenbankentitätFür die Manipulation brauchtes Resource Identifiers (URI = Uniform Resource Identifier)Eindeutigadressierbar
  6. XML, JSON, Image odermehrRessourcezueinemPunkt in der ZeitContent-Negotiation ProzesshandeltzurLaufzeit die RepräsentationausDemos zeigenBedeutungVerben & Response Codes 200 OK, 201 Created, 404 Not FoundVerben & Response Codes definierenGenerisches Framework fürInteraktion
  7. DIE RESSOURCEUnd bisjetzthabenwirnochnichtüber REST gesprochensondernnurüber die Webarchitektur
  8. Representational State TransferRoy Fielding’s DissertationAnalysierte die Erfolgsgeschichte des WebsReihe von Einschränkungen auf eigeneArchitekturanwenden ProfitKurz: Reihe von Einschränkungen, darumArchitekturstil
  9. Befolgt man alleEinschränkungen = RESTfulWeitererAspekt der Hochverfügbarkeit?
  10. Hypermediaoder Hypermedia as the engine of application state (HAT OASE = HATEOAS)Einfachaber genialApplikationbewegtsichvorwärts von einemZustandzumAnderenwieStatemachineZuständenichtvorherbekannt, müssenentdecktwerdenRichtigangewendet = Web-friendly, wiemessen?
  11. Leonard Richardson KlassifikationsmodellMaturitätslevelfürApplikationen und ServicesAuf Basis: URIs, HTTP und Hypermedia
  12. Level Null, einzige URI nur POST VerbPlain Old XmlPOST http://localhost/api newAccount { }POST http://localhost/api updateInvoice { }
  13. Level Eins,Operationsnamen und Parameter in der URIHat zwarmehrereRessourcen (Teile und Herrsche)Benutztnur GETGET http://localhost/api/account?=newGET http://localhost/api/invoice?=update
  14. Level Zwei, URI addressierbareRessourcen,abernur CRUD (GET, POST, PUT und DELETE)FührtStandardset von Verbenein, reduziert die Anzahl an VariationenKeineEntdeckbarkeit
  15. Null: Level Null, einzige URI nur POST VerbPlain Old XmlPOST http://localhost/api newAccount { }Eins: Level Eins,Operationsnamen und Parameter in der URIBenutztnur GETGET http://localhost/api/account?=new
  16. Zwei: URI addressierbareRessourcen,abernur CRUD (GET, POST, PUT und DELETE)FührtStandardset von Verbenein, reduziert die Anzahl an VariationenDrei: Das meiste Web-friendlyLeve!EinzigesRESTfulEntdeckbar und Selbstdokumentierend
  17. Startenwir in die DemoBACK: KlaresVerständnisfür REST, Prinzipien des SkalierbarenVebs auf deineSoftwarearchitekturangewendet
  18. Was fürein Level ist das?