evoCore FrameWork

/inc/VIEW folder

This folder holds the Views for the application.

This folder holds PHP include files which output visible data (HTML) to the user. In other words, these views are PHP templates.

It is very important to understand that these views are very rough templates. For example a view may decide to output a list of users with 3 columns (Name, Login and Group). In another scenario it may output a list of Firstnames and Lastnames and group these by user Group. BUT either way, there are still additional layers of presentation which determine the exact rendering of the View (see the Admin skins /skins_adm folder).

It is also important to understand that a specific View can be called by different controllers. A contextual help block would be an example of that (provided the content is dynamic).

A single controller can also be calling several views in a row. (The controller can assemble multiple views).

b2evolution Note: in b2evolution, the /inc/VIEW folder applies to the admin interface only. For the sake of simplicity, public blog views are entirely handled by the /skins folder, so that graphics designers have all presentation files grouped in a single place.