Stephanevg / PSHTML

Cross platform Powershell module to generate HTML markup language
https://pshtml.readthedocs.io/en/latest/
Other
167 stars 43 forks source link

Refactor configuration #187

Closed Stephanevg closed 5 years ago

Stephanevg commented 5 years ago

In order to support a smart way of handling Assets and Settings, I want to refactor the Configuration part of PSHTML.

this might end up beeing quite some work, as I see that we might need to have two factories (one for Settings and another one for Assets).

These factories are tracked here:

Stephanevg commented 5 years ago

Implementation Draft:

configurationrefactoring-fixed

Stephanevg commented 5 years ago

I have implemented the final version of Configuration / Assets (And added also logging) in versino 0.7.4.

The final implementation is represented by this diagram:

Final diagram

Stephanevg commented 5 years ago

Settings FActory and ASset factories have been added. Assets: Bootstrap and chartJS have been implemented in #https://github.com/Stephanevg/PSHTML/commit/14aebd0f10ab1a498c2ac7fb66403e81aedd85e6