Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/uranusjr/qthandlebarsjs
Qt 5 binding to Handlebars.js
https://github.com/uranusjr/qthandlebarsjs
Last synced: about 1 month ago
JSON representation
Qt 5 binding to Handlebars.js
- Host: GitHub
- URL: https://github.com/uranusjr/qthandlebarsjs
- Owner: uranusjr
- Created: 2015-07-27T03:46:22.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-09-09T10:05:00.000Z (over 9 years ago)
- Last Synced: 2024-10-14T19:42:03.575Z (3 months ago)
- Language: JavaScript
- Size: 146 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE/handlebars.js.txt
Awesome Lists containing this project
README
# QtHandlebarsJS
Qt binding to [Handlebars.js].
## What
QtHandlebarsJS is a Qt wrapper around [Handlebars.js]. It is built around QtQML's [QJSEngine], and targets modern Qt and C++.
Currently promised to work with Qt 5.4+. C++11 support is recommended.
## License
QtHandlebarsJS is released under the MIT license. You should find a copy of the license with the repository.
`handlebar-v3.0.3.js` is re-distributed under the MIT license.
## TODO
This project is at pre-alpha state. I plan to implement the followings before considering it "usable".
* `SafeString`
* Support `Handlebars.compile` options in `render`.
* Partials.
* Loggin support (bridge `Handlebars.log` to Qt's category logging system).Some other features not considered necessary, but might be useful:
* `precompile`.
* `escapeExpression`. (Because we have `QString::toHtmlEscaped` already.)
* `Handlebars` instance copying/moving/assignment.[Handlebars.js]: http://handlebarsjs.com
[QJSEngine]: http://doc.qt.io/qt-5/qjsengine.html