A knowledge storage for the PHP developer
flag | meaning |
---|---|
not-start | not start |
doing | ing |
α | for reference only |
done | complete |
fixing | fix |
PHP(doing)
PHP code standard with PSR(Include personal suggestion)
Base knowledge[RTFM]
Mysql(doing)
Submeter
Sql optimize
Master-Slave
Redis(doing)
Docker
Design Pattern(done/fixing)
Creational Pattern
Construction Pattern
Behavior Pattern
Algorithm(doing)
analyze
examples
sort algorithm(α)
Netwok basis (doing)
Computer basis (doing)
High concurrency (not-start)
run: php patterns/[folder-name]/test.php
for example,
chain of responsibility: run, php patterns/chainOfResponsibility/test.php
result:
request 5850c8354b298: token pass~
request 5850c8354b298: request frequent pass~
request 5850c8354b298: params pass~
request 5850c8354b298: sign pass~
request 5850c8354b298: auth pass~
run: php algorithm/test.php [algorithm name|help]
for example,
bubble sort: run, php algorithm/test.php bubble
result:
==========================bubble sort=========================
Array
(
[0] => 11
[1] => 67
[2] => 3
[3] => 121
[4] => 71
[5] => 6
[6] => 100
[7] => 45
[8] => 2
)
=========up is the origin data==================below is the sort result=============
Array
(
[0] => 2
[1] => 3
[2] => 6
[3] => 11
[4] => 45
[5] => 67
[6] => 71
[7] => 100
[8] => 121
)
run: php redis/test.php [name|help]
for example,
pessimistic-lock: run, php redis/test.php p-lock
result:
exexute count increment 1~
count value: 1
If you find some where is not right, you can make a issueissueor a pull request,I will fix it,THX~
This project exists thanks to all the people who contribute.
Thank you to all our backers! 🙏 [Become a backer]
Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [Become a sponsor]