A
A
Artem2016-06-18 15:40:08
Electronics
Artem, 2016-06-18 15:40:08

What is the best way to implement the jade+sass -> html+css -> php development cycle?

Hello.
Not a professional, just improve my skills and development process.
Since I could not find a solution to my question on the Internet and here (perhaps I was looking badly), I decided to try asking.
Before I got acquainted with technologies such as Jade and Sass, the way of developing projects was as follows:
1. I make up on pure html + css
2. I break html into parts to organize templating with subsequent connection to php or just use some simple templating system
Previously, with some or changes in layout, changing html somewhere in the code was not a problem.
But now the questions arise how to solve the introduction of php code into the layout at the stage of writing jade and so that the php syntax highlighting is preserved in the editor, I use Sublime Text 3. I
build using Gulp
I would like help and advice on how to implement this today and what are the correct ones practices.
Thanks in advance for taking the time to answer my question.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
C
Curly Brace, 2015-11-08
@Mfry

Yes, there is clearly a problem in the OS, more precisely in some programs or services. In general, something does not want to complete its work and the OS is waiting. Most likely it is some kind of service, maybe an antivirus. Is the hard drive not working hard at the same time? Maybe some service writes logs to the hard drive for a long time?

K
Kirill Arutyunov, 2016-06-18
@arutyunov

I'm not very good at newfangled front-end stuff, but on one of the recent projects, the layout was implemented using Jade.
So, at first, the layout designer made everything on Jade, then threw off a set of html files with styles. And these html files have already been broken into pieces and embedded in templates (view files in Yii2).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question