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
Codeful Serverless / 一人運用でもやり抜く力
_kensh
7
370
Agile PBL at New Grads Trainings
kawaguti
PRO
1
390
人工衛星のファームウェアをRustで書く理由
koba789
13
7.1k
AI駆動開発に向けた新しいエンジニアマインドセット
kazue
0
340
S3アクセス制御の設計ポイント
tommy0124
2
190
Skrub: machine-learning with dataframes
gaelvaroquaux
0
120
Platform開発が先行する Platform Engineeringの違和感
kintotechdev
4
540
[ JAWS-UG 東京 CommunityBuilders Night #2 ]SlackとAmazon Q Developerで 運用効率化を模索する
sh_fk2
3
380
Aurora DSQLはサーバーレスアーキテクチャの常識を変えるのか
iwatatomoya
1
700
品質視点から考える組織デザイン/Organizational Design from Quality
mii3king
0
190
バイブスに「型」を!Kent Beckに学ぶ、AI時代のテスト駆動開発
amixedcolor
2
520
EncryptedSharedPreferences が deprecated になっちゃった!どうしよう! / Oh no! EncryptedSharedPreferences has been deprecated! What should I do?
yanzm
0
190
Featured
See All Featured
Bootstrapping a Software Product
garrettdimon
PRO
307
110k
Building Flexible Design Systems
yeseniaperezcruz
328
39k
Making the Leap to Tech Lead
cromwellryan
135
9.5k
Designing for humans not robots
tammielis
253
25k
Build your cross-platform service in a week with App Engine
jlugia
231
18k
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
A better future with KSS
kneath
239
17k
jQuery: Nuts, Bolts and Bling
dougneiner
64
7.9k
Navigating Team Friction
lara
189
15k
Code Reviewing Like a Champion
maltzj
525
40k
Building an army of robots
kneath
306
46k
Imperfection Machines: The Place of Print at Facebook
scottboms
268
13k
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