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.6k
1
Share
REST: Code Retreat Universidad Simón Bolívar
Ivan Acosta-Rubio
January 06, 2012
More Decks by Ivan Acosta-Rubio
See All by Ivan Acosta-Rubio
Intro to AVFoundation | #inspect2014
ivanacostarubio
0
190
RubyMotion @ MagmaConf
ivanacostarubio
1
810
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
ハーネスエンジニアリングをやりすぎた話 ~そのハーネスは解体された~
gotalab555
5
1.8k
AI バイブコーティングでキーボード不要?!
samakada
0
610
巨大プラットフォームを進化させる「第3のROI」
recruitengineers
PRO
2
1.1k
Pure Intonation on Browser: Building a Sequencer with Ruby
nagachika
0
150
AzureのIaC管理からログ調査まで、随所に役立つSkillsとCustom-Instructions / Boosting IaC and Log Analysis with Skills
aeonpeople
0
260
データを"持てない"環境でのアノテーション基盤設計
sansantech
PRO
1
140
Class.new is all you need
riseshia
1
150
260422_Sansan_Tech_Talk__関西_vol.3_データ活用のリアル__矢田__.pdf
sansantech
PRO
0
120
20260428_Product Management Summit_tadokoroyoshiro
tadokoro_yoshiro
12
14k
AWS Agent Registry の基礎・概要を理解する/aws-agent-registry-intro
ren8k
3
390
バイブコーディングで3倍早く⚪⚪を作ってみた
samakada
0
110
サイボウズ 開発本部採用ピッチ / Cybozu Engineer Recruit
cybozuinsideout
PRO
10
79k
Featured
See All Featured
Building a Scalable Design System with Sketch
lauravandoore
463
34k
A designer walks into a library…
pauljervisheath
211
24k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
3.4k
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
460
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
220
What does AI have to do with Human Rights?
axbom
PRO
1
2.1k
The Pragmatic Product Professional
lauravandoore
37
7.2k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
2.8k
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
64
54k
Skip the Path - Find Your Career Trail
mkilby
1
110
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
520
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