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
紳士なおじさんYeomanに学ぶ異性を落とす3つのテクニック
Search
ij_spitz
June 25, 2015
Technology
0
190
紳士なおじさんYeomanに学ぶ異性を落とす3つのテクニック
第1回ELT
ij_spitz
June 25, 2015
Tweet
Share
More Decks by ij_spitz
See All by ij_spitz
GunosyにおけるABテストの全容
ij_spitz
2
2.1k
プロダクト改善のためのデータ分析入門
ij_spitz
0
73
これからの強化学習_3.1_3.2
ij_spitz
0
100
海外スタートアップにおけるA/Bテスト基盤の紹介
ij_spitz
9
17k
GunosyにおけるABテスト
ij_spitz
1
450
fitbitではじめるオープンデータ
ij_spitz
0
160
食べログデータから見る東新宿と西早稲田のランチ事情
ij_spitz
0
340
Linuxとファイル
ij_spitz
0
79
Supporter Opinion
ij_spitz
0
58
Other Decks in Technology
See All in Technology
Amplify Gen2 Deep Dive / バックエンドの型をいかにしてフロントエンドへ伝えるか #TSKaigi #TSKaigiKansai #AWSAmplifyJP
tacck
PRO
0
370
強いチームと開発生産性
onk
PRO
34
11k
Engineer Career Talk
lycorp_recruit_jp
0
160
dev 補講: プロダクトセキュリティ / Product security overview
wa6sn
1
2.3k
20241120_JAWS_東京_ランチタイムLT#17_AWS認定全冠の先へ
tsumita
2
250
ドメイン名の終活について - JPAAWG 7th -
mikit
33
20k
CysharpのOSS群から見るModern C#の現在地
neuecc
2
3.2k
[CV勉強会@関東 ECCV2024 読み会] オンラインマッピング x トラッキング MapTracker: Tracking with Strided Memory Fusion for Consistent Vector HD Mapping (Chen+, ECCV24)
abemii
0
220
Incident Response Practices: Waroom's Features and Future Challenges
rrreeeyyy
0
160
Lexical Analysis
shigashiyama
1
150
Why App Signing Matters for Your Android Apps - Android Bangkok Conference 2024
akexorcist
0
120
The Rise of LLMOps
asei
7
1.4k
Featured
See All Featured
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
31
2.7k
Statistics for Hackers
jakevdp
796
220k
Rebuilding a faster, lazier Slack
samanthasiow
79
8.7k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
329
21k
GitHub's CSS Performance
jonrohan
1030
460k
Thoughts on Productivity
jonyablonski
67
4.3k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
280
13k
Fontdeck: Realign not Redesign
paulrobertlloyd
82
5.2k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.3k
The Power of CSS Pseudo Elements
geoffreycrofte
73
5.3k
Building Better People: How to give real-time feedback that sticks.
wjessup
364
19k
Site-Speed That Sticks
csswizardry
0
23
Transcript
1 2015.06.25 ਈ࢜ͳ͓͡͞Μ YeomanʹֶͿҟੑΛ མͱ̏ͭ͢ͷςΫχοΫ ! ੴ௩ ३
ಥવͰ͕͢ɺɺɺ 2
օ͞Μ࿀ਓ͍·͔͢ʁ 3
ຊͷత • What – ΠέͯΔϕϯνϟʔاۀͷࣾһͷօ͞Μʹɺ ࿀ਓΛ࡞ͬͯΒ͏ • How – ਈ࢜ͳ͓͡͞ΜYeoman͞Μ͔Β
– ҟੑʢ։ൃऀʣΛམͱ͢ςΫχοΫΛֶͿ 4 ΈΜͳʹ൴ঁ͕Ͱ͖Δ
ςΫχοΫͦͷ̍ ҟੑ͕ऑ͍ͬͯΔॠؒΛૂ͑ 5
ग़ࣾ • mongoDB • Express • AngularJS • Nodejs 6
MEANͰ࡞ͬͯʂ ʮMEANͱ…?ʯ
ExpressʹΑΔͻͳܗ࡞ ͱΓ͋͑ͣͬͯΈΑ͏ʂ 7
ExpressͷσΟϨΫτϦߏ 8 ɾϝΠϯεΫϦϓτ ɾαʔόʔىಈεΫϦϓτ ɾϞδϡʔϧ ɾϞδϡʔϧཧϑΝΠϧ ɾ੩తϑΝΠϧ ɾίϯτϩʔϥʔ ɾςϯϓϨʔτʢejs, jadeʣ
Expressʹ్ํʹΕΔ։ൃऀ 9 • ܰྔͱฉ͍͍͚ͯͨͲ͜ ͜·Ͱࣗ༝ߴ͍ͷ͔ • ݸਓ։ൃ͚ͩͲNodeॳΊͯ ͩ͠ɺΦϥΦϥ࣮ʹͳͬ ͨΒݏͩͳ •
Ϟσϧ…ʁ
Yeoman Yeoman ! ! ! ! ! ͜ͷ͓͡͞Μ͕ղܾ͠·͢ 10
Yeomanͷߏ • Yo scaffoldingπʔϧ ๛ͳGenerator ͕Web্ʹଘࡏ ࣗ࡞Ͱ͖Δ 11 • Grunt
Ϗϧυπʔϧ ςετ assetsͷѹॖ • bower ϑϩϯτΤϯυ༻ ύοέʔδϚωʔ δϟʔ npmͷϑϩϯτ όʔδϣϯ
ςΫχοΫͦͷ̎ ! ! ! ܸͪΌͨΔ 12
େྔੜ࢈ΛՄೳʹ͢Δͻͳܗ࡞ • npm install -g yo grunt-cli bower • npm
install -g generator-angular-fullstack • yo angular-fullstack • grunt serve ! ! ͨͬͨ͜Ε͚ͩͰαʔόʔىಈ·ͰͰ͖Δʂ ͦͷଞίϯτϩʔϥʔϞσϧͷ ͻͳܗΛ࡞͢ΔίϚϯυଘࡏ 13
๛ͳGenerator • angular • angular-fullstack • jhipster – Spring +
AngularJS for Java developers • gulp-angular – gulp not grunt • express • angular-express-sequelize • flux – react 14
ςΫχοΫͦͷ̏ ! ! ! ऴΘΓྑ͚Εશͯྑ͠ 15
ϏϧυπʔϧGrunt • Ϗϧυ࣌ͷλεΫΛίʔυͰࣗಈԽͰ͖Δ – assetsͷѹॖ – ςετ࣮ߦ – ߏจνΣοΫʢJSLintʣ •
ؾ࣋Α͘։ൃΛऴ͑ΒΕΔ – ·͓ͨ͏ͱ͍͏ؾ࣋ͪʹͳΔ 16
Yeoman·ͱΊ • Yo ΞϓϦέʔγϣϯͷͻͳܗ࡞ • Grunt ςετ/Ϗϧυπʔϧ • bower ϑϩϯτΤϯυ༻ύοέʔδϚωʔδϟʔ
17
Yeoman͞Μ͔ΒͷςΫχοΫ·ͱΊ • ҟੑ͕ऑ͍ͬͯΔॠؒΛૂ͑ – ͩΕͦ͠Μͳ͕࣌͋ΔͣͰ͢ɻ • ܸͪΌͨΔ – ετϥΠΫκʔϯΛ͛·͠ΐ͏ɻ •
ऴΘΓྑ͚Εશͯྑ͠ – ॳσʔτऴΘΓ͕؊৺Ͱ͢ɻ – ·ͨձ͍͍ͨͱࢥΘͤ·͠ΐ͏ɻ 18
࠷ޙʹɺɺɺ 19
൴ঁ͍·ͤΜʂʂ 20 ͞Μ͟ΜҒͦ͏ͳ͜ͱ ݴ͖ͬͯͨͰ͕͢ɺ
21 ߹ίϯɾঁͷࢠͷհ ઈࢍडதͰ͢ʂ
͝ਗ਼ௌ͋Γ͕ͱ͏͍͟͝·ͨ͠ Enjoy Yeoman! 22
Node.jsͱ • എܠ – C10K • جຊઃܭ – γϯάϧεϨου •
ϝϞϦফඅྔ͕গͳ͍ – ϊϯϒϩοΩϯάI/O – Πϕϯτϧʔϓ • ApacheͱNginx • ΫϥΠϯτͷϦΫΤετ͝ͱʹεϨουΛ࡞ 23
Node.js·ͱΊ • ίʔϧόοΫͰωετ͕ਂ͘ͳΔ → asyncϞδϡʔϧ • ಈతܕ͚ • Ϋϥεͷ֓೦͕ಛघʢObject, prototypeʣ
→ altJS Alternative JavaScriptͷུ ιʔεΛJavaScriptʹίϯύΠϧͯ͠͏ ࠷ۙͩͱMSͷTypeScript͕ྲྀߦ 24
YeomanΛ͏ར • جຊExpressͳͷͰܰྔ • npm, bowerͰύοέʔδ͕ཧ͞Ε͍ͯΔͷͰෳ ਓ։ൃ͕͍͢͠ • σϑΥϧτͰ͋Δఔͷύοέʔδ͕ՃࡁΈ –
ೝূܥ, ORϚούʔ, jQuery, bootstrap • δΣωϨʔλ͕બΔ and ࣗ࡞Ͱ͖Δ • ςετ, ϏϧυࣗಈԽ – assetsͷѹॖ, ίϯύΠϧʢCoffeeͱ͔ʣ • ͳʹΑΓ։ൃεϐʔυ 25