Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
PUT /time
Search
Larry Staton Jr.
September 15, 2012
Technology
1
70
PUT /time
Exploring how to represent resources through time with HTTP.
Larry Staton Jr.
September 15, 2012
Tweet
Share
More Decks by Larry Staton Jr.
See All by Larry Staton Jr.
Object-Oriented Programming Basics with Smalltalk
statonjr
0
470
A Tale of Two Teams
statonjr
0
43
Hypermedia with Transit
statonjr
0
68
Hazel & Keyboard Maestro: A Perfect Mac Marriage
statonjr
1
690
Zooming Out
statonjr
0
54
HTTP 101
statonjr
1
230
Hypermedia APIs with Webmachine and ROAR
statonjr
2
480
Other Decks in Technology
See All in Technology
AI でアップデートする既存テクノロジーと、クラウドエンジニアの生きる道
soracom
PRO
2
380
Functional TypeScript
naoya
10
4.5k
難しいから面白い!医薬品×在庫管理ドメインの複雑性と向き合い、プロダクトの成長を支えるための取り組み / Initiatives to Support Product Growth
kakehashi
2
170
SORACOMで実現するIoTのマルチクラウド対応 - IoTでのクリーンアーキテクチャの実現 -
kenichirokimura
0
330
RAGHack: Building RAG apps in Python
pamelafox
0
160
LandingZoneAccelerator と学ぶ 「スケーラブルで安全なマルチアカウントAWS環境」と 私たちにもできるベストプラクティス
maimyyym
1
120
20分で分かるIAM全機能 (拡大版) / 20240903-jawsug-yokohama-iam
opelab
3
140
Datadog を使ったプロダクトとクラウドの セキュリティモニタリング
mrtc0
0
610
AWSを始めた頃に陥りがちなポイントをまとめてみた
oshanqq
1
3.4k
OR学会2024秋_短期収益と将来のオフ方策評価性能を考慮したクーポン割当方策混合比の決定
recruitengineers
PRO
4
400
Optuna: a Black-Box Optimization Framework
pfn
PRO
1
100
Creative UIs with Compose: DroidKaigi 2024
chrishorner
1
170
Featured
See All Featured
Documentation Writing (for coders)
carmenintech
65
4.3k
Designing for Performance
lara
604
68k
Faster Mobile Websites
deanohume
304
30k
Facilitating Awesome Meetings
lara
49
5.9k
Web development in the modern age
philhawksworth
204
10k
KATA
mclloyd
27
13k
Code Reviewing Like a Champion
maltzj
518
39k
What’s in a name? Adding method to the madness
productmarketing
PRO
21
3k
Building Applications with DynamoDB
mza
89
6k
Git: the NoSQL Database
bkeepers
PRO
425
64k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
23
1.7k
The Power of CSS Pseudo Elements
geoffreycrofte
71
5.2k
Transcript
PUT /time PUT /time Larry Staton Jr. (@statonjr) 1 Saturday,
15 September 12
PUT /time PUT 2 Existing Resource 200 or 204 New
Resource 201 Saturday, 15 September 12
PUT /time PUT /favorite-food 3 New Resource 201 { ‘name’
: ‘chocolate’ } Saturday, 15 September 12
PUT /time PUT /favorite-food 4 Existing Resource 200 or 204
{ ‘name’ : ‘lasagna’ } Saturday, 15 September 12
PUT /time PUT + TIME 5 Rich Hickey’s “Value of
Values” Datomic: the database as a value Saturday, 15 September 12
PUT /time PUT /favorite-food at t0 6 New Resource 201
{ ‘name’ : ‘chocolate’ } Saturday, 15 September 12
PUT /time PUT /favorite-food at t1 7 Existing Resource? 200
or 204 { ‘name’ : ‘lasagna’ } New Resource? 201 Saturday, 15 September 12
PUT /time PUT + TIME 8 Datomic creates a new
record for each transaction. Can query state at a specific point in time. Leans towards returning 201 Created for each PUT. Saturday, 15 September 12
PUT /time Hypermedia 9 How might this look in hypermedia?
“next” and “previous” link relations? A “past” link relation? Saturday, 15 September 12
PUT /time finis 10 Saturday, 15 September 12