A
A
Alex2015-06-11 22:53:05
Programming
Alex, 2015-06-11 22:53:05

Transferring the layout of the Jade + Stylus site to a php programmer, how to organize it correctly?

Now in the team we are typesetting in the good old way html+css.
Not so long ago, I had a chance to get acquainted with the Stylus preprocessor and the Jade templating engine (?), I will say that I was very pleased with the speed of layout.
Actually the question is how to correctly transfer the opened templates to the programmer?
I have one thought, take the compiled html and css files and give them away, but then a problem appears, you will have to support not Stylus + Jade, but html + css - this is again a waste of time.
Maybe someone had a successful experience, I beg you to share.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
DevMan, 2015-06-11
Pontik @kibal4iw

everything is simple: a decision is made (collectively-voluntarily or by order) "we use such a template engine and such a preprocessor", and everyone uses them (those who do not know how, they learn).
if you can't agree, then html+css.

S
Sanes, 2015-06-11
@Sanes

In general, this is how it is done.

E
egorsmkv, 2015-06-11
@egorsmkv

I answer as a programmer.
It is important to know how your programmer works with templates. He can write them in plain HTML, or use a library that converts your Jade (or other tool) to HTML.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question