In order to give compatriots who love PHP a clearer learning idea, the editor will share with you the latest PHP learning route.
PHP learning first stage
1. Cycle and goals:
Learning cycle: 17 days
Goal after completion of learning: can meet the needs of corporate front-end website building According to the requirements, any website page can be copied and browser compatibility can be achieved, as well as PC and mobile compatibility. And being able to use Javascript verification technology, you can be qualified for the position of front-end engineer without pressure.
2. Knowledge points:
1) Html (master)
html text layout, tables and hyperlinks, forms and frames
html tutorial link :http://www.php.cn/html/html-tutorial.html
2) CSS
css syntax and attributes, box model, DIV+CSS layout
css tutorial chain: http://www.php.cn/css/css-css_tutorial.html
3) Html5+Css3 (master)
html5 tutorial: http://www .php.cn/html5-tutorial.html
css3 tutorial: http://www.php.cn/course/555.html
4) Bootstrap (emphasis)
Bootstrap deployment, global CSS styles, CSS components
5) Javascript (key)
Introduction to JS, JS introduction method, JS syntax, JS built-in objects, BOM model, DOM model , Event programming
Javascript tutorial link: http://www.php.cn/js-tutorial.html
6) Jquery (key)
jquery various options Container, DOM and jquery objects, attribute operations, event operations, jquery special effects, document processing, jquery plug-in mechanism
jQuery tutorial: http://www.php.cn/course/685.html
PHP learning second stage
1. Cycle and goal:
Learning cycle: 17 days
Goal after learning: be able to use process-oriented programming to solve problems Conventional business logic, implementing form value transfer, file programming, session technology, and image processing. After completing the course, you will be fully equipped with basic skills in construction.
2. Knowledge points:
1) PHP environment construction (mastery)
The difference between static websites and dynamic websites, the access process of WEB programs, building a wamp environment, and self- Define environment construction, build domain name-based virtual host, environment experience-install discuz forum
2) PHP core (key)
Variables and constants, data types and operators, process control, functions , file contains, operators, strings, arrays
3) Mysql basics (key points)
Basic introduction to database basic SQL operations, character sets, column types and column attributes, table relationships, Advanced data operations, three major mysql queries, data backup and restoration, mysql user rights management, PHP operation Mysql
4) Typical PHP technology (key points)
http protocol, form value transfer, File processing, session technology, GD image processing
PHP tutorial: http://www.php.cn/course/685.html
MySQL tutorial: http: //www.php.cn/mysql-tutorials.html
The third stage of PHP learning
1. Cycle and goals:
Learning cycle: 17 days
Goals after learning: Be able to use process-oriented programming to solve conventional business logic, implement form value transfer, file programming, session technology, and image processing. After completing the course, you will be fully equipped with basic skills in construction.
2. Knowledge points:
1) PHP object-oriented (mastery)
Introduction to object-oriented, using object-oriented, three major characteristics of object-oriented, inheritance in PHP, Object traversal, object serialization, reflection mechanism, namespace
2) PDO (familiar)
Introduction to PDO, basic PDO operations and addition, deletion, modification, PDO preprocessing, PDO attribute control, PDO exception handling, PDO encapsulation
3) ICFrarme framework (key)
MVC design pattern, framework construction
4) Smarty template (familiar)
Template technology principles, Smarty quick start, Smarty template design, Smarty programming, Smarty caching technology
5) Project upgrade (key points)
Email technology, page staticization, regular expressions, content Collection, function improvement
PHP learning fourth stage
1. Cycle and goal:
Learning cycle: 17 days
Goal after learning: able Use ThinkPHP, the most popular framework among front-line enterprises, for rapid project development. It can realize RBAC permission management functions commonly used in mainstream backends, code management, front-end and backend interaction, multi-table connections, data analysis, polling technology, and website optimization technology. It can also integrate jQuery Mobile to implement both PC and mobile versions. After completing the course, you will be fully capable of developing mainstream large and medium-sized websites (office OA system).
2. Knowledge points:
1) SVN (master)
SVN overview and installation, detailed explanation of SVN usage, configuration of multiple warehouses and permission control, SVN server configuration and management , Hook program
SVN tutorial: http://www.php.cn/course/354.html
2) XML (familiar)
XML syntax, SimpleXML, XPath, Case-Online Dictionary
3) Ajax (Master)
Ajax quick start, Ajax objects, sending get and post requests, transmitting data with XML, JSON, Ajax cross-domain Request, Ajax case-pagination, chat room
Ajax tutorial: http://www.php.cn/course/594.html
4) ThinkPHP (key)
ThinkPHP quick start, ThinkPHP controller, ThinkPHP view, ThinkPHP model, ThinkPHP utility items
ThinkPHP tutorial: http://www.php.cn/course/680.html
5) Linux (key)
Linux installation, shell usage, VI editor, users, groups, file management, Lamp environment construction
Linux tutorial: http://www.php.cn/course /646.html
6) Optimization technology (key points)
Database optimization, Sphinx full-text index, Memcache, URL optimization
The fifth stage of PHP learning
1. Cycle and goals:
Learning cycle: 17 days
Goal after completion of study: Be able to use the mainstream framework ThinkPHP to implement the mainstream business logic of a real mall (such as attribute screening of products, product search, shopping cart), and implement the mall Commonly used QQ login functions, payment functions, interface development (delivery, WeChat, SMS, email, maps), and master advanced knowledge of mall server architecture such as clustering, load balancing, and distribution! After completing the course, you will truly master the development of large-scale mainstream shopping malls, and be able to optimize system performance for projects such as portal websites, shopping mall systems, and office systems.
2. Knowledge points:
1) Redis (master)
Nosql common product introduction, installation and startup, data type explanation, PHP support for redis, security certification and advanced cases , persistence mechanism, master-slave configuration
Redis tutorial; http://www.php.cn/course/566.html
2) Nine major interface programming (key points)
Payment, delivery, WeChat, SMS, email, map, Baidu API, Tencent API, local data interface
3) MongoDB (key)
MongoDB understanding, basic and Common commands, index and user management, data export and backup, master-slave replication and sharding, PHP support MongoDB
MongoDB tutorial: http://www.php.cn/course/519.html
4) Mysql read-write separation (key points)
Principle, log-bin explanation, configuration steps, code to achieve read-write separation, use of read-write separation in ThinkPHP
5) Server architecture (Key points)
WEB server cluster, Nginx load balancing, Session sharing, reverse proxy server
PHP learning phase six
1, cycle and goals:
Learning cycle: 17 days
Goals after completion of study:
1. Master the use of PHP open source products, deeply understand the principles and ideas of open source products, and be able to quickly and deeply development. After completing the course, you will be able to master the rapid development of various corporate portals, government agencies, educational institutions, media organizations, personal webmasters and other websites.
2. Master the hybrid development method to develop mobile APP. The APP is compatible with Android phones and IOS phones. After learning, the content of the PC website (or enterprise OA platform) can be viewed and updated simultaneously on the mobile phone!
2. Knowledge points:
1) WebApp (key)
Framework foundation, PhoneGap underlying implementation, Hyrid hybrid development, application JS SDK class library
2) CMS in-depth development (key points)
Understand the cms system, skillfully apply dedecms system tags, use dedecms to develop a67 movie network, and apply dedecms data collection
CMS tutorial: http:/ /www.php.cn/course/377.html
3) Hadoop (understanding)
Hadoop installation and configuration, HDFS configuration, Hadoop entry case, PHP writing MapReduce
4) Mysql advanced (key)
Foreign keys and paradigms, views and transaction security, triggers, functions, stored procedures, indexes
5) Js advanced (key)
js common events, js object-oriented, js closure, js function call, js mini game Snake.
If you think this learning route is good, you can follow this step to learn now. The PHP Chinese website has a large number of learning materials and resources to share for free. You can download it with peace of mind.

