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
Mastering Dependencies in Kotlin Multiplatform
tomifabian
0
110
ECSのサービス間通信 4つの方法を比較する 〜Canary,Blue/Greenも添えて〜
tkikuc
11
2.3k
Identifying User Idenity
moro
6
7.6k
CSC305 Lecture 13
javiergs
PRO
0
120
Jakarta Concurrencyによる並行処理プログラミングの始め方 (JJUG CCC 2024 Fall)
tnagao7
1
230
Piniaの現状と今後
waka292
5
1.4k
Webの技術スタックで マルチプラットフォームアプリ開発を可能にするElixirDesktopの紹介
thehaigo
2
900
RailsのPull requestsのレビューの時に私が考えていること
yahonda
5
1.7k
カラム追加で増えるActiveRecordのメモリサイズ イメージできますか?
asayamakk
4
1.5k
Boost Performance and Developer Productivity with Jakarta EE 11
ivargrimstad
0
800
Why Spring Matters to Jakarta EE - and Vice Versa
ivargrimstad
0
940
約9000個の自動テストの 時間を50分->10分に短縮 Flakyテストを1%以下に抑えた話
hatsu38
23
10k
Featured
See All Featured
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
159
15k
A Modern Web Designer's Workflow
chriscoyier
692
190k
Designing for Performance
lara
604
68k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
280
13k
The Straight Up "How To Draw Better" Workshop
denniskardys
232
140k
Fashionably flexible responsive web design (full day workshop)
malarkey
404
65k
Building Better People: How to give real-time feedback that sticks.
wjessup
363
19k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
27
1.9k
Large-scale JavaScript Application Architecture
addyosmani
510
110k
Happy Clients
brianwarren
97
6.7k
Testing 201, or: Great Expectations
jmmastey
38
7k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
46
2.1k
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
ࣗͷڵຯͷ͋Δํ
ؔ৺Λ͛Α͏ʂ
Զୡͷษڧ͜Ε͔Βͩʂʂ
͋Γ͕ͱ͏͍͟͝·ͨ͠ʂ