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
Hello Rails and more
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
wtnabe
October 17, 2015
Programming
440
0
Share
Hello Rails and more
Kanazawa.rb meetup #38 Rails ハンズオン初級編のイントロ
wtnabe
October 17, 2015
More Decks by wtnabe
See All by wtnabe
Rubyでもモノリポしたい - 調査、おわわり編 -
wtnabe
0
44
Ruby de Railway Oriented Programming
wtnabe
0
90
Bindanのススメ
wtnabe
0
57
そのオブジェクト、何を保証してくれますか? - GuideRailのススメ -
wtnabe
0
73
Effective Jekyll
wtnabe
0
95
5 min Jekyll/Liquid Plugin cooking
wtnabe
0
58
Ruby de Wasm
wtnabe
0
90
Cloud Native Buildpacksって結局どうなの?
wtnabe
0
72
Decoupled System with Turbo Frame
wtnabe
1
170
Other Decks in Programming
See All in Programming
AIを導入する前にやるべきこと
negima
2
370
Hive Metastoreを通して学ぶIceberg REST Catalog ― 仕様から実装まで
okumin
0
220
検索設計から 推論設計への重心移動と Recall-First Retrieval
po3rin
5
1.7k
Agentic UI in the Frontend: Architectures with Open Standards @JAX 2026 in Mainz
manfredsteyer
PRO
0
120
Import assertionsが消えた日~ECMAScriptの仕様はどう決まり、なぜ覆るのか~
bicstone
2
190
ビジネスモデルから紐解く、AI+型駆動開発
hirokiomote
2
600
書き換えて学ぶTemporal #fukts
pirosikick
2
380
関係性から理解する"同一性"の型用語たち
pvcresin
2
270
AWSはOSSをどのように 考えているのか?
akihisaikeda
0
130
柔軟なPDFレイアウトエディタを支える型システム設計 — Discriminated UnionとConditional Typeの実践
minako__ph
2
220
Surviving Black Friday: 329 billion requests with Falcon!
ioquatix
0
3.2k
Oxlintはいかにしてtsgolintのlint ruleを呼び出しているのか
syumai
1
320
Featured
See All Featured
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
10
1.2k
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
1
180
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
28
3.5k
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
430
Facilitating Awesome Meetings
lara
57
6.9k
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
118
110k
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
450
Bash Introduction
62gerente
615
210k
Code Reviewing Like a Champion
maltzj
528
40k
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
280
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
200
Chasing Engaging Ingredients in Design
codingconduct
0
190
Transcript
Railsハンズオン初級編 Rails的なモダン開発の本当のよさを知り体験しよう @wtnabe Kanazawa.rb meetup #38 2015-10-17 (Sat) at DMM.com
Labo
お品書き Railsの10年と周辺の歩み Railsの特⻑と活かし⽅ 今⽇の内容
Railsの10年と周辺の歩み
2004 Gmail / PHP 5.0 2004 first public release of
Rails 2005 GoogleMaps 2005 Rails 1.0 ( including Prototype.js ) 2005 Selenium RC 2005 Hudson ( Jenkins )
2006 Capistrano 2006 AWS S3 and EC2 ( beta )
2006 jQuery 2006 Sass 2007 Rack ( WSGI Ruby port ) 2008 Github ( Rails moved to )
2009 Bundler 2009 Ruby 1.9.1 2009 CoffeeScript 2010 Rails 2.3
( Rack / Bundler ) 2010 Rails 3.0 ( merged Merb ) 2010 Backbone.js
2010 Scss 2011 Rails 3.1 ( AssetPipeline ) 2011 Heroku
Procfile 2012 Travis CI 2013 Ruby 2.1.0 / Rails 4.0 2014 Ruby 2.2.0 / EOL of 1.8.7, 1.9.2
MVCとDB migration
Capistranoによるdeployの⾃動化
Bundlerによる依存性解決
Asset管理 ( precompile & reduce http connections )
CIからの⾃動deploy
Rails Leads ... DRY & CoC DB migration ⾃動deploy (
Capistrano ) 依存性解決 ( Bundler ) PaaS ( Heroku, ... ) Asset管理 ( CoffeeScript, Sass, ... )
いま分からなくても平気
知ってると他の⾔語でも だいたい役に⽴ちます
イマドキだいたい モダンなWeb開発は こんな感じ
Railsの特⻑と活かし⽅
Railsの特⻑ ⼤事なことだけに集中しよう 設定を減らす 同じこと何度も書かない ⾃動化 よさそうなものは取り⼊れよう ダメならやめよう アジリティ
Railsの活かし⽅ Rails is omakase (DHH) 独⾃の技を編み出さない みんな合わせてるからこその便利gems
確かに最初は 覚えるべきお約束は多い
だから今⽇は ちょっとだけやります
何度もおさらいしてね
Railsがいちばん真価を 発揮するのはver.1を とにかく早く出す時 (最⼩限のコードで)
雑に書くのではなく アリモノを上⼿に活かして スピードを上げる
コードは少ないほど 変化のスピードを保てる
⼤事なのは 変化のスピードを 落とさないこと
※ 私⾒です
今⽇の内容
対象 動的なWebアプリの全体的な仕組みにつ いて、ある程度の理解がある⼈ 何らかのサーバサイドプログラミングの 経験が少しでもある⼈ RailsやRails-inspiredなモダンなフレー ムワークを使いこなし、考え⽅を理解し たい⼈
ゴール モダンWeb開発の考え⽅、ワークフロー を理解する scaffold + alpha で Model 2つ、 association
1つの ToDo アプリを動かす
やらないこと 本番環境へのdeploy
作るもの ToDo アプリのひな形のようなもの 1 : n 関係の Model を操作する画⾯ 応⽤課題
やること generator ( scaffold ) rails server / console partial
template db migration association
多めにやります 説明 質疑 ハンズオンとはなんだったのか?
Let's Begin !