MDN/Archives/Kuma/Scripting: Difference between revisions

Line 96: Line 96:
* Use standalone [https://github.com/visionmedia/ejs embedded JS templates] instead of literals embedded in script?  
* Use standalone [https://github.com/visionmedia/ejs embedded JS templates] instead of literals embedded in script?  
** Employs code-in-markup instead of markup-in-code, and avoids the need for fancy compiler hijinx
** Employs code-in-markup instead of markup-in-code, and avoids the need for fancy compiler hijinx
** This is being used in other projects


* Might [https://github.com/laverdet/js-xml-literal js-xml-literals] come in handy?
* Might [https://github.com/laverdet/js-xml-literal js-xml-literals] come in handy?
** [https://github.com/laverdet/js-xml-literal/issues/2 I failed on my first attempt to install], so haven't seen this in action.
** [https://github.com/laverdet/js-xml-literal/issues/2 I failed on my first attempt to install], so haven't seen this in action.
** This seems experimental; no one else really seems to be using it yet


* Should we get a compiler / language expert in on this for opinions?
* Should we get a compiler / language expert in on this for opinions?
** This smells like dangerous excitement


* Could we port DekiScript directly? (It's open source, right?)
* Could we port DekiScript directly? (It's open source, right?)
Confirmed users
920

edits