Introduction to PHP

Source: Internet
Author: User
Tags php session php database php exception handling php introduction php open source project php regular expression php tutorial zend

PHP Introduction You should have the basic knowledge
    • Html
    • Css
    • Javascript
What is PHP?

PHP (foreign name: Php:hypertext Preprocessor, Chinese name: "Hypertext Preprocessor") is a common open source scripting language. The grammar absorbs the C language, Java and Perl features, is conducive to learning, widely used, mainly for the field of web development. PHP's unique syntax mixes the syntax of C, Java, Perl, and PHP's own creation. It can execute Dynamic Web pages more quickly than CGI or Perl. Dynamic pages made in PHP are compared to other programming languages, and PHP is executed in HTML (an application under the standard Universal Markup Language), which is much more efficient than CGI, which generates HTML markup entirely; PHP can also execute compiled code, which can be compiled to achieve Encrypt and optimize code runs, making your code run faster.

PHP Development Tools
    • Zend Studio: Commercial Edition, Zend official, based on eclipse
    • Eclipse with PDT: free
    • Coda: Commercial edition, for Mac users
    • NetBeans: Free, powerful
    • PHP Storm: Business Edition
    • Aptana Studio: Free
    • Phped: Commercial Edition
    • Komodo Ide/edit:ide is a commercial version, Edit is free to use
    • Adobe Dreamweaver: Business Edition
What can PHP do?
    • PHP can generate dynamic page content
    • PHP can create, open, read, write, and close files on the server
    • PHP can collect form data
    • PHP can send and receive cookies
    • PHP can add, delete, and modify data in your database
    • PHP can restrict users from accessing some pages on your site
    • PHP can encrypt data
Why use PHP?
    • PHP can be run on different platforms (Windows, Linux, Unix, Mac OS X, etc.)
    • PHP is compatible with almost all servers currently in use (Apache, IIS, etc.)
    • PHP provides a wide range of database support
    • PHP is free and can be downloaded from the official PHP resources: www.php.net
    • PHP is easy to learn and runs efficiently on the server side
Example one, output Hello world!
<!DOCTYPE html>echo "Hello World!";    </body>
Example Two, PHP knowledge flowchart PHP Phase A Web Working principle PHP Environment Build PHP open Source project html+css PHP phase Two syntax data structure array object extension SQL session cache PHP Small Project PHP phase Three object-oriented Advanced MYSQLPDO algorithm encapsulation framework template engine PHP advanced project PHP phase four container Message Queuing Elasticsearch,redis optimize Security Large web site solution geumcheon PHP Tutorial
    1. Introduction to PHP
    2. PHP Installation
    3. PHP syntax
    4. PHP Data type
    5. PHP variables
    6. PHP operators
    7. PHP Process Control
    8. PHP functions
    9. PHP Classes and objects
    10. PHP string
    11. PHP Regular Expression display
    12. PHP file
    13. PHP Graphics Images
    14. Phpxml
    15. PHP Session Cache
    16. PHP Exception Handling
    17. PHP Database
    18. PHP Date Time stamp
    19. PHP Code Style Specification

Introduction to PHP

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.