search

Is php the front end?

Oct 12, 2019 pm 04:19 PM
phpfront endrear end

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 Write files, 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. Because PHP is fast and easy to deploy, it has greater advantages than other languages ​​on the front end (for example, the interface is changed every 3 months).

But PHP is an interpreted language after all, so when it is stable (referring to small changes in requirements and rarely recompiled) and complex (intensive instructions), the operating efficiency is lower than that of compiled languages. Disadvantages.

In fact, it doesn’t make much sense when we say whether PHP is a front-end or a back-end. As far as lamp architecture is concerned, PHP can be regarded as a component of the entire architecture, a web system, and its front-end and back-end divisions should be based on whether they are related to The database interacts to partition.

The simplest one, (html, css, javascript) belongs to the front desk, html controls the front desk text format, css is like a girl putting on makeup, beautifying the page, and javascript is to realize the interaction between the front desk page and the customer.

For more PHP related knowledge, please visit PHP Chinese website!

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

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

MantisBT

MantisBT

Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

EditPlus Chinese cracked version

EditPlus Chinese cracked version

Small size, syntax highlighting, does not support code prompt function

Dreamweaver Mac version

Dreamweaver Mac version

Visual web development tools

Atom editor mac version download

Atom editor mac version download

The most popular open source editor

WebStorm Mac version

WebStorm Mac version

Useful JavaScript development tools