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
TwitterのList編集しやすいやつ作った
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
ryonext
May 28, 2016
Technology
1.8k
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
TwitterのList編集しやすいやつ作った
ryonext
May 28, 2016
More Decks by ryonext
See All by ryonext
AWS Lambda の Ruby 対応
ryonext
0
280
validationについて
ryonext
1
860
AWS Lambda と API GatewayでRails使わずに済んだ話
ryonext
8
4.4k
capistrano-bundle_rsync使ったらオートスケールが高速化した話
ryonext
8
2.6k
PumaとUnicornで最近自分が理解したこと
ryonext
13
9.6k
Hubot事例
ryonext
1
1.7k
Redisでバッチ処理を冗長化しつつ排他制御
ryonext
0
2.2k
CircleCIとwercker
ryonext
3
1.3k
rubykaigi 3day interactive white board
ryonext
2
410
Other Decks in Technology
See All in Technology
C#コードの結合を可視化する Roslyn解析による設計改善と リファクタリング判断
dora56
0
220
開発投資の期待値を上げるプロダクトロードマップづくり ~プロダクトエンジニアが越境して事業を伸ばす~
kekekenta
1
230
Claude Codeを「使うほど育つ」AI秘書にするノウハウ
minorun365
PRO
32
29k
SREへの勘違いに気づいた後の話
tomodakengo
0
110
AgentCore Runtime上にAgentic Coding基盤を構築・展開する際の設計ポイントと限界点 / Design considerations and limitations when building an agentic coding platform on AgentCore Runtime
har1101
5
510
今話題のAI「Jev」って何? 宇宙最速で学ぶ会
minorun365
PRO
30
17k
サーバーレスをどこまで使う? WebRTC対戦ゲームで選んだVPSとの共存設計
kaidouji85
0
210
絵ではじめるKubernetesセキュリティ
aoi1
4
690
データ界隈LT祭 第1回LT登壇
taromatsui_cccmkhd
2
1.5k
安心して変更できるWebフロントエンドの作り方
pirosikick
5
2.8k
銀行勘定系システムにおける開発プロセス刷新×AIによる環境モダナイゼーション / Development Process Transformation and AI-Driven Environment Modernization
muit
1
2.4k
作って終わりじゃないサーバーレス 〜9年運用する大規模EC物流API基盤の設計・運用のリアル〜
zozotech
PRO
0
320
Featured
See All Featured
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4.2k
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
3
240
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
74
42k
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
300
Everyday Curiosity
cassininazir
0
320
Learning to Love Humans: Emotional Interface Design
aarron
275
41k
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.5k
WENDY [Excerpt]
tessaabrams
14
39k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3.4k
The Curse of the Amulet
leimatthew05
3
15k
Reality Check: Gamification 10 Years Later
codingconduct
0
2.3k
Transcript
5XJUUFSͷ-JTUฤू͠ ͍ͭ͢࡞ͬͨ !SZPOFYU
ࣗݾհ w !SZPOFYU w ήʔϚʔܥΤϯδχΞ w ࠷ۙ07&38"5$)ͬͯ·͢
࡞ͬͨͷ w 5XJUUFSͷϦετΛཧ͍͢͠πʔϧ w ͜͜ͰՔಇத w IUUQTUXJUUFSMJTUFEJUPSIFSPLVBQQDPN w ιʔε w
IUUQTHJUIVCDPNSZPOFYU UXJUUFS@MJTU@FEJUPS
ը໘
ͳ͔ͥͭͬͨ͘ w ެࣜͷϖʔδͰϦετͷՃɾআ͢Δͷݫ ͔ͬͨ͠
ਓΛݸผʹબΜͰϦετՃ w ϛϡʔτϒϩοΫ͕ۙ͘ʹ͋ͬͯ͜Θ͍
Ϧετͷϖʔδ͔ΒਓΛ ՃͰ͖ͳ͍
ྨࣅͷαʔϏε w IUUQUXJUMJTUNBOBHFSDPN
͜͏͍͏ը໘
w ϔομʔ͕͍ͭͯ͜ͳ͍ͷͰͲͷϦετͳͷ͔ɺ ը໘ʹऩ·Βͳ͍ൣғͰΘ͔Γʹ͍͘
w 4BWFԡ͠ΕΔ w ✅Λมߋͨ͠Βଈөͯ͠ཉ͔ͬͨ͠
ͦΕΛ౿·͑ͯ͜͏͍͏ϨΠΞ τʹ w ΞΧϯτ͝ͱʹϦετͷՃঢ়ଶ͕Θ͔Δ w ✅Λมߋͨ͠Β͙͢ʹө͢Δ
ٕͬͨज़ w 3BJMT w UXJUUFS IUUQTHJUIVCDPNTGFSJLUXJUUFS w UXJUUFSPBVUI IUUQTHJUIVCDPN
NPPNFSNBOUXJUUFS@PBVUI w 7VFKT
UXJUUFSͱUXJUUFSPBVUIΛ྆ํ ͍ͬͯΔཧ༝ w UXJUUFS (FN ɺαϯϓϧίʔυϦϑΝϨϯεΛ ݟͨײ͡ɺ͢ͰʹϢʔβͷΞΫηετʔΫϯ͕͋Δ ঢ়ଶͰ5XJUUFS"1*ʹϦΫΤετΛ͢Δͷͩͬͨ w $POTVNFSLFZTFDSFU͚ͩ͋ͬͯɺ5XJUUFSʹೝ
ূΛ͛ͯίʔϧόοΫΛड͚औͬͯΞΫηετʔ ΫϯΛऔಘ͢Δɺͱ͍͏͜ͱ͕Ͱ͖ͳͦ͞͏ͩͬͨ w ͦ͜ΛຒΊΔͨΊʹͬͨͷ͕UXJUUFSPBVUI
࡞͍ͬͯͯͭΒ͔ͬͨͱ͜Ζ w ࣗͷϑΥϩʔͯ͠Δਓશ෦Λऔಘ͢Δ w ࣗͷ͍࣋ͬͯΔϦετΛશ෦औಘ͢Δ w ࣗͷͯ͢ͷϦετͷϝϯόʔΛશ෦औಘ͢Δ w "1*ͷίʔϧ͕ଟ͍ͷͰ3BUF-JNJUΛ৯Β͍ ͍͢
ϑΥϩʔͯ͠ΔਓɺϦετͷ w ී௨ʹΔͱ͔݅ͣͭ͠औΕͳ͍ w ͔ͭɺϥΠϒϥϦͷݺͼग़͠ํΛ͠ͳ͍ͱ Ұؾʹશ݅औಘͯ͠͠·͏ w ҎʹճҎ্ݺͿͱ3BUF-JNJU
w 5XJUUFSͷ(FNΛͬͯ'PMMPXͨ͠ਓͷҰཡΛऔ Ζ͏ͱͨ͠ΒͪΐͬͱϋϚͬͨ݅2JJUBIUUQ RJJUBDPNSZPOFYUJUFNT EDG w ͜͜ʹ·ͱΊͨͷͰ͕͢ɺ݅·ͰऔಘͰ͖Δ ͷͰ݅औͬͯՃಡΈࠐΉํͰରԠɻ w ϑΥϩʔͯ͠Δਓ͕ଟ͍ͱͲ͏͠Α͏ͳ͍
ϝϯόʔͷ w 3BJMTଆͰϦετͷϝϯόʔΛऔಘ͢Δ"1*Λ࡞ 1 class MembersController < ApplicationController … 4
def index 5 member_id_lists = twitter.list_members(list_id: params[:list_id], owner_id: params[:owner_id], count: 200).map {|m| m.to_h[:id_str] } 6 render json: member_id_lists 7 end … 24 end
w +4ଆͰϦετͷ͚ͩϧʔϓΛճͯ͠ɺ7VFKTͷ EBUBͱͯ࣋ͭ͠ 14 fetchMembers: (list) -> 15 this.$http( 16
method: "GET" 17 url: "/members?list_id=#{list.list.id_str} &owner_id=#{this.currentUserId}" 18 headers: 19 "X-CSRF-Token": $('meta[name="csrf-token"]').attr('content') 20 ).then( (response) -> 21 list.members = response.data 22 ).catch( (err) -> 23 alert("error") 24 ).finally( -> 25 list.completed = true 26 )
w ϝϯόʔ͔Ͳ͏͔ͷఆ୯७ʹ+BWBTDSJQUͷॲཧ͚ͩͰߦ͍ɺ"1*ϦΫΤετΛൃੜͤ͞ͳ͍Α͏ʹ͢Δ w ϑΥϩʔͯ͠Δਓ݅ΛՃͰಡΈࠐΜͰ7VFͷྻʹಥͬࠐΊఆͯ͘͠ΕΔ w "1*ͷϦΫΤετɺϑΥϩʔͯ͠ΔਓΛऔΔ ࣗͷϦετશ෦ΛऔΔ
Ϧετͷ͚ͩϝϯόʔ ΛऔΔ O ʹ͑ΒΕΔɻ 10 computed: 11 checked: -> 12 this.members.includes(this.user.id_str)
·ͱΊ w շదʹϦετૢ࡞Ͱ͖ΔΑ͏ʹͳΓ·ͨ͠ w ֎෦"1*ୟ͘ͱ͖ϦΫΤετΛݮΒ͢Α͏ʹ ͢Δͷॏཁ