Facade is similar to class inheritance, right?
︿
︿ 2019-03-02 17:04:13
0
3
1172

Facade is similar to class inheritance, right?

︿
︿

reply all (1)
Peter-Zhu

It looks very similar to class inheritance, but in fact there is a big difference.


Class inheritance shows the distinction between classes. The layer relationship is vertical.

Facade integrates functions between multiple classes and provides a unified calling interface to the outside world to encapsulate some common functions and hide implementation details

No matter which method is used, there are only two basic directories: code reuse and easy maintenance

  • reply Wearing a vest
    ︿ author 2019-03-16 11:55:35
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!