Mighty Eagle Template Solution
Copyright (c) 2015 Ronald Weidner
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
The Mighty Eagle Templating Solution (METS) is capable of replacing a properly tagged text document with external data. This solution has the added advantage of being easily extended via the use of callbacks. Using callbacks a programmer can easily model recursive data and on the fly data translations. Some use cases include translation of data from one format to another, generic templated documents, mail templates, and other similar tasks. The program is particularly well suited for translation of relational data to hierarchical visualizations.
This library is intended to run as an interpreted Euphoria program.
Running the demo
Checkout the demo in the demo directory or look at the several working examples exist in the test directory.
To use the library simply copy the project folder named mightyeagle to somewhere in your Euphoria include path.
Bundling with your application:
To bundle with your application you have at least 2 choices:
- provide download instructions for your user
- place the mightyeagle in a location known to your software. (like an include path)