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
9
560
What happens in Laravel 4 bootstraping
介紹 Laravel 4 的啟動過程
大澤木小鐵
December 16, 2014
Tweet
Share
More Decks by 大澤木小鐵
See All by 大澤木小鐵
Effective Unit Testing
jaceju
3
610
JSConf Asia 2014 Sessions
jaceju
4
420
Deal with Laravel assets by Bower & Gulp
jaceju
30
2k
Leaning MVC By Example
jaceju
0
380
ng-conf_2014
jaceju
2
1k
The Power of JavaScript in JSConf.Asia 2013
jaceju
5
400
jQuery vs AngularJS, dochi?
jaceju
20
2.9k
Begining Composer
jaceju
24
5.3k
Checkup your web pages
jaceju
44
3.2k
Other Decks in Programming
See All in Programming
副作用と戦う PHP リファクタリング ─ ドメインイベントでビジネスロジックを解きほぐす
kajitack
2
420
おやつのお供はお決まりですか?@WWDC25 Recap -Japan-\(region).swift
shingangan
0
150
ISUCON研修おかわり会 講義スライド
arfes0e2b3c
1
480
20250704_教育事業におけるアジャイルなデータ基盤構築
hanon52_
5
1.2k
なぜあなたのオブザーバビリティ導入は頓挫するのか
ryota_hnk
0
330
ZeroETLで始めるDynamoDBとS3の連携
afooooil
0
110
可変変数との向き合い方 $$変数名が踊り出す$$ / php conference Variable variables
gunji
0
220
オンコール⼊⾨〜ページャーが鳴る前に、あなたが備えられること〜 / Before The Pager Rings
yktakaha4
2
1.1k
What's new in AppKit on macOS 26
1024jp
0
160
「App Intent」よくわからんけどすごい!
rinngo0302
1
120
ソフトウェア設計とAI技術の活用
masuda220
PRO
25
6.6k
バイブスあるコーディングで ~PHP~ 便利ツールをつくるプラクティス
uzulla
1
250
Featured
See All Featured
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
8
370
Building Flexible Design Systems
yeseniaperezcruz
328
39k
RailsConf 2023
tenderlove
30
1.2k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
3.9k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
15
1.6k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
48
2.9k
How to train your dragon (web standard)
notwaldorf
96
6.1k
A designer walks into a library…
pauljervisheath
207
24k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
[RailsConf 2023] Rails as a piece of cake
palkan
55
5.7k
Git: the NoSQL Database
bkeepers
PRO
431
65k
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