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!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

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

Hot Article

Hot Tools

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
Small size, syntax highlighting, does not support code prompt function

Dreamweaver Mac version
Visual web development tools

Atom editor mac version download
The most popular open source editor

WebStorm Mac version
Useful JavaScript development tools
