2 ms·
A natural extension of that pattern would be to create standard Web apps/Website components (wrapper function) such that you could replace the underlying “theme
by icebraining 11y ago
A natural extension of that pattern would be to create standard Web apps/Website components (wrapper function) such that you could replace the underlying “theme” as needed, as the interface would remain the same.
Yes. That's called separating the Controller from the View. And pieces of HTML with dynamic parameters are just templates (like Mustache and such).
I think you just wrote your own (M?)VC framework, with your own templating language.