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
Please sign in to continue.
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
150
Gutenberg
kjohnson
0
370
Introduction to WP-CLI
kjohnson
0
320
Separate your time from your income
kjohnson
0
440
iThemes Exchange
kjohnson
0
110
Easy Digital Downloads
kjohnson
0
82
WordPress Taxonomies
kjohnson
0
80
objects-a-short-intro.pdf
kjohnson
0
180
Other Decks in Programming
See All in Programming
Claude Code + Container Use と Cursor で作る ローカル並列開発環境のススメ / ccc local dev
kaelaela
12
7.4k
Vibe Codingの幻想を超えて-生成AIを現場で使えるようにするまでの泥臭い話.ai
fumiyakume
18
9.2k
SQLアンチパターン第2版 データベースプログラミングで陥りがちな失敗とその対策 / Intro to SQL Antipatterns 2nd
twada
PRO
27
8.1k
プロダクトという一杯を作る - プロダクトチームが味の責任を持つまでの煮込み奮闘記
hiliteeternal
0
130
The Niche of CDK Grant オブジェクトって何者?/the-niche-of-cdk-what-isgrant-object
hassaku63
1
690
slogパッケージの深掘り
integral0515
0
120
Streamlitで実現できるようになったこと、実現してくれたこと
ayumu_yamaguchi
2
220
AI コーディングエージェントの時代へ:JetBrains が描く開発の未来
masaruhr
1
210
Yes, You Can Work on Rails & any other Gem
kaspth
0
110
はじめてのWeb API体験 ー 飲食店検索アプリを作ろうー
akinko_0915
0
160
Google I/O Extended Incheon 2025 ~ What's new in Android development tools
pluu
1
120
AIともっと楽するE2Eテスト
myohei
9
3.1k
Featured
See All Featured
Raft: Consensus for Rubyists
vanstee
140
7k
A Tale of Four Properties
chriscoyier
160
23k
YesSQL, Process and Tooling at Scale
rocio
173
14k
The Invisible Side of Design
smashingmag
301
51k
Speed Design
sergeychernyshev
32
1k
Six Lessons from altMBA
skipperchong
28
3.9k
How to train your dragon (web standard)
notwaldorf
96
6.1k
Documentation Writing (for coders)
carmenintech
72
4.9k
BBQ
matthewcrist
89
9.7k
Facilitating Awesome Meetings
lara
54
6.5k
Product Roadmaps are Hard
iamctodd
PRO
54
11k
Writing Fast Ruby
sferik
628
62k
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