Home  >  Article  >  Backend Development  >  Can php write front-end?

Can php write front-end?

藏色散人
藏色散人Original
2019-11-01 09:28:294069browse

Can php write front-end?

Can I write a front-end in php?

PHP cannot write the front end, because PHP is a background script language and is executed by the server.

PHP is "Hypertext Preprocessor" and is a general open source scripting language. PHP is a scripting language executed on the server side. It is similar to C language and is a commonly used website programming language. PHP's unique syntax mixes C, Java, Perl, and PHP's own syntax. It is conducive to learning and widely used. It is mainly suitable for the field of web development.

There is a difference between front-end development and back-end development. The content of the work and the things you are responsible for are completely different. The following takes website development as an example.

1. Front-end development

Front-end development now generally refers to web front-end development engineers, who are responsible for the front-end page of the website, that is, the page development of the web page. Simply put, the front-end of the website is responsible for things. Things visible to website users, such as special effects on the web page, the layout of the web page, pictures, videos and other content. The job content of the website front-end engineer is to design the artistic design renderings into web pages that can be run by the browser, and work with the back-end development engineers to display and interact with data on the web pages.

2. Back-end development

Back-end development is also generally called the backend. It is responsible for the design and implementation of the website's backend logic and the saving and reading of user and website data. For example, general websites have users registering and logging in. The user's registration information is sent to the backend through the front end, and the backend saves it in the database. When the user logs in to the website, the backend needs to pass the user name and password entered by the user. Consistent with the database to determine whether the user has permission to log in, this is one of the simplest functions in backend development.

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

The above is the detailed content of Can php write 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