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
Click-free releases & the making of a CLI app
oheyadam
2
110
とにかくAWS GameDay!AWSは世界の共通言語! / Anyway, AWS GameDay! AWS is the world's lingua franca!
seike460
PRO
1
860
as(型アサーション)を書く前にできること
marokanatani
9
2.6k
Jakarta EE meets AI
ivargrimstad
0
530
役立つログに取り組もう
irof
28
9.6k
3 Effective Rules for Using Signals in Angular
manfredsteyer
PRO
1
100
Content Security Policy入門 セキュリティ設定と 違反レポートのはじめ方 / Introduction to Content Security Policy Getting Started with Security Configuration and Violation Reporting
uskey512
1
530
見せてあげますよ、「本物のLaravel批判」ってやつを。
77web
7
7.7k
アジャイルを支えるテストアーキテクチャ設計/Test Architecting for Agile
goyoki
9
3.3k
AWS Lambdaから始まった Serverlessの「熱」とキャリアパス / It started with AWS Lambda Serverless “fever” and career path
seike460
PRO
1
260
Webの技術スタックで マルチプラットフォームアプリ開発を可能にするElixirDesktopの紹介
thehaigo
2
1k
카카오페이는 어떻게 수천만 결제를 처리할까? 우아한 결제 분산락 노하우
kakao
PRO
0
110
Featured
See All Featured
Visualization
eitanlees
145
15k
[RailsConf 2023] Rails as a piece of cake
palkan
52
4.9k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
28
9.1k
Adopting Sorbet at Scale
ufuk
73
9.1k
Into the Great Unknown - MozCon
thekraken
32
1.5k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
27
4.3k
RailsConf 2023
tenderlove
29
900
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
31
2.7k
VelocityConf: Rendering Performance Case Studies
addyosmani
325
24k
Git: the NoSQL Database
bkeepers
PRO
427
64k
Producing Creativity
orderedlist
PRO
341
39k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
364
24k
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
ࣗͷڵຯͷ͋Δํ
ؔ৺Λ͛Α͏ʂ
Զୡͷษڧ͜Ε͔Βͩʂʂ
͋Γ͕ͱ͏͍͟͝·ͨ͠ʂ