Answer the question
In order to leave comments, you need to log in
How to correctly compose a web application?
I am writing a multi-page web application. Some modules like status, menus, etc. is repeated on many (but not all) pages, some are repeated on all, and some are repeated individually.
What mechanism can competently compose each page?
For example:
1.html loads block1.js, block2.js, block5.js + 1, 2 and 5 layout blocks
2.html loads block8.js, block2.js, block12.js + 8,2 and 12 layout
blocks would be semi-automatic, like an array with the page address and its layout, and not insert individual scripts into each HTML file. Now on a similar project this is done with a self-written php linker, but I want a more beautiful and competent solution.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question