What will be the difference between Zend Framework 3 and Zend Expressive?

3

Hello everyone, I'm wondering, in zend framework 2 although its components can be downloaded separately, normally I used a skeleton already available on zend's own website. Will zend framework 3 follow the same schema? Or you will be required to select the components one by one (eg in the composer). And what's the difference to zend expressive.

    
asked by anonymous 21.07.2016 / 01:16

1 answer

7

Zend Framework 3 Skeleton Application

Zend Framework 3 has a Skeleton Application , which can be installed via Composer: / p>

$ composer create-project -sdev zendframework/skeleton-application path/to/install

During installation, you can choose to minimal (default installation) or select the packages you want (eg Zend-DB, Zend-Cache, among others) and how you want to 'inject' the settings in your project files.

Differences between Zend-Framework and Zend-Expressive

The Zend Framework is a collection of more than 60 packages (including Expressive) that can be installed via Composer, and work in an integrated way (as a full-stack framework) or in isolation , to facilitate the development of applications in the Model-View-Controller architecture.

On the other hand, Zend Expressive is a micro-framework, designed for situations where you do not need a "complete" framework and you have the flexibility to create your own architecture. The main foundations of it are:

  • Exchange of HTTP messages in compliance with PSR-7 ;
  • The ability to create Middleware layers using PSR-7;
  • A Routing mechanism that can use Aura.Router, FastRoute or Zend-MVC itself;
  • A Dependency Injection and Containers mechanism that can use Aura.DI, Pimple, or even (and excellent) Zend-ServiceManager;
  • A Template mechanism that can use Plates, Twig, or Zend-View itself;
  • And, finally, an Error Handler for handling errors.
  • Zend Expressive Skeleton Application

    Zend Expressive also has a Skeleton Application , which can be installed via Composer:

    $ composer create-project zendframework/zend-expressive-skeleton path/to/install
    

    Unfortunately, I could not publish more than two links because of my poor reputation.

    Anyway, I hope I have helped you! :)

        
    29.07.2016 / 18:24