Home  >  Article  >  Backend Development  >  What are the advantages and disadvantages of writing front-end in PHP?

What are the advantages and disadvantages of writing front-end in PHP?

藏色散人
藏色散人Original
2019-12-13 11:52:162885browse

What are the advantages and disadvantages of writing front-end in PHP?

What are the advantages and disadvantages of writing front-end in php?

Advantages of writing front-end in php:

1. For small website projects, only one php programmer is needed to complete it.

2. For small website projects, the development cost is low, the speed is fast, and the efficiency is high.

Disadvantages of writing front-end in php:

1. PHP mixing is not beautiful;

2. The code interleaving is too messy, and it will definitely be difficult to develop and expand again in the future;

Nowadays, everyone pays attention to a good architectural model, which implements the separation of presentation layer (UI), business logic layer (BLL), data access layer (DAL) or MVC model, so that the entire site structure will be more beautiful and clear.

For more PHP related knowledge, please visit PHP Tutorial!

The above is the detailed content of What are the advantages and disadvantages of writing front-end in PHP?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn