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
590
What happens in Laravel 4 bootstraping
介紹 Laravel 4 的啟動過程
大澤木小鐵
December 16, 2014
Tweet
Share
More Decks by 大澤木小鐵
See All by 大澤木小鐵
Effective Unit Testing
jaceju
3
640
JSConf Asia 2014 Sessions
jaceju
4
450
Deal with Laravel assets by Bower & Gulp
jaceju
30
2k
Leaning MVC By Example
jaceju
0
420
ng-conf_2014
jaceju
2
1.1k
The Power of JavaScript in JSConf.Asia 2013
jaceju
5
430
jQuery vs AngularJS, dochi?
jaceju
20
3k
Begining Composer
jaceju
24
5.4k
Checkup your web pages
jaceju
44
3.2k
Other Decks in Programming
See All in Programming
Claude Code の Skill で複雑な既存仕様をすっきり整理しよう
yuichirokato
1
360
DSPy入門 Pythonで実現する自動プロンプト最適化 〜人手によるプロンプト調整からの卒業〜
seaturt1e
1
670
オブザーバビリティ駆動開発って実際どうなの?
yohfee
3
810
Takumiから考えるSecurity_Maturity_Model.pdf
gessy0129
1
140
20260228_JAWS_Beginner_Kansai
takuyay0ne
5
480
2026年は Rust 置き換えが流行る! / 20260220-niigata-5min-tech
girigiribauer
0
230
AIコードレビューの導入・運用と AI駆動開発における「AI4QA」の取り組みについて
hagevvashi
0
420
メタプログラミングで実現する「コードを仕様にする」仕組み/nikkei-tech-talk43
nikkei_engineer_recruiting
0
170
エージェント開発初心者の僕がエージェントを作った話と今後やりたいこと
thasu0123
0
240
Claude Code Skill入門
mayahoney
0
190
AWS Infrastructure as Code の新機能 2025 総まとめ 〜SA 4人による怒涛のデモ祭り〜
konokenj
10
3.3k
エラーログのマスキングの仕組みづくりに役立ったASTの話
kumoichi
0
170
Featured
See All Featured
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
380
The Limits of Empathy - UXLibs8
cassininazir
1
250
Paper Plane
katiecoart
PRO
0
48k
Mind Mapping
helmedeiros
PRO
1
110
Music & Morning Musume
bryan
47
7.1k
A better future with KSS
kneath
240
18k
Joys of Absence: A Defence of Solitary Play
codingconduct
1
300
Darren the Foodie - Storyboard
khoart
PRO
3
2.8k
Stop Working from a Prison Cell
hatefulcrawdad
274
21k
Utilizing Notion as your number one productivity tool
mfonobong
4
250
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
1
320
Crafting Experiences
bethany
1
81
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