Slide 1

Slide 1 text

Template::Context::SourceMap id:aereal / @aereal 13೥7݄14೔೔༵೔

Slide 2

Slide 2 text

13೥7݄14೔೔༵೔

Slide 3

Slide 3 text

Template Engine 13೥7݄14೔೔༵೔

Slide 4

Slide 4 text

•HTML::Template •HTML::Mason •Text::MicroMason •Xslate •Template Tookit 2 http://gihyo.jp/dev/serial/01/perl-hackers-hub/000501 13೥7݄14೔೔༵೔

Slide 5

Slide 5 text

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 13೥7݄14೔೔༵೔

Slide 6

Slide 6 text

http://www.flickr.com/photos/brooklyn_museum/2786683517 13೥7݄14೔೔༵೔

Slide 7

Slide 7 text

Source Map 13೥7݄14೔೔༵೔

Slide 8

Slide 8 text

[% INCLUDE "_body.html.tt" %] 13೥7݄14೔೔༵೔

Slide 9

Slide 9 text

Body

13೥7݄14೔೔༵೔

Slide 10

Slide 10 text

Inspired by r7kamura/view_source_map https://github.com/r7kamura/view_source_map 13೥7݄14೔೔༵೔

Slide 11

Slide 11 text

Template::Context::SourceMap https://github.com/aereal/Template-Context-SourceMap 13೥7݄14೔೔༵೔

Slide 12

Slide 12 text

To Do •invalid ͳ HTML Λు͖͏Δ •e.g. attribute value ͷதͰϚΫϩΛݺͿ •(HTMLͷߏจ໦Λ࡞Βͳ͍ͷͰ౰વ) 13೥7݄14೔೔༵೔

Slide 13

Slide 13 text

13೥7݄14೔೔༵೔