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
55
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
42
Accesibilidad Web: Que, como, cuando y por que?
felipecabargas
0
18
Untangling git
felipecabargas
0
54
Docker 101
felipecabargas
1
69
GroupRaise Learning Fridays: UX 101
felipecabargas
0
81
GroupRaise Learning Fridays: Hows and whys of version control
felipecabargas
0
43
Sesion III - Taller RoR LCC
felipecabargas
0
59
Sesion II - Taller RoR LCC
felipecabargas
0
100
Taller RoR LCC
felipecabargas
0
100
Other Decks in Programming
See All in Programming
効率化に挑戦してみたらモバイル開発が少し快適になった話
ryunakayama
0
130
try! Swift Tokyo 2024 参加報告 / try! Swift Tokyo 2024 Report
hironytic
0
200
PHPはいつから死んでいるかの調査
chiroruxx
1
380
MetricKitで予期せぬ終了を検知する話 / Detect unexpected termination with MetricKit
nekowen
1
180
検証も兼ねて個人開発でHonoとかと向き合った話
hanetsuki
0
580
ゆるい個人開発のススメ
kuroppe1819
10
980
Fragment Composition of GraphQL
quramy
2
160
新宿ダンジョンを可視化してみた
satoshi7190
2
230
Blue/Greenデプロイの導入による 運用フローの改善
kudoas
1
370
Front-end application development, Symfony-style(s)
dunglas
2
2k
Zero Waste, Radical Magic, and Italian Graft – Quarkus Efficiency Secrets
hollycummins
0
230
educure_カリキュラム生操作マニュアル.pdf
linew_official
0
700
Featured
See All Featured
A Philosophy of Restraint
colly
197
16k
Gamification - CAS2011
davidbonilla
76
4.6k
Code Review Best Practice
trishagee
55
15k
Building a Scalable Design System with Sketch
lauravandoore
456
32k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
116
18k
Atom: Resistance is Futile
akmur
259
25k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
221
21k
Robots, Beer and Maslow
schacon
PRO
155
7.9k
Embracing the Ebb and Flow
colly
80
4.1k
The Language of Interfaces
destraynor
151
23k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
30
6k
Imperfection Machines: The Place of Print at Facebook
scottboms
260
12k
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