SlideShare a Scribd company logo
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
Resource
www.bbv.ch
Identifier
UniformResourceIdentifier
www.bbv.ch
Metadata
UniformResourceIdentifier
eTag
Caching
…
www.bbv.ch
Metadata
UniformResourceIdentifier
eTag
Caching
…
www.bbv.ch
Representations
UniformResourceIdentifier
eTag
Caching
…
www.bbv.ch
Verbs & Codes
UniformResourceIdentifier
eTag
Caching
…
HEAD
TRACE
CONNECT
200
404
201
www.bbv.ch
RESTaurant Demo
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 Zero
www.bbv.ch
Hypermedia
HTTP Verbs
Resources
Plain old XML
Level One
www.bbv.ch
Hypermedia
HTTP Verbs
Resources
Plain old XML
Level Two
www.bbv.ch
Hypermedia
HTTP Verbs
Resources
Plain old XML
Level Three
www.bbv.ch
What level is this?
www.bbv.ch
Backlog Demo
www.bbv.ch
There is more!
www.bbv.ch
REST Fundamentals
Enjoy the REST of the forum;)
Daniel Marbach
planetgeek.ch / dotnet-zentral.ch
@danielmarbach

More Related Content

PPTX
REST Fundamentals (Short)
PDF
Byowwhc117
PDF
Byowwhc117
PDF
Layer 7: The Importance of Standards for Enterprise SOA and Cloud Security
PPTX
Time infinitive ahirhu theory law 12
PDF
Bah com guide order form 1
PPTX
Las telecomunicaciones
PDF
Ronnie Cox_Updated CV_CIOB No 1472039
REST Fundamentals (Short)
Byowwhc117
Byowwhc117
Layer 7: The Importance of Standards for Enterprise SOA and Cloud Security
Time infinitive ahirhu theory law 12
Bah com guide order form 1
Las telecomunicaciones
Ronnie Cox_Updated CV_CIOB No 1472039

Viewers also liked (12)

PPT
Repsol_Ypf_Web_applications
PPTX
Resumen de capitulos (1)
PDF
7th pre alg -l52--feb26
PDF
Carter's Catalogo
PPTX
reserves
PDF
陳國益 3D 列印技術簡介 Kuo-Yi Chen, 3D print technology
DOCX
Rapport de stage
PDF
Libro Hacia nuestra historia
PPTX
Translation Technology Showcase in Shenzhen
PDF
RESTful Web APIs – Mike Amundsen, Principal API Architect, Layer 7
PDF
1 formato solicitud afiliacion
DOCX
Estado nutricional de los niños y niñas entre las edades de 7 12 años de la “...
Repsol_Ypf_Web_applications
Resumen de capitulos (1)
7th pre alg -l52--feb26
Carter's Catalogo
reserves
陳國益 3D 列印技術簡介 Kuo-Yi Chen, 3D print technology
Rapport de stage
Libro Hacia nuestra historia
Translation Technology Showcase in Shenzhen
RESTful Web APIs – Mike Amundsen, Principal API Architect, Layer 7
1 formato solicitud afiliacion
Estado nutricional de los niños y niñas entre las edades de 7 12 años de la “...
Ad

Similar to REST Fundamentals (20)

KEY
Micro-Blogging for The Enterprise (MongoDB)
PDF
Crawling & Indexing for JavaScript Heavy Sites brightonSEO 2021
KEY
Principles Of Web Design Workshop
PDF
Rapid Prototyping with Sass, Compass and Middleman by Bermon Painter
PDF
Empowering businesses with serverless
PDF
chapter1_introHTML.pdf..................
ZIP
SEO Strategies by Thirdparty Labs and Shovemedia
PDF
Wine & Web: How to do a content audit
PDF
电子商务网站前端开放实战
PDF
电子商务网站前端开放实战
PDF
The Continuous SEO Process (WebExpo, September 2016)
PDF
SearchLove London | Dave Sottimano, 'Using Data to Win Arguments'
KEY
KEY
D2-超级旺铺
PDF
Bartosz Goralewicz — The Real Problems Behind Indexing | 5 Hours of Technical...
PDF
The Real Problems Behind Indexing | 5 Hours of Technical SEO
PDF
Building Tools for the Next Web
PDF
Container Management at Coinbase
PDF
Rendering SEO Manifesto - Why we need to go beyond JavaScript SEO
Micro-Blogging for The Enterprise (MongoDB)
Crawling & Indexing for JavaScript Heavy Sites brightonSEO 2021
Principles Of Web Design Workshop
Rapid Prototyping with Sass, Compass and Middleman by Bermon Painter
Empowering businesses with serverless
chapter1_introHTML.pdf..................
SEO Strategies by Thirdparty Labs and Shovemedia
Wine & Web: How to do a content audit
电子商务网站前端开放实战
电子商务网站前端开放实战
The Continuous SEO Process (WebExpo, September 2016)
SearchLove London | Dave Sottimano, 'Using Data to Win Arguments'
D2-超级旺铺
Bartosz Goralewicz — The Real Problems Behind Indexing | 5 Hours of Technical...
The Real Problems Behind Indexing | 5 Hours of Technical SEO
Building Tools for the Next Web
Container Management at Coinbase
Rendering SEO Manifesto - Why we need to go beyond JavaScript SEO
Ad

Recently uploaded (20)

