Главная » Файлы » Литература |
Joseph Benharosh - The essentials of Object Oriented PHP
03 Фев 21, 10:59 AM | |
![]() But this does not tell the full story. Consider the following facts : Procedural programming is inefficient PHP frameworks rely on object oriented PHP Drupal and other CMS systems are now object oriented There are more and more parts of WordPress becoming object oriented Let's expand on the first fact as it is the most important one - everything else flows from it, i.e. object oriented programming is gaining popularity because it is more efficient. There are great applications written in the procedural style of PHP, but even the best end up in spaghetti code where functions and variables are mixed together. Add in HTML, CSS and JavaScript to this mix and the code becomes something that is, well, inefficient. Object oriented code is more organized. Distinct units are created for a single purpose. This means it is easier to find things in the code (ending those days of spending hours trawling through lines of spaghetti code to find a single element). It is also easier to add, replace or remove parts of code as it only has to be done once. With procedural programming, on the other hand, it is necessary to change every instance. Finally, object oriented programming gives the opportunity to developers to integrate code libraries from other resources. This is done without worrying about name collisions, even though some of the functions in the code might have the same name. Автор: Joseph Benharosh Язык: Русский Издательство: Leanpub Жанр: programming Год: 2016 Формат: pdf Размер: 18 мб Скачать Joseph Benharosh - The essentials of Object Oriented PHP Скачать с TurboBit.сс
[url=http://2bay.org/db/10109/files/The_essentials_of_Object_Oriented_PHP_by_Joseph_Benharosh_(z-lib.org).pdf]Скачать с 2bay.org[/url] | |
Просмотров: 21 | Загрузок: 0 | Рейтинг: 0.0/0 |
Всего комментариев: 0 | |