Is object-oriented PHP slow?

前端 未结 11 1907
温柔的废话
温柔的废话 2020-12-15 06:24

I used to use procedural-style PHP. Later, I used to create some classes. Later, I learned Zend Framework and started to program in OOP style. Now my programs are based on m

11条回答
  •  一整个雨季
    2020-12-15 06:47

    Using large frameworks for web apps that actually do not require so large number of classes for everything is probably the worst problem that many are not aware of. Strip it down at least not to include every bit of code, keep just what you need and throw the rest.

提交回复
热议问题