simplercode/overview

There is no license information available for the latest version (0.0.4) of this package.

Minimalistic view layer for PHP applications

0.0.4 2015-09-17 22:17 UTC

This package is auto-updated.

Last update: 2024-04-14 16:04:41 UTC


README

Minimalistic view layer for PHP applications

[Build Status] (https://travis-ci.org/emcode/overview) [Coverage Status] (https://coveralls.io/github/emcode/overview?branch=master)

why

Overview library is insipired by ZF2 Zend\View component. I was working on many ZF2 projects for some time and I liked ViewModel abstraction that is provided by Zend\View component. View model describes data and template name for given part of UI. View model can be rendered than by different types of renders. Models can be nested, which is convinient when you want to have one layout that has multiple view models rendered inside: content, sidebar, footer and so on.

The problem was that each time I tried to use Zend\View as standalone library, it was a pain to setup because of to many dependencies on other ZF2 components. That is why this little library came to existence.