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
がぶのみ☆エリクサー♡〜3日で作るPhoenixアプリケーション〜
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
yu0819ki
February 10, 2016
230
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
がぶのみ☆エリクサー♡ 〜3日で作るPhoenixアプリケーション〜
Elixir触ってみた
yu0819ki
February 10, 2016
More Decks by yu0819ki
See All by yu0819ki
たまには今日から業務で使える話でもしてみよう
yu0819ki
0
46
推しの成長と発展を寿ぐLT
yu0819ki
1
100
LightningTalkの資料作る時間なかったからおすすめの異世界転生作品を紹介するわ
yu0819ki
2
130
LightningTalkの資料作る時間なかったから カラオケするわ
yu0819ki
0
120
俺と婚活
yu0819ki
2
230
デプロイについて言いたい1つのこと
yu0819ki
0
520
Webシステム不具合調査講座
yu0819ki
1
640
高い学習コストを払ってでも React+Reduxを選ぶその理由
yu0819ki
0
1.3k
やれてなかったからやりたい話
yu0819ki
0
440
Featured
See All Featured
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
600
Thoughts on Productivity
jonyablonski
76
5.4k
A Modern Web Designer's Workflow
chriscoyier
699
190k
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
620
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
1
460
HDC tutorial
michielstock
2
1k
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
970
Marketing to machines
jonoalderson
1
6k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.4k
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
2
320
Ten Tips & Tricks for a 🌱 transition
stuffmc
1
280
[RailsConf 2023] Rails as a piece of cake
palkan
59
7.1k
Transcript
がぶのみ☆エリクサー♡ 〜3日で作るPhoenixアプリケーション〜 2015/2/10 yu0819ki@CyberZ
Intro. Name: 木村 幸弘 a.k.a yu0819ki Birthday:
1985.08.19 Age: 30 Birthplace: 北海道 Job: Web屋 Hobby: 音ゲー、読書、作曲 MoKo: パンが無ければ作ればいいじゃない
今回は新しい言語に触れてみた話 【要件】 直近話題に上がってて社内でもほとんど触られていない言語に触れてみる 【出力】 Webアプリケーションを作ってHerokuに置く
【入力?】 • Erlang • Elixir • Phoenix • Brunch
Elixirとは • 関数型 • 並列処理OK • Erlang仮想環境上で動く
• 以下略 hKps://ja.wikipedia.org/wiki/Elixir_(プログラミング言語)
Erlangとは • 並行処理指向のプログラミング言語 • 実行環境でもある • 関数型
• アクターモデル • 以下略 hKps://ja.wikipedia.org/wiki/Erlang 【事例?】 • RabbitMQ hKps://www.rabbitmq.com/ • ニコ生の配信基盤
ざっくり比較 • Scala <-‐> Elixir • JVM <-‐> Erlang
• sbt <-‐> mix • Play2 <-‐> Phoenix
Phoenixとは • RoR風のWebアプリケーションフレームワーク • フロントエンドタスクランナーとしてBrunchを採用・取り込み • コードを変更したら即座に反映されるので快適に開発できる
• hKp://www.phoenixframework.org/
Webアプリを作ります
要件定義 • URLエンコード/デコードをするフォームを持っている(HTML) • 画面からAJAXでサーバに文字列を送る(JS) • サーバで受け取った文字列をURLエンコード/デコードしてJSONとして返却 (Phoenix/Elixir)
• 画面を更新(JS/HTML) • Heroku上で動く
参考資料 • Phoenix アプリケーションを Heroku にデプロイする
ハマったところ • Brunchの仕様がわからん(´・ω・`) • わからんすぎてAngular使おうと思ったけど挫折した(´・ω・`)
成果物 • hKps://github.com/yu0819ki/gabunomi
ご清聴ありがとうございました