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
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
Claude Code に プロジェクト管理やらせたみた
unson
6
4.1k
Zero Data Loss Autonomous Recovery Service サービス概要
oracle4engineer
PRO
2
7.8k
PO初心者が考えた ”POらしさ”
nb_rady
0
210
さくらのIaaS基盤のモニタリングとOpenTelemetry/OSC Hokkaido 2025
fujiwara3
3
440
How Do I Contact HP Printer Support? [Full 2025 Guide for U.S. Businesses]
harrry1211
0
120
MobileActOsaka_250704.pdf
akaitadaaki
0
130
タイミーのデータモデリング事例と今後のチャレンジ
ttccddtoki
6
2.4k
Operating Operator
shhnjk
1
590
生成AI開発案件におけるClineの業務活用事例とTips
shinya337
0
260
AWS Organizations 新機能!マルチパーティ承認の紹介
yhana
1
280
使いたいMCPサーバーはWeb APIをラップして自分で作る #QiitaBash
bengo4com
0
1.9k
Geminiとv0による高速プロトタイピング
shinya337
1
270
Featured
See All Featured
Side Projects
sachag
455
42k
Keith and Marios Guide to Fast Websites
keithpitt
411
22k
The Invisible Side of Design
smashingmag
301
51k
How STYLIGHT went responsive
nonsquared
100
5.6k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
34
5.9k
Building Better People: How to give real-time feedback that sticks.
wjessup
367
19k
Producing Creativity
orderedlist
PRO
346
40k
The Power of CSS Pseudo Elements
geoffreycrofte
77
5.9k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
248
1.3M
A better future with KSS
kneath
238
17k
Building Applications with DynamoDB
mza
95
6.5k
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