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)
-
- InnoDB
- MyISAM
- Memory
- Archive
- Blackhole\CSV\Federated\merge\NDB
-
- Atomicity
- Consistency
- Isolation
- READ UNCOMMITTED
- READ COMMITTED
- REPEATABLE READ
- SERIALIZEABLE
- Durability
-
- Index
- Primary unique index
- Unique index
- Index
- Union index
- Left match principle
- Cluster
- �Cluster index
- Non-�Cluster index
- Datastruct
- hash index
- b-tree index
- b+tree index
- Index
-
- Pessimistic lock
- Optimistic lock
-
Submeter
- Vertical
- Horizontal
-
Sql optimize
-
Master-Slave
-
Redis(doing)
- Command
- Diff with memcache
- Some Example
-
Docker
-
Design Pattern(done/fixing)
-
Creational Pattern
-
Construction Pattern
-
Behavior Pattern
-
- array
- heap/stack
- tree
- queue
- list
- graph
- hash
-
Algorithm(doing)
-
analyze
- time complexity/space complexity/corectness/readability/robustness
-
examples
-
sort algorithm(α)
-
-
-
Netwok basis (doing)
- Internet protocol
- client with nginx
- nginx with php-fpm
- http
- message
- message head
- message body
- http status
- http method
- https
- http2
- websocket
- message
-
Computer basis (doing)
- linux command
- shell
-
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]