Choosing a PHP Framework for Long-Term Deployment

We are starting a new project, and I wonder what framework we should use, and if we will use the framework.

We decided to choose PHP instead of ASP.NET in part, because we did not want to get stuck in an inflexible paradigm (WebForms, all-automatic, but not very flexible), but I believe that the PHP framework can put us in the same situation.

The application will be developed at present and probably will not be actively supported for many years. We need something that will be resistant to time, since the next major revision will not be until 10 years. We need something standard and understandable.

I am considering Zend Framework and possibly ADODB as a database layer, but I'm not sure. I also excluded PEAR from the list due to the large dependency tree.

It would be preferable to separate the display from the logic, as the appearance may change in the coming years. Therefore, a good template language should be.

What do you think?

+3
source share
7 answers

The Zend Framework is apparently the most popular base for PHP at present, in a two-to-one ratio, according to a recent survey:

" What PHP structure has a promise for the future?

Disclaimer: I worked at Zend as a leader in the ZF project through its release 1.0.

+4
source

I agree with you that Zend may be the way to go. I've been looking for a lot of frameworks lately for the same reason, and Zend seems to stand out as the biggest support and the strongest base.

+2

Zend Framework , . Code Igniter , , .

, , ZF ( 99% , , MySQL). ADODB ... , ?

+2
+2

loog at CodeIgniter. , MVC.

+1

, , CakePHP CodeIgniter, CakePHP. CakePHP Ruby on Rails, MVC.

, , CakePHP , , .

Flex AMF CakePHP

+1

PHP mvc

use mvc\Controller;
use mvc\View;
class PF2 implements Controller
{
    public function Controller() {
        return new View("view",array("name"=>"bora"));
    }
}
0

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


All Articles