Upgrade to Pro — share decks privately, control downloads, hide ads and more …

ZF3 O QUE VÊM POR AI!!!

ZF3 O QUE VÊM POR AI!!!

Light talk apresentado durante o #28 PHPUB.

O PHPUB é um evento mensal da comunidade do PHP MARANHÃO.

Avatar for Willian Mano

Willian Mano

July 08, 2015
Tweet

More Decks by Willian Mano

Other Decks in Programming

Transcript

  1. ZEND FRAMEWORK 3, O QUE VÊM POR AI!! Willian Mano

    #28 PHPUB PHP MARANHÃO https://speakerdeck.com/willianmano/zf3-o-que-vem-por-ai
  2. The goals Emphasis on components Focus on HTTP, via PSR-7

    and Middleware Optimize for PHP 7, but support PHP 5.5+
  3. The real goals A simpler framework. A unbound framework. More

    easy learning curve. Make simple things more simple yet! Make a smooth migration unlike the ZF1 to ZF2.
  4. Zend Framework 3 Roadmap Separating components into individual, versioned projects.

    Strong emphasis on HTTP messages, with Matthew leading the PSR-7 specification. Updating our existing full-stack MVC framework to depend on the newly independent components for better reuse and simplicity. Embracing middleware runtime patterns as a lighter weight alternative to the enterprise MVC framework stack. Enabling Apigility to work as a middleware stack, for better performance and simplicity. Optimizing for PHP 7, but supporting PHP 5.5 onwards.
  5. Zend Framework 3 Roadmap Separating components into individual, versioned projects.

    Strong emphasis on HTTP messages, with Matthew leading the PSR-7 specification. Updating our existing full-stack MVC framework to depend on the newly independent components for better reuse and simplicity. Embracing middleware runtime patterns as a lighter weight alternative to the enterprise MVC framework stack. Enabling Apigility to work as a middleware stack, for better performance and simplicity. Optimizing for PHP 7, but supporting PHP 5.5 onwards.
  6. Separating components into individual, versioned projects. Ease maintenance Greater flexibility

    Selective evolution Use-case specific skeletons Deliver a web service? Need performance? Need everything? how it happened: https://goo.gl/OkhdCK
  7. PSR-7 PHP doesn't care to process the requests and responses.

    So, each framework do it differently. $method = $request->getMethod(); $method = $request->getRequestMethod(); $method = $request->method();
  8. Some resources Zend Framework 3 http://www.youtube.com/watch?v=B7aSNUa1rJo Stratigility: Middleware for PHP

    and PSR 7 https://www.youtube.com/watch?v=-vUvSQ4HrAs Zend Framework 3 and the Future https://www.youtube.com/watch? v=r9UmNQ2Famo