Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Container for Template Rendering #63

Open
jbee opened this issue Dec 19, 2016 · 0 comments
Open

Container for Template Rendering #63

jbee opened this issue Dec 19, 2016 · 0 comments

Comments

@jbee
Copy link
Owner

jbee commented Dec 19, 2016

A Injector container could be used to render templates (do string substitution with actual values).
The benefit would (must) be that this would validate when bound that template rendering does not lack substitutes for placeholders. Also rendering requires flexible render-functions that translate a value to a string representation.

The placeholders become a required named String (or a special type to distinct).
Than bridges are bound to make named values available as named values of that output type,
applying some conversion, that is also configurable via binds.
Provides should be used to make sure that template rendering in principle does not lack data.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant