+ 2
What is the best way to code all the website necessary files ?
its one of the most questions asked by everyone's. how to limite coding the same code in different files. ?
2 ответов
+ 1
First make your layout in HTML/CSS without PHP or choose a HTML Framework/Template (Bootstrap/Themeforest). Then integrate you PHP. Later you may want to use Template Engines for PHP or PHP Frameworks like Yii/CakePHP to handle stuff like output. But one step after the other ...
+ 1
Thank you Franz Alt. my question is how to code ALL files. without losing time coding the same codes for different files.
My answer is to Create a functions.php file and config.php then code all the rest of website of cours we have already the html codes pages. then call the functions file in header.php that's the edea to win time.