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
5年分のツケを一気に払った話
soogie
3
1.3k
メルカリ ハロ アプリの技術スタック
atsumo
2
800
個人開発で使ってるやつを紹介する回
yohfee
1
700
UnJSで簡単に始めるCLIツール開発 / cli-tool-development-with-unjs
aoseyuu
2
290
RDBの世界をぬりかえていくモデルグラフDB〜truncus graphによるモデルファースト開発〜
jurabi
0
170
게임 개발하던 학생이이 세계에선 안드로이드 개발자?
pangmoo
0
110
NEWTにおけるiOS18対応の進め方
ryu1sazae
0
230
色んなオートローダーを覗き見る #phpcon_okinawa
o0h
PRO
5
390
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
9
1.3k
Subclassing, Composition, Python, and You
hynek
3
170
DevFest Android in Korea 2024 - 안드로이드의 문단속 : 앱을 지키는 암호화 이야기
mdb1217
1
160
VS Code extension: ドラッグ&ドロップでファイルを並び替える
ttrace
0
170
Featured
See All Featured
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
191
16k
Large-scale JavaScript Application Architecture
addyosmani
510
110k
What's in a price? How to price your products and services
michaelherold
243
11k
The Cult of Friendly URLs
andyhume
77
6k
The Invisible Customer
myddelton
119
13k
Testing 201, or: Great Expectations
jmmastey
38
7k
Atom: Resistance is Futile
akmur
261
25k
How To Stay Up To Date on Web Technology
chriscoyier
787
250k
The World Runs on Bad Software
bkeepers
PRO
65
11k
KATA
mclloyd
27
13k
Design by the Numbers
sachag
278
19k
Automating Front-end Workflow
addyosmani
1365
200k
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
ࣗͷڵຯͷ͋Δํ
ؔ৺Λ͛Α͏ʂ
Զୡͷษڧ͜Ε͔Βͩʂʂ
͋Γ͕ͱ͏͍͟͝·ͨ͠ʂ