In the previous article we introduced the ThinkPHP5.0 development of personal blog materials recommended, today to introduce the "ThinkPHP5.0 second quarter: real-world Development Enterprise Station Video Tutorial" introduced the introduction of the template, administrator functions, pagination, unlimited pole classification, the article's additions and deletions to check the function, Auth authority authentication and other functions.
Course Play Address: http://www.php.cn/course/640.html
This video was created by Dong, the teacher of the lecture style:
The lectures are kind and natural, unpretentious, no affectation, nor deliberately rendered, but instilled, careful way, between teachers and students in a kind of equality, cooperation, harmonious atmosphere, the silent emotional exchange, the thirst for knowledge and exploration into a simple, real teaching situation, students in the quiet thinking, The tacit consent to gain knowledge.
The most difficult issue in the blog is: Infinite Pole classification:
Here is the first introduction, what is the infinite pole classification?
Infinite-pole Classification simple point is that a class can be divided into sub-classes, and then a subclass can be divided into other sub-classes such an infinite division, as if Windows can create a new folder, and then in this folder can build some folders, under the folder can also build some folders!
Ideas:
1. That is, all the data to be processed is packaged into an array of subscript primary key ID (PK), which makes it easy for the PID to get the corresponding parent column.
2. Loop the wrapped data, and if it is the root node, add its reference to the tree, otherwise add its reference to the child elements of its parent class. This way, although the tree is simply adding the root node, each root node has child elements that contain references to child elements. So it can form a tree type.
Here also recommend the source of resources to download: http://www.php.cn/xiazai/learn/2074
In the courseware, we share the complete code:
1. Front and rear static templates
2. Installation method. txt
3. Complete program
4. Database including the entire project