PHP Learn PHP Introductory classic First chapter notes, PHP Chapter _php Tutorial

Source: Internet
Author: User
Tags learn php php online php template

"PHP Learning" PHP Introductory Classic first chapter notes, PHP first chapter


The first chapter:

PHP Online Brochure: http://php.net/manual/zh/index.php

Before starting to learn PHP, the first to see what a qualified PHP programmer should have in the future, this is just some of the author's summary, I hope that the next study to help readers.

In a broad sense, PHP programmer only master PHP is not enough, need to learn PHP in the process of learning more knowledge, so as to develop a better, more perfect software. In the foreground page setup process needs to master HTML, DIV, CSS, JavaScript scripts, etc., in the program security needs to master the basic server configuration knowledge, security filtering permissions, and in the program optimization and performance needs to master the basic knowledge of the database and optimization.

Before you begin to learn the book, you should do the following preparations.
There is plenty of confidence and time to prepare (many losers are abandoned because they have no time).
A little bit of mathematical basis (using relatively little, PHP more focused on logical programming).
A little English basis (know 26 letters).
A little network basis (to understand some basic network terminology, such as mail, HTTP, login, etc.).

1. Simple "description" PHPprogram running process, PHP preprocessor, Web server and database of their respective functions, and briefly describe the PHP program workflow

PHP Pre-processor features: ASP PHP. NET Web language is the same, through its own computer system and database query. The results are generated on the server and then presented to the client in HTML form.

features of the Web server: The Web server is used to receive HTTP requests and respond to this request (such as following the client's request to operate the database data), usually in web development if the client initiates a request to the server, then there must be a Web servers, otherwise this request is no one to collect.

features of the database: A database is a group of computer-collated data stored in one or more files, and the software that manages the database is called a database management system.

Has the following functions:
(1) Data definition function. The DBMS provides the appropriate data language to define (DDL) The database structure, which is a database framework and is stored in a data dictionary.
(2) data access function. The DBMS provides data manipulation language (DML) for basic access to database data: retrieval, insertion, modification, and deletion.
(3) Database operation management function. DBMS provides data control functions, which are data security, integrity and concurrency control to effectively control and manage database operations to ensure that the data is correct and effective.
(4) The establishment and maintenance function of the database. Including database initial data loading, database dump, recovery, re-organization, system performance monitoring, analysis and other functions.
(5) The transmission of the database. The DBMS provides the transfer of processing data, enabling communication between the user program and the DBMS, usually in coordination with the operating system.

Workflow for PHP programs: PHP is a server-side programming language, programming statements similar to C language, your program logic translated into the browser can recognize the HTML Hypertext Markup Language, displayed in the client browser.

What is the process for the Web server to run the PHP scripting language?

The Web server is used to receive HTTP requests and respond to this request (such as following the client's request to operate the database data), usually in web development if the client initiates a request to the server, then there must be a Web servers, otherwise this request is no one to collect. In the early days of web development, CGI was used to process client requests, and there was no such language designed for web development, such as PHP, that would not allow the separation of HTML and background logic code, so the results returned by the CGI program would usually contain some HTML code. The browser receives the entire result and renders it. Later through the development of PHP this can be separated from the front and back of the Web development language, PHP code is only responsible for processing background logic, a large number of HTML code in the static HTML file, The result of the final rendering of the browser is the combined result of the HTML code returned by the server plus the JS code plus the CSS code and the PHP template output. The Web server runs, early in CGI as a bridge, and then runs the PHP scripting language.

http://www.bkjia.com/PHPjc/1131692.html www.bkjia.com true http://www.bkjia.com/PHPjc/1131692.html techarticle PHP Learn PHP Introductory Classic chapter I notes, PHP chapter I: PHP online manual: Http://php.net/manual/zh/index.php before you start learning PHP, take a look at a qualified p ...

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.