Which method is better to use for writing a website?

I’ve read that some use modular programming using the PHPNuke script. But this method is not very good in terms of performance.

I’m not an expert in the field of writing websites. My first site was in html and used a simple method with no bells and whistles. Each page was described individually.

Beginning to learn PHP I found out that I eat a lot of scripts. I don’t want to repeat the mistakes of the past and write the site incorrectly. Tell me what style, method or something else is better to use to write a normal site. You can provide links to some good script.

Answer 1, authority 100%

In general, I advise you to develop the algorithm yourself while learning PHP. otherwise you will not be a programmer, but a template designer using third-party CMS

Answer 2, authority 67%

Start by learning about simple functions like echo, learn how to create your own functions with function, and learn about if elseconditionals . For starters, I think this will be enough, after playing around with them, start learning about arrays and superglobal arrays.
For reference, there is a wonderful website.

Answer 3, authority 67%

Try with Zend Framework. This framework was developed by the creators of the PHP language. I believe that its use not only helps to learn the language, but also teaches you to write high-quality, easily maintainable code.

P.S. In general, if possible, take Pythoninstead of PHP. I think Djangocan solve all your problems.

Answer 4

PHP + Laravel = very low entry threshold. Documentation sea, the community is excellent (I won’t say anything about Russian)