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.3k
Template::Context::SourceMap
Talked at Kyoto.pm 05 Tech Talk
aereal
July 14, 2013
Tweet
Share
More Decks by aereal
See All by aereal
好きな技術《コト》で、 生きていく技術 / life with what you like
aereal
5
1.6k
qron: Cloud Native Cron Alternativeの今
aereal
2
1.5k
自動作曲入門 / introduction to programatic music composition
aereal
1
530k
はてなブログ タグとCDK / The epic of AWS CDK and Hatena Blog Tag
aereal
3
200k
はてなブログ タグの技術選択 / The technical details of Hatena Blog Tag
aereal
3
190k
ブログサービスのHTTPS化を支えたAWSで作るピタゴラスイッチ / The construction of large scale TLS certificates management system with AWS
aereal
3
390k
AWSではてなブログの常時HTTPS配信をバーンとやる話 / The Epic of migration from HTTP to HTTPS on Hatena Blog with AWS
aereal
14
17k
ScalaとPerlでMicroservices in production / Building microservices with Perl and Scala in production
aereal
0
5.2k
Scalaで自動作曲の練習 / A study of automatic composition in Scala
aereal
1
390k
Other Decks in Programming
See All in Programming
mb_trim関数を作りました
youkidearitai
PRO
1
200
Try creating your own orderedmap
kazamori
1
280
Webアプリをできるだけコードを手書きしないで作ってみる
tomokusaba
2
230
Timeline エディター拡張入門
yucchiy
0
450
Let's learn code review
riofujimon
2
640
Exploring Type-Informed Lint Rules in Rust based TypeScript Linters
unvalley
3
630
仕様と実装で学ぶOpenTelemetry
drumato
2
940
Balkan Ruby 2024 — How and why to run SQLite on Rails in production
fractaledmind
0
110
Deep Dive into React Stream/Serialize
mugi_uno
4
860
酒飲んでたらテックリードになった話
spbaya0141
0
210
PHPコードの実行モデルを理解する / Understanding-the-PHP-Execution-Model
shin1x1
0
1.1k
Next.js App Router
quramy
14
2.3k
Featured
See All Featured
A Philosophy of Restraint
colly
197
16k
Learning to Love Humans: Emotional Interface Design
aarron
267
39k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
15
1.6k
Optimizing for Happiness
mojombo
370
69k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
8
3.5k
We Have a Design System, Now What?
morganepeng
43
6.8k
How to Ace a Technical Interview
jacobian
273
22k
Docker and Python
trallard
35
2.7k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
41
4.5k
A Tale of Four Properties
chriscoyier
153
22k
10 Git Anti Patterns You Should be Aware of
lemiorhan
649
58k
The Art of Programming - Codeland 2020
erikaheidi
43
12k
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༵