At the beginning, PHP was a scripting language. But after implementing and improving OOP, I see more and more objects added to the kernel. They started with libraries like the DOM (PHP versions 4 and 5), later the SPL, which grew a lot, and the DateTime family, which should be part of PECL, Pear, or Zend Framework, or implemented by each of us.
Should PHP be for built-in functions only when all these objects are passed to another?
Example: The DateTime class is part of the kernel , and I see that it is very similar to Zend_Date.
Wikipedia in the standard library .
PHP "" - , - . - , PHP, -. , , , ; , PHP, - - ( ) , .
, langauge, PHP Unicode. 90- Unicode , langauge Unicode . : PHP ; .
, , . SPL (, PHP 5.3, ) " , ". (source) , ( , , , OO-API , ) OO.
, , . XML , , , .
DateTime, PECL, Pear Zend Framework , .
, ? , .
? - , Java #? PHP , .
PHP . .
:
, , , [...]
Zend Framework , CakePHP, , , PHP -. (, Ruby) - . Ruby on Rails - , Ruby.
, , PHP .
I think this is turning into a large library because it is full of goodies, but in reality nothing can relate everything to a good tape.
A structure such as Zend or Symfony will do wonders for organizing a PHP application. PHP alone is not very good for huge projects.
Source: https://habr.com/ru/post/1744514/More articles:What is the easiest implementation of IDynamicMetaObjectProvider? - .netxml data lost in JSON conversion - jsonHow to prepare data for display on a silverlight diagram using WCF RIA Services + Entity Framework - entity-frameworkWLST Scripting with Eclipse - eclipseHow to get "Revision Number" from msi using .NET code? - .netRhinoMocks: how to check if a method is called when using PartialMock - c #Exclude category from wp_get_archives? - wordpressAutomatically add zoom icon to thumbnails - jqueryHow to block a double-click event in a ListView that has no items? - c #ключевое слово var без 'использования someNamespace' - c#All Articles