panigrc / SimpleCiShop

A simple ecommerce system based on codeigniter [Moved to Codeberg]
https://codeberg.org/nik.lol/SimpleCiShop
MIT License
14 stars 14 forks source link

Create template library, with stack of views to be shown #6

Closed panigrc closed 4 years ago

panigrc commented 4 years ago

The stack should have functions like

add('name', 'content', options[]);
remove('name');
has('name');
view();
panigrc commented 4 years ago

The Template Library was extended by using the Emporio Ui package in which Section and Block classes are defined.

A blocks configuration was added to assist on having blocks which are being used repeatedly. The blocks have a callback in which the whole block logic is defined.

Documentation about the Emporio Ui package will follow.