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
More Decks by Takafumi Yoshida
See All by Takafumi Yoshida
ECSとSQSでスケーラブルなバッチを作った
zephiransas
2
1.4k
DynamoDB Step Zero to One
zephiransas
0
760
ECSとALBで始めるblue/greenデプロイメント
zephiransas
2
350
DynamoDB関連のアップデート紹介 #reinvent2018
zephiransas
0
880
CloudGarageでGitBucketサーバをたててみた
zephiransas
0
540
プログラマが知っておくといいかもしれないCSSのハナシ
zephiransas
1
1.1k
ラクして学ぶ英語(LT版)
zephiransas
0
220
あなたとCrystal、いますぐダウンロード
zephiransas
1
1.8k
使ってみようLombok
zephiransas
0
290
Other Decks in Technology
See All in Technology
GoのInterface内部構造から学ぶ!最高パフォーマンスを出すコード設計
yappli_developers
1
300
その Lambda、8分で 管理者権限まで奪われます
k1nakayama
7
3.8k
作って終わりじゃないサーバーレス 〜9年運用する大規模EC物流API基盤の設計・運用のリアル〜
zozotech
PRO
0
580
3人で1000GPU超を統合運用する?マルチクラウド&オンプレを跨ぐ、構築と運用のリアル!
kazukun0716
2
670
Terraformを用いたJamf Pro構成のIaC, GitOps化への挑戦
yukun
0
110
C#コードの結合を可視化する Roslyn解析による設計改善と リファクタリング判断
dora56
0
900
OpenClawでAzure DevOpsのWiki更新を自動化する - クラウドAIだけでは届かない場所へ
yutakaosada
0
120
Amazon Bedrock Agents ClassicからAmazon Bedrock AgentCoreへ移行した際、ガードレール設定が2箇所に割れた話
matsunobu
0
150
DORA_Metrics.pdf
wagnerfusca
1
120
C#未経験の僕がAIに読めるコードを書かせるまで
maguroalternative
0
340
The kernel report
ennael
PRO
1
110
20260929_AmazonGuardDutyの検出通知メールにAWS DevOpsAgentの調査結果を追加する
yhana
1
320
Featured
See All Featured
Paper Plane (Part 1)
katiecoart
PRO
2
11k
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
3
4.3k
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
720
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3.4k
Balancing Empowerment & Direction
lara
6
1.3k
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
510
Faster Mobile Websites
deanohume
310
32k
SERP Conf. Vienna - Web Accessibility: Optimizing for Inclusivity and SEO
sarafernandez
2
1.6k
My Coaching Mixtape
mlcsv
0
330
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
1
330
The Invisible Side of Design
smashingmag
301
52k
Game over? The fight for quality and originality in the time of robots
wayneb77
1
290
Transcript
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