Home  >  Article  >  Backend Development  >  Is php the front end?

Is php the front end?

silencement
silencementOriginal
2019-09-27 10:40:572925browse

Is php the front end?

PHP is a server-side scripting language. The server-side belongs to the back-end. Of course, the function of PHP is not only the output page, but also the logic layer, service layer and DAO, and perhaps reading Writing documents, message queues, event mechanisms, etc. Strictly speaking, PHP does much more on the backend than on the frontend.

The front-end here refers to applications that serve visitors, and the back-end refers to non-visitor-oriented things such as management, operations, and data mining.

(recommended learning,

PHP tutorial

)In fact, it doesn’t make much sense when we say whether PHP is a front-end or a back-end. In terms of lamp architecture, PHP can be regarded as building the entire A component of the architecture, a web system, its front-end and back-end should be divided according to whether it interacts with the database. The simplest way is, (html, css, javascript) belongs to the front-end, and html controls the front-end. Text format, css is like a girl putting on makeup,

beautifies the page, and javascript is to realize the interaction between the front page and the customer.

The above is the detailed content of Is php the front end?. 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