$30 off During Our Annual Pro Sale. View Details »
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
REST: Code Retreat Universidad Simón Bolívar
Search
Ivan Acosta-Rubio
January 06, 2012
Technology
1
1.6k
REST: Code Retreat Universidad Simón Bolívar
Ivan Acosta-Rubio
January 06, 2012
Tweet
Share
More Decks by Ivan Acosta-Rubio
See All by Ivan Acosta-Rubio
Intro to AVFoundation | #inspect2014
ivanacostarubio
0
190
RubyMotion @ MagmaConf
ivanacostarubio
1
800
CHINDOGU: LEVENSHTEIN Y METHOD MISSNG
ivanacostarubio
0
1.2k
A (re)-factoring Story
ivanacostarubio
1
1.7k
Replicating ActiveRecord objects to MongoDB
ivanacostarubio
2
2.4k
Other Decks in Technology
See All in Technology
re:Inventで気になったサービスを10分でいけるところまでお話しします
yama3133
1
110
「Managed Instances」と「durable functions」で広がるAWS Lambdaのユースケース
lamaglama39
0
230
AIと二人三脚で育てた、個人開発アプリグロース術
zozotech
PRO
0
660
Oracle Technology Night #95 GoldenGate 26ai の実装に迫る1
oracle4engineer
PRO
0
130
Ryzen NPUにおけるAI Engineプログラミング
anjn
0
250
Microsoft Agent 365 を 30 分でなんとなく理解する
skmkzyk
1
500
EM歴1年10ヶ月のぼくがぶち当たった苦悩とこれからへ向けて
maaaato
0
260
Sansanが実践する Platform EngineeringとSREの協創
sansantech
PRO
1
140
【pmconf2025】PdMの「責任感」がチームを弱くする?「分業型」から全員がユーザー価値に本気で向き合う「共創型開発チーム」への変遷
toshimasa012345
0
240
32のキーワードで学ぶ はじめての耐量子暗号(PQC) / Getting Started with Post-Quantum Cryptography in 32 keywords
quiver
0
310
[JAWS-UG 横浜支部 #91]DevOps Agent vs CloudWatch Investigations -比較と実践-
sh_fk2
1
230
著者と読み解くAIエージェント現場導入の勘所 Lancers TechBook#2
smiyawaki0820
12
5.8k
Featured
See All Featured
Reflections from 52 weeks, 52 projects
jeffersonlam
355
21k
The World Runs on Bad Software
bkeepers
PRO
72
12k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.3k
The Cult of Friendly URLs
andyhume
79
6.7k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.3k
Building Better People: How to give real-time feedback that sticks.
wjessup
370
20k
Building Applications with DynamoDB
mza
96
6.8k
Thoughts on Productivity
jonyablonski
73
5k
The Language of Interfaces
destraynor
162
25k
How to Ace a Technical Interview
jacobian
280
24k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
Transcript
@ivanacostarubio
[email protected]
Universidad Simón Bolívar Code Retreat Friday, January 6,
12
REST Friday, January 6, 12
Friday, January 6, 12
Friday, January 6, 12
Friday, January 6, 12
El mismo lugar, diferente arquitectura Friday, January 6, 12
REST Friday, January 6, 12
sistemas de hipermedia distribuidos Un tipo de arquitectura para Friday,
January 6, 12
¿Que es hipermedia? Friday, January 6, 12
Hipertexto + Video + Audio Friday, January 6, 12
Friday, January 6, 12
Rails and REST Friday, January 6, 12
# config/routes.rb resources :pagos HTTP Ruta Accion Uso get /pagos
index todos los pagos get /pagos/new new html - crear post /pagos create crea una nueva get /pagos/:id show muestra get /pagos/:id/edit edit html - editar put /pagos/:id update actualiza delete /pagos/:id destroy borra Friday, January 6, 12
Friday, January 6, 12
# config/routes.rb | Solo Algunas acciones resources :pagos, :only =>
[:index, :show] HTTP Ruta Accion Uso get /pagos index todos los pagos get /pagos/:id show muestra Friday, January 6, 12
# config/routes.rb | Solo Algunas acciones resources :pagos, :except =>
:destroy Friday, January 6, 12
Friday, January 6, 12
# config/routes.rb | Restringiendo parametros resources :pagos, :constraints => {:id
=> /[A-Z][A-Z][0-9]+/} constraints(:id => /[A-Z][A-Z][0-9]+/) do resources :pagos resources :facturas end Friday, January 6, 12
# config/routes.rb | ámbito scope ":usuario" do resources :pagos end
# app/controllers/pagos_controller.rb ... def index render :text => params[:usuario] end ... Friday, January 6, 12
rails generate scaffold crea un restful resource Friday, January 6,
12
REST Friday, January 6, 12
ES MUCHO MAS Friday, January 6, 12
Friday, January 6, 12
hardcore REST Friday, January 6, 12
separación de las preocupaciones 1 Friday, January 6, 12
Stateless sin estado 2 Friday, January 6, 12
Cache submemoria ultrarrápida 3 Friday, January 6, 12
Interfaz uniforme Identification de recursos Manipulacion de recursos Hipermedia como
el motor del estado de la aplicacion Mensajes descriptivos 4 Friday, January 6, 12
Sistema de Capaz construye encima 5 Friday, January 6, 12
Code-On-Demand scripts y applets 6 Friday, January 6, 12
Friday, January 6, 12
Roy Thomas Fielding Architectural Styles and the Design of Network-based
Software Architectures http://bit.ly/restcoderetreat Friday, January 6, 12
@ivanacostarubio
[email protected]
Bakedweb.net esta contratando desarrolladores! Friday, January 6, 12