dot online with Winfy

We have hosted the application dot in order to run this application in our online workstations with Wine or directly.


Quick description about dot:

Created in search of the fastest and concise JavaScript templating function with emphasis on performance under V8 and nodejs. It shows great performance for both nodejs and browsers. doT.js is fast, small and has no dependencies. doT is a really solid piece of software engineering (I didn’t create it) that is rarely updated exactly for this reason. It took me years to grasp how it works even though it’s only 140 lines of code, it looks like magic. I used it in my other projects (e.g. ajv) as the smallest, fastest and most functional (all three!) templating engine ever made, that is particularly useful in all code generation scenarios where manipulating AST is overkill. doT allows arbitrary JavaScript code in templates, making it one of the most flexible and powerful templating engines. It means that doT security model assumes that you only use trusted templates and you don't use any user input as any part of the template, as otherwise it can lead to code injection.

Features:
  • It ignores sub-directories
  • Template files can have multiple extensions at the same time
  • Files with .def extension can be included in other files via {{#def.name}}
  • Files with .dot extension are compiled into functions with the same name and can be accessed as renderer.filename
  • Files with .jst extension are compiled into .js files
  • All inline defines defined in the .jst file are compiled into separate functions and are available via _render.filename.definename


Programming Language: JavaScript.

.

©2024. Winfy. All Rights Reserved.

By OD Group OU – Registry code: 1609791 -VAT number: EE102345621.