php-http / documentation

Documentation for PHP-HTTP including HTTPlug
http://docs.php-http.org
MIT License
23 stars 56 forks source link

Document dependency tree #82

Open sagikazarmark opened 8 years ago

sagikazarmark commented 8 years ago

Discovery, message factories can cause a complex dependency tree.

See php-http/httplug#104

Nyholm commented 8 years ago

Does this look right? Should I add clients/adapters as well?

screen shot 2016-07-27 at 17 12 30
sagikazarmark commented 8 years ago

Looks nice. How did you create it?

Nyholm commented 8 years ago

Keynote

dbu commented 8 years ago

looks good. i would leave out adapters, that would complicate the diagram quite a bit

Nyholm commented 8 years ago

Maybe straight lines?

screen shot 2016-07-27 at 17 26 02
Nyholm commented 8 years ago

No, just a bit bent. And I'll make sure to have a good image tomorrow

Nyholm commented 8 years ago

Here is my final graph:

screen shot 2016-07-28 at 10 37 45

You can find the source at: https://www.dropbox.com/s/jd401fu8woe3sto/httplug-deps.key?dl=0

dbu commented 8 years ago

cool! could we use coloring (like greying out or such) to separate php-http libraries and 3rd party libraries? and psr 7 could be more highlighted, maybe with a star-box around it or something

Nyholm commented 8 years ago

Star-box?

screen shot 2016-07-28 at 11 42 26
Nyholm commented 8 years ago
screen shot 2016-07-28 at 11 43 16 screen shot 2016-07-28 at 11 38 08
dbu commented 8 years ago

first version with yellow background?

Nyholm commented 8 years ago
screen shot 2016-07-28 at 12 15 28
Nyholm commented 8 years ago

I just realized that within a couple of years, the four packages on top will all be PSRs (and a Promise implementation)

sagikazarmark commented 8 years ago

Star box :smile:

Like it