Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/phauthentic/presentation
A framework and library agnostic presentation layer implementation. The purpose of this is to provide a data transfer object to make your application independent from the underlying rendering implementation.
https://github.com/phauthentic/presentation
agnostic data-transfer data-transfer-object framework-agnostic oop pdf-generation php presentation presentation-layer template templates twig-templates view view-layer
Last synced: 5 days ago
JSON representation
A framework and library agnostic presentation layer implementation. The purpose of this is to provide a data transfer object to make your application independent from the underlying rendering implementation.
- Host: GitHub
- URL: https://github.com/phauthentic/presentation
- Owner: Phauthentic
- Created: 2018-12-12T00:23:08.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2021-04-30T18:11:59.000Z (over 3 years ago)
- Last Synced: 2024-04-18T05:03:48.934Z (7 months ago)
- Topics: agnostic, data-transfer, data-transfer-object, framework-agnostic, oop, pdf-generation, php, presentation, presentation-layer, template, templates, twig-templates, view, view-layer
- Language: PHP
- Size: 73.2 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Presentation
[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE)
[![Scrutinizer Coverage](https://img.shields.io/scrutinizer/coverage/g/Phauthentic/presentation/master.svg?style=flat-square)](https://scrutinizer-ci.com/g/Phauthentic/presentation/)
[![Code Quality](https://img.shields.io/scrutinizer/g/Phauthentic/presentation/master.svg?style=flat-square)](https://scrutinizer-ci.com/g/Phauthentic/presentation/)**WORK IN PROGRESS - NOT READY FOR PRODUCTION!**
A framework and library agnostic presentation layer implementation. The purpose of this is to provide a data transfer object to make your application independent from the underlying rendering implementation.
This library uses a view object that will carry all the information from where ever to the renderer objects, that will read the information and render the desired output depending on the underlying library and implementation. It is pretty easy so switch the rendering sub system with this approach and everything is strict typed as well.
## Featured renderer included
* **Twig** via [twig/twig](https://github.com/twigphp/Twig)
* **Mustache** and **Handlebars** via [zordius/lightncandy](https://github.com/zordius/lightncandy)
* **pdf** documents via [wkhtmltopdf](https://wkhtmltopdf.org/)
* plain php templatesMissing something? It is very easy to implement your own renderer!
## Documentation & Installation
Please check [the docs folder](./docs/index.md).
## Copyright & License
Licensed under the [MIT license](LICENSE.txt).
Copyright (c) [Phauthentic](https://github.com/Phauthentic)