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.5k
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
エンターテイメント業界で利用されるAWS
demuyan
0
210
GitHub Actionsで泣かないためにやっておきたい設定 / Recommended GHA settings to avoid crying
pinkumohikan
3
530
2 週間で Twitter Bot を作ってみた
contour_gara
0
390
VSCodeでのDatabricks開発もお勧めしたい/I would also recommend Databricks development with VSCode.
kazumain
0
250
『Railsオワコン』と言われる時代に、なぜブルーモ証券はRailsを選ぶのか
free_world21
0
240
DMMプラットフォームがTiDB Cloudを採用した背景
pospome
8
4.1k
Goのmultiple errorsについて (2024年4月版)
syumai
3
870
Milestoner
bkuhlmann
1
410
障害対応を起点としたもっといい開発と運用のサイクル作りのためにできること / Hatena Enginner Seminar #29
polamjag
0
180
Rethinking UI building strategies @ SFI 2024
letelete
0
270
Zero Waste, Radical Magic, and Italian Graft – Quarkus Efficiency Secrets
hollycummins
0
230
Kotlin Multiplatform at Stable and Beyond (Android Makers 2024)
zsmb
0
260
Featured
See All Featured
Building Better People: How to give real-time feedback that sticks.
wjessup
355
18k
Being A Developer After 40
akosma
57
580k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
659
120k
Done Done
chrislema
178
15k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
9
8.3k
The Pragmatic Product Professional
lauravandoore
25
5.8k
Unsuck your backbone
ammeep
663
57k
Designing the Hi-DPI Web
ddemaree
276
33k
In The Pink: A Labor of Love
frogandcode
138
21k
For a Future-Friendly Web
brad_frost
172
9k
Building Your Own Lightsaber
phodgson
99
5.7k
Why You Should Never Use an ORM
jnunemaker
PRO
51
8.6k
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༵