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
Rails Bootcamp [Sesión 01]
Search
A. Felipe Cabargas Madrid
April 30, 2016
Programming
0
58
Rails Bootcamp [Sesión 01]
A. Felipe Cabargas Madrid
April 30, 2016
Tweet
Share
More Decks by A. Felipe Cabargas Madrid
See All by A. Felipe Cabargas Madrid
Layers Layers Layers
felipecabargas
0
52
Accesibilidad Web: Que, como, cuando y por que?
felipecabargas
0
22
Untangling git
felipecabargas
0
57
Docker 101
felipecabargas
1
76
GroupRaise Learning Fridays: UX 101
felipecabargas
0
91
GroupRaise Learning Fridays: Hows and whys of version control
felipecabargas
0
45
Sesion III - Taller RoR LCC
felipecabargas
0
72
Sesion II - Taller RoR LCC
felipecabargas
0
120
Taller RoR LCC
felipecabargas
0
120
Other Decks in Programming
See All in Programming
CI改善もDatadogとともに
taumu
0
120
『品質』という言葉が嫌いな理由
korimu
0
160
Amazon ECS とマイクロサービスから考えるシステム構成
hiyanger
2
570
第3回関東Kaggler会_AtCoderはKaggleの役に立つ
chettub
3
1k
PHP ステートレス VS ステートフル 状態管理と並行性 / php-stateless-stateful
ytake
0
100
Formの複雑さに立ち向かう
bmthd
1
870
なぜイベント駆動が必要なのか - CQRS/ESで解く複雑系システムの課題 -
j5ik2o
12
4.2k
密集、ドキュメントのコロケーション with AWS Lambda
satoshi256kbyte
0
190
メンテが命: PHPフレームワークのコンテナ化とアップグレード戦略
shunta27
0
150
Djangoにおける複数ユーザー種別認証の設計アプローチ@DjangoCongress JP 2025
delhi09
PRO
4
250
GAEログのコスト削減
mot_techtalk
0
120
1年目の私に伝えたい!テストコードを怖がらなくなるためのヒント/Tips for not being afraid of test code
push_gawa
0
240
Featured
See All Featured
GraphQLとの向き合い方2022年版
quramy
44
13k
Music & Morning Musume
bryan
46
6.3k
Building Adaptive Systems
keathley
40
2.4k
The Pragmatic Product Professional
lauravandoore
32
6.4k
Large-scale JavaScript Application Architecture
addyosmani
511
110k
The Straight Up "How To Draw Better" Workshop
denniskardys
232
140k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
193
16k
Bash Introduction
62gerente
611
210k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
45
9.4k
What’s in a name? Adding method to the madness
productmarketing
PRO
22
3.3k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
47
5.2k
Being A Developer After 40
akosma
89
590k
Transcript
RAILS BOOTCAMP 30 ABRIL 2016
FELIPE CABARGAS M. Service Engineer @ GitLab @juanpintoduran cabargas.com gitlab.com/cabargas
RUBY?
ruby != rails
None
RUBY IS DESIGNED TO MAKE PROGRAMMERS HAPPY ~ MATZ
None
RAILS BOOTCAMP! RUBY? ▸ NO fuertemente tipado. ▸ O.O.P. ▸
Principio de la menor sorpresa. ▸ Soluciones aburridas. ▸ M.I.N.S.W.A.N.: Matz is Nice So We Are Nice
YA PERO… RUBY?
foo este_es_un_identificador
$variable_global
@variable_de_instancia
CONSTANTE
# este es un comentario
=begin esto es documentación multi línea =end
“este es un string” *
“así se reemplazan #{variables}"
puts “String”
self nil true false
array = [1, 2, 3]
hash = {a: 1, b: 2, c: 3}
&& ||
1..20
CICLOS EN RUBY
if condicion then # ordenes elsif # ordenes else #
ordenes end
unless condicion # ordenes else # ordenes end
case variable when rango/valor # ordenes when rango/valor # ordenes
else # ordenes end
while condicion # ordenes end
until condicion # ordenes end
for variable in rango # ordenes end
(1..20).each do |variable| # ordenes end
def nombre_funcion argumentos # ordenes end nombre_funcion(argumentos)
AHORA, COSAS “CHÉVERES”
foo, bar = [1, 2] asignación múltiple
if true then true else false end instrucciones de 1-línea
condicion ? si_se_cumple : si_no_se_cumple instrucciones de 1-línea