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
What happens in Laravel 4 bootstraping
Search
大澤木小鐵
December 16, 2014
Programming
600
9
Share
What happens in Laravel 4 bootstraping
介紹 Laravel 4 的啟動過程
大澤木小鐵
December 16, 2014
More Decks by 大澤木小鐵
See All by 大澤木小鐵
Effective Unit Testing
jaceju
3
650
JSConf Asia 2014 Sessions
jaceju
4
450
Deal with Laravel assets by Bower & Gulp
jaceju
30
2k
Leaning MVC By Example
jaceju
0
430
ng-conf_2014
jaceju
2
1.1k
The Power of JavaScript in JSConf.Asia 2013
jaceju
5
440
jQuery vs AngularJS, dochi?
jaceju
20
3k
Begining Composer
jaceju
24
5.5k
Checkup your web pages
jaceju
44
3.2k
Other Decks in Programming
See All in Programming
AIを導入する前にやるべきこと
negima
2
350
サークル参加から学ぶ、小さな事業の回し方
yuzneri
0
170
Agent Skills を社内で育てる仕組み作り
jackchuka
1
1.9k
Explore CoroutineScope
tomoeng11
0
190
Claude CodeでETLジョブ実行テストを自動化してみた
yoshikikasama
0
1.2k
AI時代だからこそ「Bloc」を採用する価値があるのかもしれない
takuroabe
0
160
How We Practice Exploratory Testing in Iterative Development( #scrumniigata ) / 反復開発の中で、探索的テストをどう実施しているか
teyamagu
PRO
3
800
When benchmarks go bad - what I learned from measuring performance wrong
hollycummins
0
380
Structured Concurrency, Scoped Values and Joiners in the JDK 25 26 27
josepaumard
1
150
Spec-Driven Development with AI Agents (Workshop, May 2026)
antonarhipov
3
340
SkillsをS3 Filesに置く時のあれこれ
watany
3
1.5k
SREに優しいTerraform構成 modulesとstateの組み方
hiyanger
2
170
Featured
See All Featured
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
1
500
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
370
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
130
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
390
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
300
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
19k
Designing for Timeless Needs
cassininazir
0
220
Believing is Seeing
oripsolob
1
120
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
180
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
1
250
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
400
The Invisible Side of Design
smashingmag
302
52k
Transcript
Laravel 4 What happens in bootstraping Jace Ju @ KKBOX
1. (request) 2. " 3.
! providers 4. 5. filters routers 6.
• public/.htaccss (Apache) • public/index.php •
• bootstrap/start.php •
Application: IoC Container // provider session
$app->bindShared('session', function($app) { return new SessionManager($app); }); // session $session = $app['session']; http://laravel.tw/docs/ioc</sub> <sub>http://www.jaceju.net/blog/archives/php-di-container/
hostname $env = $app->detectEnvironment([ 'local' =>
['jace-note-book'], 'production' => ['web-machine-1', 'web-machine-2'], ]); testing
$env = $app->detectEnvironment(function () { return
'production'; }); http://blog.wu-boy.com/2014/08/laravel-application-environments-without-hostnames/
• bootstrap/paths.php • Laravel Framework start.php
Framework • Facades ", ) • '+&* app/config
" • ( production +&* # • Exception • "% timezone • ).- $! http://laravel.tw/docs/facades
providers • app/config/app.php providers •
app/storage/meta/services.json ( ) • # • "! IoC container
Provider • (Eager loading) • (Event
loading) • console mode (Deferred loading)
app/start/global.php • ! •
Log • Exception • • app/filters.php
app/start/{env}.php • app/start/local.php • app/start/production.php
routers app/routes.php • (route) •
• request Controller • filter
• Request IoC • request
Response • Response
• Laravel IoC Container • •
Router / Request / Response