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
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
大澤木小鐵
December 16, 2014
Programming
610
9
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
What happens in Laravel 4 bootstraping
介紹 Laravel 4 的啟動過程
大澤木小鐵
December 16, 2014
More Decks by 大澤木小鐵
See All by 大澤木小鐵
Effective Unit Testing
jaceju
3
660
JSConf Asia 2014 Sessions
jaceju
4
460
Deal with Laravel assets by Bower & Gulp
jaceju
30
2.1k
Leaning MVC By Example
jaceju
0
440
ng-conf_2014
jaceju
2
1.1k
The Power of JavaScript in JSConf.Asia 2013
jaceju
5
450
jQuery vs AngularJS, dochi?
jaceju
20
3.1k
Begining Composer
jaceju
24
5.5k
Checkup your web pages
jaceju
44
3.2k
Other Decks in Programming
See All in Programming
AIだと陥りがちなJakarta EE最新技術への移行時の落とし穴と解決策
tnagao7
0
110
Oxcを導入して開発体験が向上した話
yug1224
4
320
LLM本来の能力を解き放つサンドボックス技術とAI民主化への適用
yukukotani
3
4.3k
メソッドのジェネリクスでGoの夢は広がるか? / Kyoto.go #65
utgwkk
3
820
jQueryをバージョンアップする前に使いたいjQuery Migrate
matsuo_atsushi
0
560
肥大化するレガシーコードに立ち向かうためのインターフェース分離と依存の逆転 / JJUG CCC 2026 Spring
hirokunimaeta
0
570
Spring Security 実践 ─ GraphQL APIで実務に役立つ 認証・認可 を学ぶ
wagyu
0
240
Datadog × OpenTelemetry 入門と実践のあいだ
kn_to_maxpno
1
160
ユニットテストの先へ:テスト技法で要求・仕様を整理するJava開発実践 / Beyond_Unit_Testing_Practical_Java_Development_Techniques_for_Organizing_Requirements_and_Specifications
shimashima35
0
410
Java × distroless で 軽量なコンテナイメージを / Java on Distroless
contour_gara
0
550
Vite+ Unified Toolchain for the Web
naokihaba
0
320
[2026年度第1回ORセミナー] 計画最適化ベンチャーと競技プログラミング人材
terryu16
0
270
Featured
See All Featured
4 Signs Your Business is Dying
shpigford
187
22k
Optimizing for Happiness
mojombo
378
71k
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.3k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.7k
A Soul's Torment
seathinner
6
2.9k
HDC tutorial
michielstock
2
720
How STYLIGHT went responsive
nonsquared
100
6.2k
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
118
120k
How to Ace a Technical Interview
jacobian
281
24k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
2k
Bash Introduction
62gerente
615
220k
How Software Deployment tools have changed in the past 20 years
geshan
0
34k
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