Home  >  Article  >  Backend Development  >  PHP development history and functions and features

PHP development history and functions and features

韦小宝
韦小宝Original
2018-02-23 10:27:501836browse

web1.0Era:All codes are staticscripts executed on the browser side, and users request static web pages that already exist on the server. There cannot be any interaction with the server! (No database support required)

web2.0 era: Interaction (dialogue) between users and servers, PHP scripts need to communicate with the database Interactive, able to handle user-related complex business logic, future web pages will become more and more "software-based"

web3.0 Era: Internet of Things, cloud computing and The era of big data

The development history of PHP

##The original meaning of PHP: Personal Home Page Personal Home Page

It started out as a buddy from Canada who developed an online script tool to record how many people had visited his online resume. It was very popular, so he Just start developing your own toolset!

PHPNow means: Hypetext Perprocessor Hypetext Preprocessing Language

ExplainsPHP is a language that is pre-executed on the server (working on the server side), and then sends the execution results to the browser

PHPFunctions and features

  • PHP

    is mainly used for web development, butPHP It is also possible to develop desktop software (application software), but it is not commonly used

  • PHP

    is an open source free software that can Runs stably on all operating platforms

  • ##PHP
  • Getting started is relatively simple, and the syntax is similar to the

    C language (PHP itself is written in C language), and supports both process-oriented and object-oriented programming

  • PHP
  • is still relatively "young" and is still being continuously improved and developed, so it has more "vitality"

  • PHP
  • Works on the corresponding platform interpreter and consumes relatively few system resources

  • PHP
  • Supports a variety of mainstream Database, such as

    Mssql, Mysql, SQL Server, oracle, etc., but they are "golden partners" with Mysql

  • ## web
The development history of services

Peer-to-peer network model

There is no dedicated client or dedicated server!

Advantages:

Simple and fast

Disadvantages:

Cannot provide reliable service

C/S

Mode

Client/Server, which is the client

/ server mode, artificially separates the client (specially " Enjoy" services) and servers (specialized in "providing" services)! Master

/

slave server, where the slave server is also called a mirror server! Features:

Client and server respectively

installdifferent software, different services have different client softwareAdvantages:

Provide reliable web services

B/SMode

Browser/Server, that is, browser/server mode, developed from the C/S mode. It can also be said that the B/S mode is actually a special C/S mode is equivalent to turning all clients in the C/S mode into browsers!

For example: web games (web games)

webThe core of development is the B/S model !

Our main task today is to build a web server environment, but the browser side (B ) does not require us to build it, we only need to build the server software!

##Two questions:

What is the integrated environment?

The integrated environment is to combine all the components required to build a web server (apache, mysql, php, etc.) are artificially combined together! Common integration environments are: wampwindowsapachemysqlphp)、LampxampPHPStudyetc

##Why do we not recommend using an integrated environment?

  • We don’t know

    apachemysqlphp Why should we put it together and how to put it together (very important for professionals)

  • In real development, not necessarily You have to use

    apache (for example, there is also IIS), and you don’t have to use mysql, so , we must understand the principle!

  • Integrated environments are all third-party software and may not be
  • safe

    !

Recommended related articles:

2017 PHP development trends and ten suggestions for the development direction of PHP programmers

Today we will talk about the development trend of PHP in 2017, as well as the career development direction of a PHP programmer, and...


PHP development history

PHP development history. PHP, a nested abbreviation name, is the English Hypertext Preprocessing Language (PHP: Hypertext Preprocessor)...

The above is the detailed content of PHP development history and functions and features. 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