PHP Learning Summary

Source: Internet
Author: User
PHP Learning Summary
First, PHP
1,php use and differences of some common functions
Error_log ()

__FILE__-the full path and filename of the file.
__dir__–the Directory of the file.__dir__-directory file.
__function__–the functions name.__function__-The name of the function.
Class name of __class__–the class name.__class__.
__method__–the class method Name.__method__-the name of the class methods.
__line__–the Current line number of the file.__line__-file for the currently-existing lines.
__namespace__–the name of the current namespace__namespace__--name namespace
DirName remove the back directory name

2,php simple writing of uploaded files

upload.php
if ($_files[' file ' [' Error ']>0)
{echo ' ERROR ';} else{
echo "Upload:". $_files["File" ["Name"]. "
";
echo "Type:". $_files["File" ["type"]. "
";
echo "Size:". ($_files["File" ["Size"]/1024). The Kb
";
echo "Stored in:". $_files["File" ["Tmp_name"];

}

Some common problems with 3,php file operations
4,php object-oriented understanding and use of the distinction and use of "abstract class" and "interface"
Extended loading and use of 5,php
Rules and notation of 6,php regular expressions
7,php array using

Second, MySQL
1,mysql working principle and installation, configuration
2,mysql field type, and index optimization
optimization and writing of SQL statements for 3,mysql
4,mysql some common problems of handling

Three, apache| | nginx| | Iis
1, configuration and optimization of the Web server
2, mapping, proxy, pseudo-static configuration method
3, how to unify the session under multi-domain name.
4, save directory of attachments and FTP remote Save

Iv. js| | jquery| | dom| | Ajax
Common syntax in 1,js.
The principle of 2,dom
3,ajax principle and use method

Five, Linux
Common Operation Vim,ls,top,kill,tar,rm,useradd,userdel,chmod,chown,mkdir,mount,df of 1,linux
2, Edit and install the software. Configure Make&make Install Makefile
Additional configuration of 3,linux, NIC configuration, boot-up configuration, log configuration, firewall configuration, port configuration
4, simple shell statement editing. Automatic backup
Use of the 5,crontab configuration
6,linux security policies, and implementation methods

Vi. use and configuration of memcached
The understanding and principles of 1,memcached
2, where the memcached is used in the project

Vii. use and configuration of MongoDB
The understanding and principles of 1,MONGODB
2. Where to use the MongoDB in the project

Eight, caching technology (focus)
1. Page Cache technology (disk cache, memory cache)
2. Database Caching Technology

Nine, the understanding of large-scale website architecture. Construction Method (emphasis)
  • 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.