php把负数转为正整数的方法:1、使用abs()函数将负数转为正数,使用intval()函数对正数取整,转为正整数,语法“intval(abs($number))”;2、利用“~”位运算符将负数取反加一,语法“~$number + 1”。

实现方法:1、使用“sleep(延迟秒数)”语句,可延迟执行函数若干秒;2、使用“time_nanosleep(延迟秒数,延迟纳秒数)”语句,可延迟执行函数若干秒和纳秒;3、使用“time_sleep_until(time()+7)”语句。

php字符串有下标。在PHP中,下标不仅可以应用于数组和对象,还可应用于字符串,利用字符串的下标和中括号“[]”可以访问指定索引位置的字符,并对该字符进行读写,语法“字符串名[下标值]”;字符串的下标值(索引值)只能是整数类型,起始值为0。

php除以100保留两位小数的方法:1、利用“/”运算符进行除法运算,语法“数值 / 100”;2、使用“number_format(除法结果, 2)”或“sprintf("%.2f",除法结果)”语句进行四舍五入的处理值,并保留两位小数。

判断方法:1、使用“strtotime("年-月-日")”语句将给定的年月日转换为时间戳格式;2、用“date("z",时间戳)+1”语句计算指定时间戳是一年的第几天。date()返回的天数是从0开始计算的,因此真实天数需要在此基础上加1。

在php中,可以使用substr()函数来读取字符串后几个字符,只需要将该函数的第二个参数设置为负值,第三个参数省略即可;语法为“substr(字符串,-n)”,表示读取从字符串结尾处向前数第n个字符开始,直到字符串结尾的全部字符。

方法:1、用“str_replace(" ","其他字符",$str)”语句,可将nbsp符替换为其他字符;2、用“preg_replace("/(\s|\ \;||\xc2\xa0)/","其他字符",$str)”语句。

查找方法:1、用strpos(),语法“strpos("字符串值","查找子串")+1”;2、用stripos(),语法“strpos("字符串值","查找子串")+1”。因为字符串是从0开始计数的,因此两个函数获取的位置需要进行加1处理。

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

SublimeText3 Chinese version
Chinese version, very easy to use

SublimeText3 English version
Recommended: Win version, supports code prompts!

MantisBT
Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

Dreamweaver CS6
Visual web development tools

WebStorm Mac version
Useful JavaScript development tools