Home  >  Article  >  Backend Development  >  What do you need to know to get started with PHP?

What do you need to know to get started with PHP?

little bottle
little bottleforward
2019-04-17 10:30:432032browse

PHP (Hypertext Preprocessor, "Hypertext Preprocessor") is a general-purpose open source scripting language. The syntax absorbs the characteristics of C language, Java and Perl, which is easy to learn and widely used. It is mainly suitable for the field of Web development. Compared with other programming languages, dynamic pages made with PHP embed programs into HTML (an application under the Standard Universal Markup Language) document for execution, and the execution efficiency is much higher than CGI that completely generates HTML tags; PHP can also execute compiled code. Compilation can achieve encryption and optimize code running, making the code run faster.

Advantages
Open source code
All PHP source code is actually available.
Freeness
Compared with other technologies, PHP itself is free and open source code.
Speediness
The program is developed quickly, runs quickly, and the technology itself is learned quickly. Embedded in HTML: Because PHP can be embedded in the HTML language, it is relatively different from other languages. It is simple to edit and highly practical, making it more suitable for beginners.
Strong cross-platform capability
Since PHP is a script that runs on the server side, it can run on UNIX, LINUX, WINDOWS, Mac OS, Android and other platforms
High efficiency
PHP consumes quite a few system resources.
Image processing
Use PHP to dynamically create images. PHP image processing uses GD2 by default. And can also be configured to use image magick for image processing.
Object-oriented
In php4 and php5, object-oriented aspects have been greatly improved, and php can be used to develop large-scale commercial programs.
Professional Focus
PHP supports mainly scripting languages, both of which are C-like languages.


2. [Smarty]: Smarty is a template engine written in PHP. It is currently one of the most famous PHP template engines in the industry. It separates logical code and external content, providing an easy-to-manage and use method to separate PHP code logic that is originally mixed with HTML code.
To put it simply, the purpose is to separate PHP programmers from front-end personnel, so that programmers change the logical content of the program without affecting the page design of the front-end personnel, and front-end personnel re-modify the page without affecting the program logic of the program. , which is particularly important in multi-person cooperation projects.

3. [Ajax] Ajax stands for "Asynchronous Javascript And XML" (Asynchronous JavaScript and XML), which refers to a web development technology for creating interactive web applications.
Ajax = Asynchronous JavaScript and XML (a subset of Standard Universal Markup Language).
Ajax is a technology used to create fast dynamic web pages.
Ajax is a technology that can update parts of a web page without reloading the entire web page.
By exchanging a small amount of data with the server in the background, Ajax can enable asynchronous updates of web pages. This means that parts of a web page can be updated without reloading the entire page.
If traditional web pages (not using Ajax) need to update content, the entire web page must be reloaded.

Synchronization: This synchronization means that when the JS code is loaded into the current AJAX, all the code in the page will stop loading, and the page will be in a state of suspended animation. When the AJAX is completed, other code pages will continue to run. The state of suspended animation is lifted.

Asynchronous: Asynchronous means that other codes can run while this AJAX code is running.

4. [SVN] SVN is the abbreviation of Subversion. It is an open source version control system. Compared with RCS and CVS, it adopts a branch management system. Its design goal is to replace CVS. Many version control services on the Internet have migrated from CVS to Subversion. To put it simply, SVN is used for multiple people to jointly develop the same project and share resources.

5. [PHPCMS] PHPCMS is a website management software. The software adopts modular development and supports multiple classification methods. It can be used to facilitate the design, development and maintenance of personalized websites. It supports many program combinations, can easily realize website platform migration, and can widely meet the needs of websites of various sizes. It has high reliability. It is a software with articles, downloads, pictures, classified information, movies, shopping malls, collection, finance, etc. Excellent website management software that is powerful, easy to use, and scalable with many functions.

6. [API] API (Application Programming Interface, Application Programming Interface) is a number of predefined functions, the purpose is to provide applications and developers with the ability to access a set of routines based on certain software or hardware. , without having to access the source code or understand the details of the inner workings.

7. [jQuery] jQuery is a fast and concise JavaScript framework. It is another excellent JavaScript code library (or JavaScript framework) after Prototype. The purpose of jQuery's design is "write less, do more", which means writing less code and doing more things. It encapsulates common JavaScript function codes, provides a simple JavaScript design pattern, and optimizes HTML document operations, event processing, animation design and Ajax interaction.

8. [PhpStorm] PhpStorm is a commercial PHP integrated development tool developed by JetBrains. It is designed to improve user efficiency. It can deeply understand the user's coding, provide intelligent code completion, fast navigation and instant error checking.

9. [Bootstrap] Bootstrap is a simple, intuitive, and powerful front-end development framework based on HTML, CSS, and JavaScript developed by Mark Otto and Jacob Thornton, designers of the American Twitter company, which makes Web development faster.

Responsive layout is a concept proposed by Ethan Marcotte in May 2010. In short, it means that a website can be compatible with multiple terminals - rather than making a specific version for each terminal. This concept was born to solve mobile Internet browsing.

Responsive layout can provide users with different terminals with a more comfortable interface and better user experience. And with the current popularity of large-screen mobile devices, it is not an exaggeration to describe it as "the general trend". As more and more designers adopt this technology, we not only see a lot of innovation, but also some established patterns.

10. [dos] dos, the abbreviation of disk operating system, is a type of operating system on personal computers. In the 15 years from 1981 to 1995, the disk operating system occupied a pivotal position in the IBM PC compatible market.

11. [Nginx] Nginx is a lightweight web server/reverse proxy server and email (IMAP/POP3) proxy server, and is released under a BSD-like protocol. Its characteristics are that it occupies less memory and has strong concurrency capabilities. In fact, nginx’s concurrency capabilities do perform better among web servers of the same type. Users of nginx websites in mainland China include: Baidu, JD.com, Sina, NetEase, Tencent, Taobao, etc.

12. [Linux] Linux is a Unix-like operating system that is free to use and spread freely. It is a multi-user, multi-task, multi-thread and multi-CPU operating system based on POSIX and UNIX. It can run major UNIX software tools, applications and network protocols. It supports 32-bit and 64-bit hardware. Linux inherits the network-centric design philosophy of Unix and is a multi-user network operating system with stable performance.

13. [cURL] cURL is a file transfer tool that uses URL syntax to work under the command line. It was first released in 1997. It supports file upload and download, so it is a comprehensive transfer tool, but according to tradition, it is customary to call cURL a download tool. cURL also includes libcurl for program development.

Related videos: php from entry to proficiency

The above is the detailed content of What do you need to know to get started with PHP?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:cnblogs.com. If there is any infringement, please contact admin@php.cn delete