OO Performance
The advantage of OO is efficient for coding since it can be re-use. However, the trade off of OO is running performance. Therefore, what should we consider and how can we make a balance for running performance and developing performance before using OO?Here is one of the answer:
http://www.webmasterstop.com/tutorials/efficiency-PHP-OOP.shtml
The page indicate that if the class is doing a very simple process, we better avoid use OO concept since the running performance may greatly increase due to this. However, if the class is quite complicated, it is quite worth to use running performance as a trade off.
Reference: http://www.sitepoint.com/blog-post-view.php?id=223760

0 Comments:
Post a Comment
<< Home