Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Rails使いが教えるSkinny Framework
Search
Takafumi Yoshida
December 14, 2013
Technology
680
2
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Rails使いが教えるSkinny Framework
Takafumi Yoshida
December 14, 2013
Transcript
23 slides
Rails使いが教える Skinny Framework 岡山Javaユーザ会 吉田貴文(@zephiransas)
What’s Skinny
What’s Skinny? •ScalaのWebフレームワーク •主に@seratchさんが開発 •フルスタック •自作しすぎない •Scala on Rails •http://skinny-framework.org/
導入と Scaffoldまで
導入とScaffold •公式からskinny-blank-app.zipを取得 •unzip •./skinny g scaffold members member [fields...] •./skinny
db:migrate •./skinny run
Yeomanから導入 •npm install -g yo •npm install generator-skinny •yo skinny
•./skinny run
Demonstration
•run (=rails s) •console (=rails c) •g controller/model/migration •db:migrate •eclipse/idea/gen-idea
skinny command
Controller
Controller •ベースはScalatra •Scala版のSinatra •RoR linkなRouting •SkinnyController •SkinnyResourceはCRUDを簡単に作れ る
controller/Controllers.scala
controller/ EmployeesController.scala
Model
Modelの基礎 •ベースはScalikeJDBC •SkinnyCRUDMapper
None
select
insert,update,delete
DB スキーマ 管理
DBスキーマ管理 •Flyway •develop,test,production等で分けられ る •./skinny g migration •生成されたsqlファイルを修正 •./skinny db:migrate
Testing Support
Testing Support •ScalaTest or specs2 •ControllerのテストはScalatraの仕組 みをそのまま使う •fixtureにはFactoryGirl
Conclusion •Ruby on Rails っぽいのが好き •フルスタックなのがいい •それなりに速度は出てる感
Thank you for your attention
More Decks by Takafumi Yoshida
See All by Takafumi Yoshida
ECSとSQSでスケーラブルなバッチを作った
zephiransas
2
1.4k
DynamoDB Step Zero to One
zephiransas
0
770
ECSとALBで始めるblue/greenデプロイメント
zephiransas
2
360
DynamoDB関連のアップデート紹介 #reinvent2018
zephiransas
0
900
CloudGarageでGitBucketサーバをたててみた
zephiransas
0
550
プログラマが知っておくといいかもしれないCSSのハナシ
zephiransas
1
1.1k
ラクして学ぶ英語(LT版)
zephiransas
0
230
あなたとCrystal、いますぐダウンロード
zephiransas
1
1.8k
使ってみようLombok
zephiransas
0
290
Other Decks in Technology
See All in Technology
SSFの現在地 ― CAEP/RISCからAI Identityへ
oidfj
0
450
Claude Securityを使ってみた / claude-security-claude-code-meetup-nagoya
tnir
0
130
高品質と高スピードを支える品質のシフトレフトのアプローチ
goyoki
4
1.4k
おうち環境でも「なるべく止めたくない!」 ― おうち環境の機器冗長化の理想と現実
yuutosi
1
440
AWS Emulator を評価する: 手元で動く AWS の API の仕組み、始め方、確かめ方
inariku
PRO
1
710
2026-11-11 Tamachi.sre#7 PaCにインフラリソースの命を救われました。 / PaC saves the infra resource life
masasuzu
1
190
少ない人手 限られた予算 それでも守る 消せない・見つける・戻れる オールハザード型BCP on AWS / 20261107 Mitsutoshi Matsuo
shift_evolve
PRO
0
390
MCPでネットワーク障害調査を自動化する前に直すべき3つのこと
yama3133
0
450
異夢同船〜異なる夢でも同じ船でなんとかする〜
fortegp05
1
380
Kiro アップデート 2026 年 11 月号 (11 月 8 日時点) | 目指せ Kiro マスター アップデート編
inariku
PRO
2
130
「任されビリティ」で引き受けて「よしなりてぃ」に頼らず任せる / Accept tasks with "makasarebility" and hand them over without relying on "yoshinarily"
pauli
1
690
IP重複は"ランディングVPC"で受け止める ― PrivateLink と Transit Gatewayによるマルチテナント接続基盤の設計
hatahata021
2
190
Featured
See All Featured
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.4k
Fashionably flexible responsive web design (full day workshop)
malarkey
409
67k
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
300
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
350
Designing Dashboards & Data Visualisations in Web Apps
destraynor
232
55k
Designing Experiences People Love
moore
143
24k
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
520
Building Adaptive Systems
keathley
44
3.3k
Chasing Engaging Ingredients in Design
codingconduct
0
400
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
230
23k
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
670
Scaling GitHub
holman
464
140k