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.2k
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
ふかぼれ!CSSセレクターモジュール / Fukabore! CSS Selectors Module
petamoriken
0
150
광고 소재 심사 과정에 AI를 도입하여 광고 서비스 생산성 향상시키기
kakao
PRO
0
170
Vapor Revolution
kazupon
1
130
見せてあげますよ、「本物のLaravel批判」ってやつを。
77web
7
7.8k
Quine, Polyglot, 良いコード
qnighy
4
650
「今のプロジェクトいろいろ大変なんですよ、app/services とかもあって……」/After Kaigi on Rails 2024 LT Night
junk0612
5
2.2k
イベント駆動で成長して委員会
happymana
1
340
色々なIaCツールを実際に触って比較してみる
iriikeita
0
330
Streams APIとTCPフロー制御 / Web Streams API and TCP flow control
tasshi
2
360
カンファレンスの「アレ」Webでなんとかしませんか? / Conference “thing” Why don't you do something about it on the Web?
dero1to
1
110
3 Effective Rules for Using Signals in Angular
manfredsteyer
PRO
0
100
Ethereum_.pdf
nekomatu
0
470
Featured
See All Featured
Keith and Marios Guide to Fast Websites
keithpitt
409
22k
Gamification - CAS2011
davidbonilla
80
5k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
226
22k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
93
16k
How to Ace a Technical Interview
jacobian
276
23k
4 Signs Your Business is Dying
shpigford
180
21k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
126
18k
KATA
mclloyd
29
14k
10 Git Anti Patterns You Should be Aware of
lemiorhan
655
59k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
44
2.2k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
109
49k
Visualization
eitanlees
145
15k
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
ࣗͷڵຯͷ͋Δํ
ؔ৺Λ͛Α͏ʂ
Զୡͷษڧ͜Ε͔Βͩʂʂ
͋Γ͕ͱ͏͍͟͝·ͨ͠ʂ