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.2k
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
43
19k
データベース/SQL超入門!完全初心者向けに世界一分かりやすく解説します
ttskch
1
3.2k
Symfony UX Autocompleteとかいう 顧客が本当に必要だったもの
ttskch
0
1.3k
就活生あるいは新人エンジニアさんへのお節介なアドバイス
ttskch
0
1.3k
symfony/pantherでWordleを解いてみた
ttskch
0
190
ついに、Webアプリでの帳票印刷のベストプラクティスを編み出しました💡
ttskch
16
18k
phpenvやめました🤦♂️
ttskch
0
740
PHPでCSVのインポート/エクスポートに立ち向かう
ttskch
1
1.8k
phpenv on Mac 難しすぎワロタ
ttskch
0
480
Other Decks in Programming
See All in Programming
単体テストを書かない技術 #phpcon_odawara
o0h
PRO
27
8.3k
GraphQLサーバの構成要素を整理する #ハッカー鮨 #tsukijigraphql / graphql server technology selection
izumin5210
4
840
VSCodeでのDatabricks開発もお勧めしたい/I would also recommend Databricks development with VSCode.
kazumain
0
250
Milestoner
bkuhlmann
1
410
R言語の環境構築と基礎 Tokyo.R 112
bob3bob3
0
270
Goのエラースタックトレースの歴史と今後
sonatard
9
1.4k
障害対応を起点としたもっといい開発と運用のサイクル作りのためにできること / Hatena Enginner Seminar #29
polamjag
0
170
Azure OpenAI Serviceのプロンプトエンジニアリング入門
tomokusaba
3
710
OpenAPIを中心に考えるAPI開発入門 / Introduction to API Development with a Focus on OpenAPI
seike460
PRO
2
170
Behind VS Code Extensions for JavaScript / TypeScript Linnting and Formatting
unvalley
5
920
スクラムガイドのスプリントレトロスペクティブを改めて読みかえしてみた / Re-reading the Sprint Retrospective Section in the Scrum Guide
mackey0225
3
430
PHP8.3の機能を振り返る / Review of PHP 8.3 features
seike460
PRO
1
110
Featured
See All Featured
The Brand Is Dead. Long Live the Brand.
mthomps
49
29k
Ruby is Unlike a Banana
tanoku
96
10k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
14
1.6k
RailsConf 2023
tenderlove
4
540
Facilitating Awesome Meetings
lara
42
5.6k
Designing for Performance
lara
601
67k
Imperfection Machines: The Place of Print at Facebook
scottboms
260
12k
How To Stay Up To Date on Web Technology
chriscoyier
782
250k
The Invisible Side of Design
smashingmag
294
49k
Thoughts on Productivity
jonyablonski
58
3.8k
Making Projects Easy
brettharned
108
5.5k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
40
4.4k
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