From basic to application, do you know what core capabilities (ThinkPHP6)TP6 has?

Supporting video tutorial

TP6.0 actual combat high concurrency full process development mall project tutorial
click to get

  

What are the advantages of ThinkPHP6.0?

Free, open source, lightweight

Chinese development, complete Chinese development documents

The community is active, if you encounter problems, you can get solutions quickly

What is the main update of ThinkPHP6?

Support PHP's latest strong typing

PSR development specifications have been widely used

Support for Swoole has been optimized and improved

Support more IDE editor friendly tips

A lot of streamlining of the original grammar


What are the core capabilities of TP6?

Basic services of the framework

Controller-Model-View-Request-Response-Exception Handling-Log-Error-Debugging-Verification-Multi-application-Cache etc.

The core of the framework

Container-Dependency Injection-Facade Pattern-Middleware-Service-Event-Routing-Drive

Master the 5-tier architecture

Controller layer-business logic layer-lib layer-model layer-view layer

And we should integrate some advanced applications of PHP in our learning and development. These will basically be reflected in the development of a project, such as a high-performance, high-availability, and high-concurrency electronic mall project with the majority of traffic. Some of the technologies you will use include: redis and message queues, redis clusters, distributed locks, how to limit and tolerate disasters, how to service payment modules, how to degrade services, and how to restrict purchases of goods and so on.

For such a system, it is recommended that the above advanced functions and features should be considered first in the requirements analysis.

Here is a flowchart of the actual development project for reference:
Insert picture description here

A complete project basically contains the following processes

1 Demand analysis

What exactly does the needs analysis analyze?
User: Who is the user of the product (there are several types)? What are the characteristics?
Scenario: Under what circumstances will users have this demand (interested in our products)? Are the requirements of different scenarios the same?
Demand: What demand does the product satisfy the user? What problem did the user solve?
Current solution: Without this product, how did the user do it (what is the current solution)? Is there any problem with the current problem?
Product solution: Do you have a better solution than the current solution?

2 Project development

At this stage, the coders are compiling the code together. In this process, we must pay attention to the specification, modularity, security, portability, and code comments of the code.

3 System optimization

For Web systems, PHP itself will not become a performance bottleneck in most cases. The bottleneck is often system design and business logic combing problems. This stage is actually related to the previous project development stage, because your design is not good enough, the code is not good enough, then you have to do more optimizations at this stage, such as: PHP code optimization, database performance Optimization, performance optimization on the server

4 Service evaluation

Service evaluation is the evaluation of project quality, how to effectively evaluate a project, although this item is the content of the product manager, but you can also learn it. We can start from these aspects: basic product logic, mathematical logic, thinking logic, business logic, system logic.

Basic product logic: some basic logic of product design, including but not limited to front-end interaction logic, information display logic, product business logic, etc. These are basically entry-level product logic.

Mathematical logic: Mathematical logic includes a basic understanding of statistics, basic data sensitivity, and the ability to dig deeper and locate problems from data layers. Know the basic statistical concepts such as prior probability, confidence, and attribution methods.

Thinking logic: When expressing plans and evaluating plans, they can have clear logical thinking, know what are facts, what are hypotheses, and what are conclusions; know whether the facts are sufficient, whether the basis of the hypothesis is reliable, and whether the logical chain of the conclusion is smooth.

Business logic: This requires a strong willingness and ability to learn. No matter what business you are doing, you should have a deep understanding of the business logic. If it is an e-commerce system, you should understand the mechanism of the product library and shopping process, and understand the ideas and methods of product selection.

System logic: Similar to business logic, business logic is to understand the ideas of related business parties, and system logic is to have a deep understanding of the system. This system may be a company, it may be a supply chain, it may be an industry, or it may be a back-end system.

5 Project deployment

There is nothing to say at this stage, but programmers will deploy the project online


Systematic learning PHP

Pay attention to the public account: PHP Self-study Center, reply to the corresponding keywords, and receive the following video tutorials.

1 Vue2.5 core technology source code analysis
Keywords: 19082201

2 Analysis and in-depth interpretation of design pattern examples
Keywords: 20190714

3 Complete PHP advanced practical tutorials
Keywords: 20190625

**4 Zero-distance contact with mysql**
Keywords: 20190128

5 The actual combat of high-performance Linux server construction
Keywords: 20190622

6 Analysis of the underlying source code of
ThinkPHP5 Keywords: 20190621

7 Thinkphp plug-in development of WeChat system
Keywords: 201907282319

8 Laravel basic entry to the actual development of
WeChat mall Keywords: 08250045

9 PHP asynchronous communication framework Swoole actual combat
Keywords: 08250024

   php self-study center

Guess you like

Origin blog.csdn.net/phpCenter/article/details/104912780