SlideShare ist ein Scribd-Unternehmen logo
1 von 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

Weitere ähnliche Inhalte

Andere mochten auch

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
 

Andere mochten auch (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
 

Ähnlich wie 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
 

Ähnlich wie 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
 

Kürzlich hochgeladen

Kürzlich hochgeladen (20)

Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
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 - 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
 
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
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
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
 
🐬 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
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
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
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
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...
 
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?
 
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
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
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
 

Hinweis der Redaktion

  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?