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
Laravel の効率的な学び方
Search
localdisk
June 17, 2016
Programming
9
3.1k
Laravel の効率的な学び方
Innocafe #21 での発表資料です。
http://innocafe.connpass.com/event/32137/
localdisk
June 17, 2016
Tweet
Share
More Decks by localdisk
See All by localdisk
Laravelにおける後悔しないためのアプリケーション設計
localdisk
8
5.7k
about Laravel 5.3
localdisk
1
890
逆引きLaravel
localdisk
7
13k
Other Decks in Programming
See All in Programming
Dev ContainersとGitHub Codespacesの素敵な関係
ymd65536
1
130
Kubernetes for Data Engineers: Building Scalable, Reliable Data Pipelines
sucitw
1
200
EventSourcingの理想と現実
wenas
6
2.1k
Realtime API 入門
riofujimon
0
110
Snowflake x dbtで作るセキュアでアジャイルなデータ基盤
tsoshiro
2
430
Content Security Policy入門 セキュリティ設定と 違反レポートのはじめ方 / Introduction to Content Security Policy Getting Started with Security Configuration and Violation Reporting
uskey512
1
440
JaSST 24 九州:ワークショップ(は除く)実践!マインドマップを活用したソフトウェアテスト+活用事例
satohiroyuki
0
270
Jakarta Concurrencyによる並行処理プログラミングの始め方 (JJUG CCC 2024 Fall)
tnagao7
1
240
Nuxtベースの「WXT」でChrome拡張を作成する | Vue Fes 2024 ランチセッション
moshi1121
1
530
Vaporモードを大規模サービスに最速導入して学びを共有する
kazukishimamoto
4
4.3k
CSC305 Lecture 13
javiergs
PRO
0
130
ECSのサービス間通信 4つの方法を比較する 〜Canary,Blue/Greenも添えて〜
tkikuc
11
2.3k
Featured
See All Featured
The Pragmatic Product Professional
lauravandoore
31
6.3k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
25
1.8k
Unsuck your backbone
ammeep
668
57k
Designing the Hi-DPI Web
ddemaree
280
34k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
37
1.8k
Become a Pro
speakerdeck
PRO
24
5k
Building Adaptive Systems
keathley
38
2.2k
Build The Right Thing And Hit Your Dates
maggiecrowley
32
2.4k
Adopting Sorbet at Scale
ufuk
73
9k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
4
290
What’s in a name? Adding method to the madness
productmarketing
PRO
22
3.1k
Building Better People: How to give real-time feedback that sticks.
wjessup
363
19k
Transcript
Laravelͷޮతͳֶͼํ Innocafe #21 @localdisk
ࣗݾհ দඌେ ·͓ͭ·͞Δ EEE ΤϯδχΞ Πϊϕʔλʔδϟύϯॴଐ ΤϯδχΞɾσβ ΠφɾσΟϨΫλΛืूத Laravel
3͔Βͷݹࢀ Ϣʔβʔ ධൃചத @localdisk
-BSBWFMͷಛ w ଟػೳ w جຊతͳMVC+ServiceContainer, Event, Queueʜ w มԽ͕ܹ͍͠ w
ݱࡏ w ͷϦϦʔε มԽΛѲ͢ΔʹޮతʹֶͿඞཁ͕͋Δ
ͦͷ·͑ʹ
ޮతʹֶͿ४උΛ͠Α͏ w IDE͓͏ • PhpStorm/NetBeans w ΫϥεɺϑΝΠϧɺγϯϘϧΛ։͘ w ఆٛઌʹඈͿɺ༻͞Ε͍ͯΔՕॴʹඈͿ w
ࣗ৴ͷ͋ΔਓIDE͡Όͳͯ͘OK
ֶͿαΠΫϧ lಡΉz lࢼ͢ ॻ͘ ಈ͔͢ z
ಡΉ
ίΞΛಡΉ w Illuminate\Container\Container w ͍ΘΏΔαʔϏείϯςφ w ࡶʹݴ͑lͰ͔͍ྻz w Illuminate\Foundation\Application w
αʔϏείϯςφΛܧঝɻΞϓϦέʔγϣϯͷॳظॲཧ w ศརϝιου͋Δ w Illuminate\Foundation\Application\Http\Kernel w App\Http\Kernel ߹Θͤͯ w ͜͜ΒΜ·ͰಡΊ͍͍ͩͨΘ͔Δ
ServiceProvider/FacadeΛಡΉ w Illuminate\Hashing\HashServiceProvider w Ұ൪୯७ɻॳΊͯಡΉͷʹ࠷ద w Illuminate\Support\Facade w ྻ͔ΒऔΓग़͍ͯ͠Δ͚ͩ w
Θ͔Ε୯७ w ѱ͟͠·ʹݴΘΕΔ͜ͱ͕ଟ͍͕ɺMockΛखܰʹ࡞ΕΔͷ େ͖ͳϝϦοτ w helperʜ
΄͔ಡΉ w Eloquent, HttpಡΈࠐΜͰ͓͘ͱḿΔ w ࣮໘ͰҰ൪ॏๅ͞Εͦ͏ w Queue/Event w ඇಉظॲཧ
w ͜ΕதΛͬͯΔͱώʔϩʔѻ͍
SymfonyComponent w ා͘ͳ͍ w console, process͋ͨΓ͓ͬͯ͘ͱଞͷ-BSBWFM Ҏ֎ͷϓϩδΣΫτͰ͍υίϩຬࡌ w dom-crawler, css-selectorεΫϨΠϐϯάͷ͓
ڙ w ͷͷ͍ͭͰ͘Β͍ͷؾ࣋ͪͰಡΉ
Changelog w LaravelόʔδϣϯΞοϓ͕සൟ w νΣϯδϩάͰѲ͢Δɻ࠷͔ۙͳΓஸೡʹͳͬ ͨ • https://github.com/laravel/ framework/blob/5.2/CHANGELOG.md
ࢼ͢
ࢼ͢ w ॻ͘ ಈ͔͢ w Ͳ͏ಈ͔͢ w artisan serve +
ϒϥβ ͬͱखܰʹࢼ͢ํ๏͕̎ͭʂ
tinker w ߴੑೳͳREPL(Read-eval-print loop) w ࢼ͢ʹे w ModelFactory Λ߹ΘͤΔͱศར͗ͯ͢ඓ݂ग़Δ ̎ͭʜ
ςετΛॻ͘
໊ݴʂʂʂʂ
ςετΛॻ͘ w ಈ࡞֬ೝ͍ͭͰʹॻ͘ w ͪΖΜ࣮͢Δલʹॻ͘ͷ͍͍ w ϋʔυϧΛԼ͛ͯ w ᘳΛٻΊΔͳ w
ΜͩΒ࣭ w ࣾʹ͍ͳ͔ͬͨΒTwitterphpusers-jaͷSlackͰ࣭ ͯ͠ΈΑ͏
ςετΛॻ͘ wίϯτϩʔϥʔϞσϧʹdd ॻ͘ҐͳΒςετ Ͱॻ͜͏ wୡײͰͯ͘Δ wςετॻ͘ͱઃܭྗͭ͘ wςετͮ͠Β͍ίʔυΛॻ͚ͳ͘ͳΔ
LaravelΛֶΜͩઌʹ͋Δͷ w SymfonyComponent w Α͘ग़དྷͨ֎෦ϥΠϒϥϦ w Laravel Elixir/Laravel Valet w
ଞݴޠ w PHPʹͩ͜ΘΒͳ͍ w Queue / Database w ϛυϧΣΞ
LaravelΛֶΜͩઌʹ͋Δͷ w LaravelPHPͷWebΞϓϦέʔγϣϯɾϑϨʔϜϫʔΫ w ͜Ε͚ͩͰϓϩμΫτ͠ͳ͍ w ઃܭٕ๏ɾଞݴޠɾϛυϧΣΞ w ܨ͕Δ൶ͨ͘͞Μ͋Δ w
ࣗͷڵຯͷ͋Δํ
ؔ৺Λ͛Α͏ʂ
Զୡͷษڧ͜Ε͔Βͩʂʂ
͋Γ͕ͱ͏͍͟͝·ͨ͠ʂ