A
A
Andrey Plax2014-04-07 15:38:25
css
Andrey Plax, 2014-04-07 15:38:25

Is it possible to implement a reusable framework for multiple pages in pure HTML+CSS without PHP?

Is it possible to implement a reusable framework for multiple pages in pure HTML+CSS (like MasterPage in ASP.NET) but without using PHP?
Or are there some tricks or libraries?
Thank you.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vladimir Serykh, 2014-10-06
@Hereigo

It seemed to me that you were not asking about the generator, but about the use of HTML + CSS.
Especially for this, there is SSI ( Server Side Includes ) technology.
The main point is the assembly of the final file from separate parts (for example: top, menu, content, bottom) using the "include" directive:
Often works by default on the Apache web server out of the box, in files with the ".shtml" extension.
If you include a file that is also an SHTML file, the directives will be processed in it as well.
Article on Masterhost
Module for nginx

S
Sergey, 2014-04-07
Protko @Fesor

Yes, there are a lot of generators under node.js, just like under ruby ​​and under php... There are even on bash.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question