What is better CakePHP or pure PHP for a huge project?

I just know pure PHP, I have never worked with a wireframe before, but my boss wants me to create our next project, which will be much more than everything we did before (which means more than a page that only needs 5 scripts work, more than 100 or something like that).

But I'm not sure if I can figure it out with pure PHP, now I heard that CakePHP can be useful for this (structure, etc.). Should I find out or just use my clean PHP method?

+3
source share
8 answers

As already noted, your definition of the scope and complexity of this project is a bit vague, but I will answer with the general remark that larger projects benefit from a larger top-down structure than smaller ones. I suspect that almost every PHP developer on the planet started hacking right in index.php, and then wrote some code for guestbook.php and so on. Then you understand how much you are repeating and start refactoring with classes and libraries.

Frames are the natural next step forward. The term covers a range of products; some of which are very closely related to a specific way of working, and some are more likely with a library with some free front-end controls.

MVC, , . CakePHP - Zend Framework, ( ). , , Cake ZF, , , Cake , ZF. , , , .

, Cake , , . ZF , , - .

, Cake ZF, MVC. Jason Sweat book - , , ZF .

, "Cake and Pure PHP". Cake ( ZF) " PHP". "PHP ", "PHP - " ( ). , " ", .

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

+7

Cake . , MVC, .

. , . , , .

. MVC - . , . , , .

, , CakePHP . CodeIgniter, , " PHP-ist", , .

, , , . - , , . , , .

, , ( ) . , , 50k - 100k .

+3

CakePHP. . , , (oscommerce ..). . / , , , ..

, (, - NDA). , .

+1

, , CakePHP, . PHP (Cake, Symfony, Codeigniter, Zend ..), .

, , MVC... , , , - .

, " ". ( , ) , , .

+1

PHP, cakephp, , . cakephp , , , , . , , . .

+1

, php , , , ,

- , , , php, -

, , , , php, , , , , , , (, ), , , , (- )

+1

PHP, , , . , , , .

"code-your-own", , , , , - , , , .

, cakePHP , , , "".

0

It all depends on the project and the owner of the project package. If there are a lot of changes, either during development or after the project comes to life, the structure can be quite limited for someone without a strong understanding of theories that lie beyond (not a judgment about the programmer, just an expression.)

0
source

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


All Articles