pracro:post-commit-hook
Differences
This shows you the differences between two versions of the page.
Next revisionBoth sides next revision | |||
pracro:post-commit-hook [2011/12/02 08:36] – created deva | pracro:post-commit-hook [2011/12/02 08:49] – deva | ||
---|---|---|---|
Line 14: | Line 14: | ||
. | . | ||
</ | </ | ||
+ | |||
+ | =====Script namespace===== | ||
+ | What should be available to the scripts on run-time? | ||
+ | All committed values from all template macros. Each macro should have the values stored separately so that overlapping names do not overshadow each others values. | ||
+ | |||
+ | =====Script placement===== | ||
+ | A single scripting section should be stored in the template file. | ||
+ | Scripting sections should be included from each macro file in order to the macro-specific scripts where they belong (also share if the macro is used in multiple templates). | ||
+ | |||
+ | =====Resume scripts===== | ||
+ | The resume scripts cannot directly be replaced by a single on-commit script since the resumes are used dynamically while the template is being edited (to show resumes in collapsed macros). | ||
pracro/post-commit-hook.txt · Last modified: 2011/12/02 13:35 by deva