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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
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
6k
How to send distibuted traces to Datadog using build own OpenTelemetry-Lambda distribution
aereal
3
320
好きな技術《コト》で、 生きていく技術 / life with what you like
aereal
5
5k
qron: Cloud Native Cron Alternativeの今
aereal
2
3.2k
自動作曲入門 / 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
今こそ知るべき耐量子計算機暗号(PQC)入門 / PQC: What You Need to Know Now
mackey0225
3
370
フロントエンド開発の勘所 -複数事業を経験して見えた判断軸の違い-
heimusu
7
2.8k
React 19でつくる「気持ちいいUI」- 楽観的UIのすすめ
himorishige
11
6k
Automatic Grammar Agreementと Markdown Extended Attributes について
kishikawakatsumi
0
180
Amazon Bedrockを活用したRAGの品質管理パイプライン構築
tosuri13
4
260
FOSDEM 2026: STUNMESH-go: Building P2P WireGuard Mesh Without Self-Hosted Infrastructure
tjjh89017
0
160
16年目のピクシブ百科事典を支える最新の技術基盤 / The Modern Tech Stack Powering Pixiv Encyclopedia in its 16th Year
ahuglajbclajep
5
1k
SourceGeneratorのススメ
htkym
0
190
OCaml 5でモダンな並列プログラミングを Enjoyしよう!
haochenx
0
140
AI Agent Tool のためのバックエンドアーキテクチャを考える #encraft
izumin5210
6
1.8k
Patterns of Patterns
denyspoltorak
0
1.4k
フルサイクルエンジニアリングをAI Agentで全自動化したい 〜構想と現在地〜
kamina_zzz
0
400
Featured
See All Featured
Making Projects Easy
brettharned
120
6.6k
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
110
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
200
Building Better People: How to give real-time feedback that sticks.
wjessup
370
20k
The Pragmatic Product Professional
lauravandoore
37
7.1k
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.1k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.3k
Building Flexible Design Systems
yeseniaperezcruz
330
40k
Site-Speed That Sticks
csswizardry
13
1.1k
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
160
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.6k
Prompt Engineering for Job Search
mfonobong
0
160
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༵