PDF
Approach and Philosophy of On baking technology
PPTX
Programs and apps: productivity, graphics, security and other tools
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PPT
Teaching material agriculture food technology
PDF
Machine learning based COVID-19 study performance prediction
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
gpt5_lecture_notes_comprehensive_20250812015547.pdf
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PPTX
1. Introduction to Computer Programming.pptx
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Network Security Unit 5.pdf for BCA BBA.
PPTX
Tartificialntelligence_presentation.pptx
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PPTX
A Presentation on Artificial Intelligence
PDF
NewMind AI Weekly Chronicles - August'25-Week II
Approach and Philosophy of On baking technology
Programs and apps: productivity, graphics, security and other tools
“AI and Expert System Decision Support & Business Intelligence Systems”
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Teaching material agriculture food technology
Machine learning based COVID-19 study performance prediction
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Reach Out and Touch Someone: Haptics and Empathic Computing
gpt5_lecture_notes_comprehensive_20250812015547.pdf
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Assigned Numbers - 2025 - Bluetooth® Document
1. Introduction to Computer Programming.pptx
Encapsulation_ Review paper, used for researhc scholars
Network Security Unit 5.pdf for BCA BBA.
Tartificialntelligence_presentation.pptx
Diabetes mellitus diagnosis method based random forest with bat algorithm
20250228 LYD VKU AI Blended-Learning.pptx
Advanced methodologies resolving dimensionality complications for autism neur...
A Presentation on Artificial Intelligence
NewMind AI Weekly Chronicles - August'25-Week II

Editor's Notes

  • #3: KönntihreucheinLebenohne die unglaublicheMenge an Informationenim Web nochvorstellen?
  • #4: Ichnicht!
  • #5: WennichmeinVerhaltenanschaue:Lese RSS Feeds, BucheZugticketsüber Browser oder AppDas Web verändertewiewirInformationenproduzierenoderkonsumierendramatisch
  • #6: Was macht das Web eineerfolgreicheApplikationsplattform?Architekturnichtsweiteresalstausende von einfachenInteraktionenzwischenAgenten und RessourcenNutzen HTTP und URI alsTechnologie
  • #7: SchlüsselkonzeptoderFundamentalerBausteinFast alleskannalsRessourcemodeliertwerdenWirdzur Manipulation zurVerfügunggestelltRessource != Datenbankentität
  • #8: Für die Manipulation brauchtes Resource Identifiers (URI = Uniform Resource Identifier)EindeutigadressierbarURIs und Ressourcen = Many to OneMehrere URIs pro Ressource (http://..., file://...)
  • #9: MetadatenInformationenüberAufenthaltsort, Alternative Formate, Alter, oderEntitätsinformationenWichtigerAspektfürSkalierbarkeithierzufinden = CachingErlaubtKopien an mehrerenOrtenzuspeichern (auf Request-Response Pfad)
  • #10: Metadatenbrauchen Caching Direktivenwie Expires, Cache-Control, Etagoder Last-ModifiedVeralteteRessourcenmüssenrevalidiertwerdenvomOriginserverKonditional Requests!Etagmit If-Match und If-None-Match oder Last-Modified mit If-Unmodified-Since oder If-Modified-SinceBody nurgesandt falls nötig
  • #11: XML, JSON, Image odermehrRessourcezueinemPunkt in der ZeitContent-Negotiation ProzesshandeltzurLaufzeit die RepräsentationausDochwieInteragieren?
  • #12: GET, POST, PUT, DELETE, OPTIONS, HEAD, TRACE, CONNECT und PATCHDemos zeigenBedeutungResponse Codes 200 OK, 201 Created, 404 Not FoundDefinierenGenerisches Framework fürInteraktion
  • #13: Schauenwir das Ganze in einer Demo anBACK: GutesBeispielfürverteilteArchitektur, Skaliert gut mitaddressierbarenRessourcen, Repräsentationen und KommunikationsmittelnEinfacheSchnittstellezukomplexenApplikationenInformation Hiding (Abstrahiertkonkrete Dinge wie DB etc.) hinter einemeinzigenKonzept
  • #14: DIE RESSOURCEUnd bisjetzthabenwirnochnichtüber REST gesprochensondernnurüber die Webarchitektur
  • #15: Representational State TransferRoy Fielding’s DissertationAnalysierte die Erfolgsgeschichte des WebsReihe von Einschränkungen auf eigeneArchitekturanwenden ProfitKurz: Reihe von Einschränkungen, darumArchitekturstil
  • #16: Befolgt man alleEinschränkungen = RESTfulWeitererAspekt der Hochverfügbarkeit?
  • #17: Hypermediaoder Hypermedia as the engine of application state (HAT OASE = HATEOAS)Einfachaber genialApplikationbewegtsichvorwärts von einemZustandzumAnderenwieStatemachineZuständenichtvorherbekannt, müssenentdecktwerdenRichtigangewendet = Web-friendly, wiemessen?
  • #18: Leonard Richardson KlassifikationsmodellMaturitätslevelfürApplikationen und ServicesAuf Basis: URIs, HTTP und Hypermedia
  • #19: Level Null, einzige URI nur POST VerbPlain Old XmlPOST http://localhost/api newAccount { }POST http://localhost/api updateInvoice { }
  • #20: Level Eins,Operationsnamen und Parameter in der URIHat zwarmehrereRessourcen (Teile und Herrsche)Benutztnur GETGET http://localhost/api/account?=newGET http://localhost/api/invoice?=update
  • #21: Level Zwei, URI addressierbareRessourcen,abernur CRUD (GET, POST, PUT und DELETE)FührtStandardset von Verbenein, reduziert die Anzahl an VariationenKeineEntdeckbarkeit
  • #22: Das meiste Web-friendlyLeve!EinzigesRESTfulEntdeckbar und Selbstdokumentierend
  • #23: Was fürein Level ist das?
  • #24: Startenwir in die DemoBACK: KlaresVerständnisfür REST, Prinzipien des SkalierbarenVebs auf deineSoftwarearchitekturangewendet
  • #25: Nochnichtüberzeugt? Willst du lernenwieRessourcendefinieren,Transitionen, Versionierung? Kein Problem! Vote fürnächstenVortrag