Open WolfgangFahl opened 9 years ago
https://github.com/freewind/rythmfiddle/blob/master/app/models/InMemoryResourceLoader.java has an implementation of a ResourceLoader. The assumptions made in the API (Filesystem like Directory Structure) do not hold in my user case. I want to load template strings from other sources. Can the API be simplified for this?
For a simple test @include("aaa") I currently get two load(String path) calls with the parameter @include("aaa") and one tryLoadTemplate calls with parameter tmplName="aaa". I don't get what the API is trying to do here. My expectation would be that a single call getTemplateString(String path) would do. All the other logic could be IMHO hidden.
The link: http://rythmengine.org/api/org/rythmengine/extension/ITemplateResourceLoader.html in http://rythmengine.org/doc/developer_guide.md#template-resource is broken.