哪种结构有用/更好?
(PHP)
结构A
+ httpLib/
| . Index.php / Factory
| . API.php
| . _Exception.php
| + Response/
| | . Interface.php
| | . ...
| + Request/
| | . Interface.php
| | . ...
结构B
+ httpLib/
| . Response.php
| . Request.php
| . API.php
| . _Exception.php
| + Client/
| | . Interface.php
| | . Socket.php
| | . Stream.php
| | . cURL.php
...
(我没有找到更好的标题)
谢谢。