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
Swift on Bluemix Hands-on Reference
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
joohoun song
March 25, 2016
Programming
64
0
Share
Swift on Bluemix Hands-on Reference
2016/3/25 Swift on Bluemix Hands-on Reference @Co-Edo
joohoun song
March 25, 2016
More Decks by joohoun song
See All by joohoun song
20161031_Pepper-Bluemixワークショップ
hunnycode
1
490
MA2016-Facebook Messenger Platform ハッカソン
hunnycode
0
92
TechUP Makers-IBM Bluemix Watson API Hands-on
hunnycode
0
190
IBM Bluemixによる、Tweetデータ活用方法やツールのご紹介
hunnycode
0
370
IBM BluemixとSwift
hunnycode
0
230
IoTとクラウドセキュリティ(SoftLayer)
hunnycode
0
860
20160830-IBM Cloud Community #5
hunnycode
0
760
BlueHub紹介資料
hunnycode
0
81
IBM Cloud Community 勉強会 #2
hunnycode
0
590
Other Decks in Programming
See All in Programming
의존성 주입과 모듈화
fornewid
0
150
Vibe NLP for Applied NLP
inesmontani
PRO
0
540
Explore CoroutineScope
tomoeng11
0
130
How We Practice Exploratory Testing in Iterative Development( #scrumniigata ) / 反復開発の中で、探索的テストをどう実施しているか
teyamagu
PRO
0
280
Terraform言語の静的解析 / static analysis of Terraform language
wata727
1
120
Claude CodeでETLジョブ実行テストを自動化してみた
yoshikikasama
0
1.1k
Road to RubyKaigi: Play Hard(ware)
makicamel
1
510
AI時代のエンジニアリングの原則 / Engineering Principles in the AI Era
haru860
0
880
AI-DLC Deep Dive
yuukiyo
9
5k
2026_04_15_量子計算をパズルとして解く
hideakitakechi
0
130
t *testing.T は どこからやってくるの?
otakakot
1
840
Symfony AI in Action - SymfonyLive Berlin 2026
chr_hertel
1
100
Featured
See All Featured
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
61
43k
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
410
Why Our Code Smells
bkeepers
PRO
340
58k
BBQ
matthewcrist
89
10k
Gemini Prompt Engineering: Practical Techniques for Tangible AI Outcomes
mfonobong
2
380
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
1.9k
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.7k
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
130
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.4k
Designing for humans not robots
tammielis
254
26k
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
1
280
Building the Perfect Custom Keyboard
takai
2
740
Transcript
Swiftコードを使った Webアプリケーションの新しい開発⽅法 - Bluemix Swift runtime - ⽇本IBM @joohounsong
本⽇の流れ。 ・19:00〜19:20 - IBM BluemixとSwiftについて 【ハンズオン】 ・19:20〜20:20 - Swift Dockerイメージ作成&
IBM Bluemix Containersにて環境構築 ・20:20〜21:00 - Bluemix Swiftランタイムを活⽤した、 Swiftウェブアプリの開発 ・21:00〜 - 懇親会 (1,000円) ハンズオンの準備。 ・IBM Bluemix アカウント ・Docker Install ・Docker Hub から Swiftイメージのダウンロード ・Doorkeeperページを参考 CNYVH
IBM Bluemixとは。 オープンスタンダードをベースにした、PaaS(Platform as a Service) http://bit.ly/1RCHgnO
開発環境:ランタイム ・多⾔語環境 ・開発者が開発に集中できる、開発環境を提供 ・5分あれば、開発環境構築完了 http://bit.ly/1RCHgnO
ビルドパックで任意の開発環境が構築できる。 コミュニティビルドパック http://bit.ly/1RCHgnO
100以上のサービスや APIを組み合わせて、 より強くいアプリケーションの 開発ができる。 100以上! 強⼒な開発素材との連動(コンポーザブル)
あっという間に “Hello World” ɾ4UFQɿϥϯλΠϜ͔ΒʮKBWBʯΛબ ɾ4UFQɿʮ࡞ʯΫϦοΫʂ ɾ4UFQɿ63-ΫϦοΫ http://bit.ly/1RCHgnO
メール送信機能実装の例 コーディングを含め、30minあれば⼗分 http://bit.ly/1RCHgnO
スケーラブル システムのリソースをいつでも変更可能。 http://bit.ly/1RCHgnO
スペース:プロジェクトを分けて管理 http://bit.ly/1RCHgnO
コーディングを楽しみましょう。 http://bit.ly/1RCHgnO
ソースコードをデプロイ http://bit.ly/1RCHgnO
Eclipse、IDS(IBM DevOps Service)、CF CLI、 GitHubなど ・Eclipse Eclipse PluginでBluemixと連携 ・IDS クラウドベースの開発環境
・CF CLI Cloud Foundryによるコマンド操作 ・GitHub GitHubで管理されているプロジェク トとの連携 様々な開発環境やツールとの連携 http://bit.ly/1RCHgnO
ΤσΟλʔ ݁Ռ http://bit.ly/1RCHgnO
Swift on the IBM Cloud ΤσΟλʔ ݁Ռ IBM InterConnectにて、多数のSwift関連新プロジェクトを発表。 http://bit.ly/1RCHgnO
݁Ռ Swift on the IBM Cloud ・Swiftのコードがそのままクラウド上で実装可能。 ・普通のエディターによる開発が可能。 ・約5分あれば、Swiftウェブアプリ開発環境構築 ・オープンソースとして開発されている
(Cloud Foundry buildpack) http://bit.ly/1RCHgnO
ΤσΟλʔ ݁Ռ IBM Bluemix Swift runtime http://bit.ly/1RCHgnO
݁Ռ Swift on the IBM Cloud ・イベント駆動型ランタイム環境。 ・Swift、JavaScript、Node.jsのアプリが実⾏可能。 ・各Feedをトリガーにし、登録されている処理が起動。 ・外部のサービスとして、Cloudant、Github、Watson、
Slackなど利⽤可能。(2016.3 現在) http://bit.ly/1RCHgnO
ΤσΟλʔ ݁Ռ OpenWhisk http://bit.ly/1RCHgnO
݁Ռ Swift on the IBM Cloud ・IBM Bluemix Docker Container上で起動。
・ブラウザ上で、Swiftコードを試せる。 ・Swiftコードのエラーチェック。 ・Swiftコードのアウットプット(結果)をすぐ確認。 http://bit.ly/1RCHgnO
Swift Sandbox ΤσΟλʔ ݁Ռ IUUQTTXJGUMBOHOHCMVFNJYOFU http://bit.ly/1RCHgnO
Swift on the IBM Cloud ݁Ռ ,*563"ʁ 4XJGUͰ։ൃͰ͖Δ ΣϒΞϓϦέʔγϣϯ༻ϑϨʔϜϫʔΫ https://github.com/IBM-Swift/Kitura
http://bit.ly/1RCHgnO
KITURA ΤσΟλʔ ݁Ռ IUUQTHJUIVCDPN*#.4XJGU,JUVSB http://bit.ly/1RCHgnO
Swift Framework https://github.com/qutheory/vapor Perfect https://github.com/PerfectlySoft/Perfect https://github.com/mattdonnelly/Swifter VAPOR https://github.com/IBM-Swift/Kitura KITURA Swifter
http://bit.ly/1RCHgnO
Facebook Group https://facebook.com/groups/bmxug twitter #bmxug http://ja.stackoverflow.com/questions/ tagged/bluemix stackoverflow(コミュニティQ&A) Qiita http://qiita.com/tags/Bluemix
・タグフォロー ・Advant Calendar 購読
ハンズオンタイム ݁Ռ ・IBM Bluemix Swift ランタイム作成 ・ソースコードダウンロード ・ソースコード修正 ・ソースコードデプロイ(CF CLI)
・確認 http://bit.ly/1RCHgnO
ハンズオンタイム 初めての⽅は、 「+ スペースの作成」から スペースを作成します。 ⽶国南部を 選びましょう。
ハンズオンタイム ݁Ռ ① ダッシュボード ② スペース作成 or 選択 ③ Cloud
Foundry アプリ ᶃ ᶄ ᶅ
ハンズオンタイム ݁Ռ ᶃ ᶄ ᶅ ① WEB選択 ② Swift選択 ③
続⾏クリック!
ハンズオンタイム ① アプリ名を⼊⼒ ② 完了クリック! ③ URLクリック! ④ ブラウザにて確認。 ᶃ
ᶄ ᶅ ᶆ
ハンズオンタイム Swiftランタイム完成!
ハンズオンタイム ① コーディング開始クリック ② スターター・コードの ダウンロードクリック ᶃ ᶄ
ハンズオンタイム ダウンロードされたソースコードを解凍し、皆さんの作業フォルダーに 移動させます。(ダウンロードフォルダーでも問題ない。)
ハンズオンタイム Sources/Server/main.swift 編集
ハンズオンタイム アプリの「コーディングの開始」にある、デプロイ⼿順に沿って、 修正されたコードをBluemixにプッシュ!
None