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使いが教えるSkinny Framework
Search
Takafumi Yoshida
December 14, 2013
Technology
2
640
Rails使いが教えるSkinny Framework
Takafumi Yoshida
December 14, 2013
Tweet
Share
More Decks by Takafumi Yoshida
See All by Takafumi Yoshida
ECSとSQSでスケーラブルなバッチを作った
zephiransas
2
1.3k
DynamoDB Step Zero to One
zephiransas
0
710
ECSとALBで始めるblue/greenデプロイメント
zephiransas
2
330
DynamoDB関連のアップデート紹介 #reinvent2018
zephiransas
0
800
CloudGarageでGitBucketサーバをたててみた
zephiransas
0
520
プログラマが知っておくといいかもしれないCSSのハナシ
zephiransas
1
1.1k
ラクして学ぶ英語(LT版)
zephiransas
0
200
あなたとCrystal、いますぐダウンロード
zephiransas
1
1.8k
使ってみようLombok
zephiransas
0
260
Other Decks in Technology
See All in Technology
MariaDB Connector/C のcaching_sha2_passwordプラグインの仕様について
boro1234
0
1.1k
Snowflake導入から1年、LayerXのデータ活用の現在 / One Year into Snowflake: How LayerX Uses Data Today
civitaspo
0
2.6k
Autonomous Database - Dedicated 技術詳細 / adb-d_technical_detail_jp
oracle4engineer
PRO
5
11k
Redshift認可、アップデートでどう変わった?
handy
1
110
Authlete で実装する MCP OAuth 認可サーバー #CIMD の実装を添えて
watahani
0
250
AWSインフルエンサーへの道 / load of AWS Influencer
whisaiyo
0
240
ハッカソンから社内プロダクトへ AIエージェント ko☆shi 開発で学んだ4つの重要要素
leveragestech
0
360
ペアーズにおけるAIエージェント 基盤とText to SQLツールの紹介
hisamouna
2
1.9k
ESXi のAIOps だ!2025冬
unnowataru
0
430
AI との良い付き合い方を僕らは誰も知らない
asei
1
290
AgentCoreとStrandsで社内d払いナレッジボットを作った話
motojimayu
1
1.1k
AWS re:Invent 2025~初参加の成果と学び~
kubomasataka
1
200
Featured
See All Featured
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
359
30k
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
2.2k
Designing Experiences People Love
moore
143
24k
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
5
680
Getting science done with accelerated Python computing platforms
jacobtomlinson
0
81
How to make the Groovebox
asonas
2
1.9k
Designing for Timeless Needs
cassininazir
0
100
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
5.8k
Typedesign – Prime Four
hannesfritz
42
2.9k
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
200
Measuring & Analyzing Core Web Vitals
bluesmoon
9
720
Google's AI Overviews - The New Search
badams
0
870
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