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
Angular初心者が1週間でモノ作ってみました
Search
Takashi Kanemoto
August 23, 2019
Programming
0
1.3k
Angular初心者が1週間でモノ作ってみました
ng-sake #15 LT資料
https://ng-sake.connpass.com/event/140021/
Takashi Kanemoto
August 23, 2019
Tweet
Share
More Decks by Takashi Kanemoto
See All by Takashi Kanemoto
FigmaとPHPで作る1ミリたりとも表示崩れしない最強の帳票印刷ソリューション
ttskch
44
21k
データベース/SQL超入門!完全初心者向けに世界一分かりやすく解説します
ttskch
1
3.3k
Symfony UX Autocompleteとかいう 顧客が本当に必要だったもの
ttskch
0
1.4k
就活生あるいは新人エンジニアさんへのお節介なアドバイス
ttskch
0
1.3k
symfony/pantherでWordleを解いてみた
ttskch
0
200
ついに、Webアプリでの帳票印刷のベストプラクティスを編み出しました💡
ttskch
16
19k
phpenvやめました🤦♂️
ttskch
0
790
PHPでCSVのインポート/エクスポートに立ち向かう
ttskch
1
1.9k
phpenv on Mac 難しすぎワロタ
ttskch
0
490
Other Decks in Programming
See All in Programming
2024 コーディング研修
ckazu
2
690
Slackワークフローで感謝を伝える機能/WiFi 自動接続/Figma to React Component/障害レポート君 Team3@NOT A HOTEL
nakaohiroshi
0
310
ServerAction で Progressive Enhancement はどこまで頑張れるか? / progressive-enhancement-with-server-action
takefumiyoshii
6
520
How to implement a RubyVM with PHP?
memory1994
PRO
2
1.2k
Powerfully Typed TypeScript
euxn23
4
1.8k
Revisiting the Hotwire Landscape after Turbo 8 @ RailsConf 2024, Detroit
marcoroth
3
620
RuboCop: LSP and Prism
koic
2
130
slog登場に伴うloggerの取り回し手法の見直し / kamakura.go #6
arthur1
0
180
TypeScript Custom GitHub Action Development Tips
peaceiris
5
910
The Final Frontier of Web Development: React Server Components vs Jakarta EE
ivargrimstad
0
240
株式会社ゼネテック
genetec
0
130
哲学史とモデリング
tanakahisateru
3
440
Featured
See All Featured
Teambox: Starting and Learning
jrom
128
8.4k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
23
1.7k
GraphQLとの向き合い方2022年版
quramy
33
13k
The Art of Programming - Codeland 2020
erikaheidi
43
12k
Embracing the Ebb and Flow
colly
80
4.2k
Facilitating Awesome Meetings
lara
43
5.6k
Adopting Sorbet at Scale
ufuk
69
8.6k
[RailsConf 2023] Rails as a piece of cake
palkan
29
4.1k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
501
140k
In The Pink: A Labor of Love
frogandcode
138
21k
Producing Creativity
orderedlist
PRO
338
39k
Being A Developer After 40
akosma
67
580k
Transcript
/30 Angularॳ৺ऀ͕ 1िؒͰϞϊ࡞ͬͯΈ·ͨ͠ 2019/08/23 #ng_sake @ttskch 1
/30 ʹ͍ͭͯ 2
/30 ͖ͨͭͪʢ໊͋ͩʣ • ໊ݹ͔Βདྷ·ͨ͠ • (ג)ΧϧςοτίϛϡχέʔγϣϯζCTO • PHPྺ7ɺjQueryྺ6ɺAngularྺ0 3
/30 ͖ͨͭͪʢ໊͋ͩʣ • ͓ख͍ͨ͠ຊʢ2015/12ʣ • Schooߨࢣʢ2018/04ʣ ʮGitHubΛͬͨσϓϩΠࣗಈԽ࣮ફʯ ʮجຊ͔Β͔ͬ͠ΓֶͿ Symfony2ೖʯ 4
/30 ͨ ͭ ͖ ͪ twitter.com/ttskch ͋͞ɺ͋ͳͨࠓ͙͢ϑΥϩʔ͠Α͏!!! શແྉ ·͞ʹ໊ݴػ ਓੜͰେͳ͜ͱɺͯ͢
͖͔ͨͭͪΒڭΘͬͨ ͖ͨͭͪΛϑΥϩʔͨ͠Β ࠊ௧͕࣏Γ·ͨ͠ 100% φϯτʂ ϑΥϩϫʔ͔Βͷࢧ࣋ 100% ͍ͯ͠Δ ͍ͯ͠ͳ͍ ϑΥϩϫʔ͞Μ100ਓʹฉ͖·ͨ͠ ͖ͨͭͪΛϑΥϩʔ͍ͯ͠Δʁ 5
/30 ձࣾʹ͍ͭͯ 6
/30 (ג)Χϧςοτίϛϡχέʔγϣϯζ https://quartet-communications.com 7
/30 (ג)Χϧςοτίϛϡχέʔγϣϯζ https://www.google.co.jp/search?q=Χʔςϯ 8
/30 (ג)Χϧςοτίϛϡχέʔγϣϯζ https://lisket.jp 9
/30 We are hiring!ʢϚδͰʣ • JSerઈࢍେืूதʂʢϦϞʔτ෭ۀɾόΠτՄʣ • Symfony+AngularͰɺWebࠂۀքΛ ϗϫΠτʹ͢ΔΈΛ࡞ͬͯ·͢ •
ܦӦϏδϣϯʮੈքҰޮతͳཧళʯ 10
/30 We are hiring!ʢϚδͰʣ • ࣗࣾαʔϏεʮLisketʯͰࣗࣾͷۀޮԽ • શࣾһͷฏۉۀ͕࣌ؒ5h/݄͙Β͍Ͱ͢ ಛผड 11
/30 We are hiring!ʢϚδͰʣ ΤϯδχΞͷಇ͖͢͞େࣄʹͯ͠·͢✨ 12
/30 We are hiring!ʢϚδͰʣ ·͓͚ͣͩͰʂؾܰʹ͔͚͍ͯͩ͘͞ 13
/30 We are hiring!ʢϚδͰʣ ࠾༻αΠτ͋Γ·͢ʂͥͻ͍ͯΈ͍ͯͩ͘͞ 14 https://quartetcom.co.jp/recruit/engineer/
/30 Angularॳ৺ऀ͕ 1िؒͰϞϊ࡞ͬͯΈ·ͨ͠ 2019/08/23 #ng_sake @ttskch 15
/30 ͡Ίʹ 16 • ݄༵ʹ࡞Δ͜ͱΛࢥཱ͍ͬͨ • ࠓʢ༵ۚʣ·Ͱʹ࡞ͬͯLT͔ͨͬͨ͠ • ͑Δ݄࣌ؒʙͷ2͙࣌ؒͣͭΒ͍ •
Angularྗຊ1ಡΜͰͪΐͬͱΛ࡞Ζ͏ ͱͯ͠Έͨ͜ͱ͕͋Δ͙Β͍ʢͦΕ࠳ંͨ͠সʣ
/30 ࡞ͬͨͷ 17
/30 Ͱ͖Δ͜ͱ 18 • ը૾ɺ໊ɺϦϯΫઌURLΛೖྗ͢Δͱ հϦϯΫͷϒϩάύʔπΛੜ • ίϐϖ༻ͷHTMLίʔυΛtextareaʹදࣔ
/30 ࣌ؒΕͰͰ͖ͳ͔ͬͨ͜ͱ 19 • AmazonָఱͷϖʔδURL͔ΒҰൃͰ ϒϩάύʔπΛੜͰ͖ΔΑ͏ʹ͔ͨͬͨ͠ • API͕ϒϥβ͔Β͑ͳ͍ͷͰόοΫΤϯυ࡞Βͳ͍ͱ
/30 σϞ 20
/30 ͬͨ͜ͱͷྲྀΕ 1. ng newʊ 2. bootstrapɺngx-bootstrapಋೖ 3. HTMLΛϚʔΫΞοϓ 4.
imgurͷը૾ΞοϓϩʔυΛ࣮ 5. ϓϨϏϡʔ෦ͷHTMLΛtextareaʹग़ྗ 21
/30 ͬͨ͜ͱͷྲྀΕ 1. ng newʊ 2. bootstrapɺngx-bootstrapಋೖ 3. HTMLΛϚʔΫΞοϓ 4.
imgurͷը૾ΞοϓϩʔυΛ࣮ 5. ϓϨϏϡʔ෦ͷHTMLΛtextareaʹग़ྗ 22 ͜͜Ͱ݁ߏϋϚͬͨ
/30 ࠷ॳͷ࣮ 23 • ϓϨϏϡʔ෦ʹ#previewΛ͚ͭΔ • @ViewChildͰElementRefΛऔಘͯ͠ .nativeElement.innerHTMLͰHTMLΛऔಘ
/30 ݁Ռ 24
/30 _ngcontent-hiy-c0="" is Կʁ 25 • ίϯϙʔωϯτ͝ͱʹCSSͷείʔϓΛ ΧϓηϧԽ͢ΔͨΊʹૠೖ͞ΕΔͭΒ͍͠ • @ComponentσίϨʔλͰ
encapsulation: ViewEncapsulation.Noneʊ Λࢦఆ͢ΕফͤΔΒ͍͠_ ɾhttps://stackoverflow.com/questions/45082129 ɾhttps://qiita.com/jimbo/items/b347c19d935e796c2482 ࢀߟ
/30 ࠓͷ࣮ 26 • ϓϨϏϡʔ෦ΛίϯϙʔωϯτԽ • ͦͷίϯϙʔωϯτViewEncapsulation.None • @ViewChildΛ{ read:
ElementRef }͖Ͱ͑ ComponentͰͳ͘ElementRefΛऔಘͰ͖ͨ • ͋ͱಉ͡
/30 ݁Ռ 27
/30 ·ͱΊ 28 1ि͍ؒ
/30 ײ 29 • Ͱ·͋ॳ৺ऀͰ1िؒͰҰԠϞϊ࡞ΕΔ • ng generateͷ͓͔͛ͰαΫαΫ࡞ΕΔ • AngularJSͷใΛආ͚ͳ͕ΒάάΔͷΉ͍ͣ
• ຊಡΜͰͳ͔ͬͨΒແཧͩͬͨ
/30 @ttskch ʘThanks!ʗ 30