Does PHP itself turn into a wireframe or a large library?

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 .

+3
source share
5 answers

PHP "" - , - . - , PHP, -. , , , ; , PHP, - - ( ) , .

, langauge, PHP Unicode. 90- Unicode , langauge Unicode . : PHP ; .

+3

, , . SPL (, PHP 5.3, ) " , ". (source) , ( , , , OO-API , ) OO.

, , . XML , , , .

DateTime, PECL, Pear Zend Framework , .

, ? , .

+7

? - , Java #? PHP , .

PHP . .

+4

:

, , , [...]

Zend Framework , CakePHP, , , PHP -. (, Ruby) - . Ruby on Rails - , Ruby.

, , PHP .

+1

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.

0
source

Source: https://habr.com/ru/post/1744514/


All Articles