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
0
1.4k
Template::Context::SourceMap
Talked at Kyoto.pm 05 Tech Talk
aereal
July 14, 2013
Tweet
Share
More Decks by aereal
See All by aereal
盆栽転じて家具となる / Bonsai and Furnitures
aereal
0
5.3k
How to send distibuted traces to Datadog using build own OpenTelemetry-Lambda distribution
aereal
3
290
好きな技術《コト》で、 生きていく技術 / life with what you like
aereal
5
4.4k
qron: Cloud Native Cron Alternativeの今
aereal
2
2.9k
自動作曲入門 / 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
18k
Other Decks in Programming
See All in Programming
Domain-centric? Why Hexagonal, Onion, and Clean Architecture Are Answers to the Wrong Question
olivergierke
2
840
Go Conference 2025: Goで体感するMultipath TCP ― Go 1.24 時代の MPTCP Listener を理解する
takehaya
9
1.7k
Go言語はstack overflowの夢を見るか?
logica0419
0
260
dynamic!
moro
10
7.7k
CSC509 Lecture 06
javiergs
PRO
0
260
登壇は dynamic! な営みである / speech is dynamic
da1chi
0
310
Web Components で実現する Hotwire とフロントエンドフレームワークの橋渡し / Bridging with Web Components
da1chi
3
2.3k
Introducing ReActionView: A new ActionView-Compatible ERB Engine @ Kaigi on Rails 2025, Tokyo, Japan
marcoroth
3
1k
Go言語の特性を活かした公式MCP SDKの設計
hond0413
1
230
CSC509 Lecture 05
javiergs
PRO
0
300
ポスターセッション: 「まっすぐ行って、右!」って言ってラズパイカーを動かしたい 〜生成AI × Raspberry Pi Pico × Gradioの試作メモ〜
komofr
0
1.3k
チームの境界をブチ抜いていけ
tokai235
0
170
Featured
See All Featured
Agile that works and the tools we love
rasmusluckow
331
21k
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
252
21k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
9
870
Into the Great Unknown - MozCon
thekraken
40
2.1k
Product Roadmaps are Hard
iamctodd
PRO
54
11k
Building Better People: How to give real-time feedback that sticks.
wjessup
369
20k
RailsConf 2023
tenderlove
30
1.2k
GitHub's CSS Performance
jonrohan
1032
470k
GraphQLの誤解/rethinking-graphql
sonatard
73
11k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
53k
The Straight Up "How To Draw Better" Workshop
denniskardys
238
140k
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༵