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
Template::Context::SourceMap
Search
aereal
July 14, 2013
Programming
1.4k
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Template::Context::SourceMap
Talked at Kyoto.pm 05 Tech Talk
aereal
July 14, 2013
More Decks by aereal
See All by aereal
盆栽転じて家具となる / Bonsai and Furnitures
aereal
0
6.8k
How to send distibuted traces to Datadog using build own OpenTelemetry-Lambda distribution
aereal
3
360
好きな技術《コト》で、 生きていく技術 / life with what you like
aereal
5
6.6k
qron: Cloud Native Cron Alternativeの今
aereal
2
3.3k
自動作曲入門 / introduction to programatic music composition
aereal
1
530k
はてなブログ タグとCDK / The epic of AWS CDK and Hatena Blog Tag
aereal
2
200k
はてなブログ タグの技術選択 / The technical details of Hatena Blog Tag
aereal
3
200k
ブログサービスのHTTPS化を支えたAWSで作るピタゴラスイッチ / The construction of large scale TLS certificates management system with AWS
aereal
3
400k
AWSではてなブログの常時HTTPS配信をバーンとやる話 / The Epic of migration from HTTP to HTTPS on Hatena Blog with AWS
aereal
14
19k
Other Decks in Programming
See All in Programming
【やさしく解説 設計編・中級 #1】一つの車に、運転手は一人 ~ある倉庫システムの事例から~
panda728
PRO
0
190
FDEが実現するAI駆動経営の現在地
gonta
2
180
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
330
【やさしく解説 設計編 #1】「ドメイン駆動」と「実装駆動」ってなに? 〜設計の考え方を、たとえ話で学ぼう〜
panda728
PRO
1
120
AI 輔助遺留系統現代化的經驗分享
jame2408
1
1.2k
トークンをケチるな、設計しろ:GitHub Copilotを賢く使うコンテキスト戦略
ochtum
0
330
LaravelLive Japan の裏方のすべて — 第188回 PHP勉強会@東京 (2026-06-24)
suguruooki
2
150
【SRE NEXT 2026 Lunch Session】一人目専任SREの立ち上げを加速する ― AIと進めたオンボーディングで2分を0.04秒にした話
pkshadeck
PRO
0
2.9k
PHP に部分適用が来るぞ!……ところで何それ?おいしいの? #phpcon / phpcon-2026
shogogg
0
310
共通化で考えるべきは、実装より公開する型だった
codeegg
0
260
ルールを書いて終わらせないハーネスエンジニアリング
yug1224
4
1.6k
「正の参照」と 「負の導出」で組む ハーネスエンジニアリング
cottpan
1
150
Featured
See All Featured
HTML-Aware ERB: The Path to Reactive Rendering @ RubyCon 2026, Rimini, Italy
marcoroth
3
350
Designing for Performance
lara
611
70k
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
390
Learning to Love Humans: Emotional Interface Design
aarron
275
41k
WENDY [Excerpt]
tessaabrams
11
38k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
55
3.4k
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
2
1.7k
The SEO identity crisis: Don't let AI make you average
varn
0
520
Statistics for Hackers
jakevdp
799
230k
Documentation Writing (for coders)
carmenintech
77
5.4k
For a Future-Friendly Web
brad_frost
183
10k
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
460
Transcript
Template::Context::SourceMap id:aereal / @aereal 137݄14༵
<!-- BEGIN LT --> 137݄14༵
Template Engine 137݄14༵
•HTML::Template •HTML::Mason •Text::MicroMason •Xslate •Template Tookit 2 http://gihyo.jp/dev/serial/01/perl-hackers-hub/000501 137݄14༵
WRAPPER INCLUDE PROCESS BLOCK MACRO INCLUDE WRAPPER BLOCK MACRO PROCESS
BLOCK INCLUDE WRAPPER PROCESS MACRO WRAPPER BLOCK PROCESS MACRO INCLUDE INCLUDE BLOCK WRAPPER PROCESS MACRO 137݄14༵
http://www.flickr.com/photos/brooklyn_museum/2786683517 137݄14༵
Source Map 137݄14༵
[% INCLUDE "_body.html.tt" %] 137݄14༵
<!-- BEGIN _body.html.tt --> <p>Body</p> <!-- END _body.html.tt --> 137݄14༵
Inspired by r7kamura/view_source_map https://github.com/r7kamura/view_source_map 137݄14༵
Template::Context::SourceMap https://github.com/aereal/Template-Context-SourceMap 137݄14༵
To Do •invalid ͳ HTML Λు͖͏Δ •e.g. attribute value ͷதͰϚΫϩΛݺͿ
•(HTMLͷߏจΛ࡞Βͳ͍ͷͰવ) 137݄14༵
<!-- END LT --> 137݄14༵