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
PHP Templating
Search
Kyle B. Johnson
February 02, 2016
Programming
0
130
PHP Templating
Kyle B. Johnson
February 02, 2016
Tweet
Share
More Decks by Kyle B. Johnson
See All by Kyle B. Johnson
Continuously Delivering Value
kjohnson
0
130
Building Pages in WordPress
kjohnson
0
160
Gutenberg
kjohnson
0
370
Introduction to WP-CLI
kjohnson
0
330
Separate your time from your income
kjohnson
0
460
iThemes Exchange
kjohnson
0
120
Easy Digital Downloads
kjohnson
0
84
WordPress Taxonomies
kjohnson
0
86
objects-a-short-intro.pdf
kjohnson
0
190
Other Decks in Programming
See All in Programming
三者三様 宣言的UI
kkagurazaka
0
360
AI駆動開発ライフサイクル(AI-DLC)のホワイトペーパーを解説
swxhariu5
0
200
ノーコードからの脱出 -地獄のデスロード- / Escape from Base44
keisuke69
0
650
SidekiqでAIに商品説明を生成させてみた
akinko_0915
0
120
なんでRustの環境構築してないのにRust製のツールが動くの? / Why Do Rust-Based Tools Run Without a Rust Environment?
ssssota
14
48k
CSC305 Lecture 14
javiergs
PRO
0
250
Kotlinで実装するCPU/GPU 「協調的」パフォーマンス管理
matuyuhi
0
310
AI時代に必須!状況言語化スキル / ai-context-verbalization
minodriven
3
360
Claude Code on the Web を超える!? Codex Cloud の実践テク5選
sunagaku
0
310
例外処理を理解して、設計段階からエラーを見つけやすく、起こりにくく #phpconfuk
kajitack
12
5.5k
contribution to astral-sh/uv
shunsock
0
590
Verilator + Rust + gRPC と Efinix の RISC-V でAIアクセラレータをAIで作ってる話 RTLを語る会(18) 2025/11/08
ryuz88
0
320
Featured
See All Featured
BBQ
matthewcrist
89
9.9k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.5k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
10
660
How to Ace a Technical Interview
jacobian
280
24k
Faster Mobile Websites
deanohume
310
31k
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
Why Our Code Smells
bkeepers
PRO
340
57k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
16k
The Art of Programming - Codeland 2020
erikaheidi
56
14k
Site-Speed That Sticks
csswizardry
13
960
Agile that works and the tools we love
rasmusluckow
331
21k
Transcript
<?= $title; ?>
Templating
What are templates?
A molecular structure of a compound that serves as a
pattern for the production of the molecular structure of another specific compound in a reaction. What are templates?
A molecular structure of a compound that serves as a
pattern for the production of the molecular structure of another specific compound in a reaction. What are templates?
A molecular structure of a compound that serves as a
pattern for the production of the molecular structure of another specific compound in a reaction. What are templates?
A pattern for production. What are templates?
Why use templates?
Society for Pediatric Radiology S.P.R.
Society for Pediatric Radiology S.P.R.
Separation. Portability. Reusability S.P.R.
…allow for the separation of display from processing Templates…
…allow for the portability of display across projects. Templates…
…allow for the reusability of display within a project. Templates…
Template Libraries also provide a better syntax.
Template Libraries also provide a better* syntax. *more attractive
Template Libraries also provide a better* syntax. *universal
Template Libraries also provide a better* syntax. *language agnostic
{{ title }}
PHP Libraries
PHP The Right Way phptherightway.com
PHP Templating Libraries • Smarty: {$foo} • Twig: {{ foo
}} • Blade: {{ $foo }} • Mustache: {{ foo }} • Dwoo: $dwoo->get( ‘foo’ );
<%= subtitle %> <%= title %>
in closing… JavaScript
None
@section( ‘questions’ )
{{ $answer }}
None
None