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

ZF2 Some core components (Dutch)

ZF2 Some core components (Dutch)

On an Enrise developermeeting I gave a short oversight (25 mins) on some of the new Zend Framework 2 components that every developer will face when starting with ZF2:
Zend\MVC
Zend\ServiceManager
Zend\Module

---
Some stuff was copied from a presentation by Evan Coury and Rob Allen.

Avatar for Dolf Schimmel

Dolf Schimmel

November 08, 2012
Tweet

Other Decks in Technology

Transcript

  1. • PHP 5.3.3+ • Modulair & Flexibel • Event-driven •

    Service oriented: DI & Service Locator • Re-written MVC, Forms, I18N, Db & more Highlights
  2. • Alles is een module • Event Driven • Controllers

    bevatten actions • View Scripts bevatten uiteindelijke output … en dan zijn er ook nog View Models Zend\MVC
  3. • Met modules makkelijk classes van andere modules overriden. •

    Eenvoudige complexe objecten met veel afhankelijkheden configureren. • Eenduidig instanties van classes 'ophalen' (no magic!) • Geen Zend_Registry Zend\ServiceManager $index = $sm->get('index');
  4. MODULES “Re-usable pieces of functionality that can be used to

    construct a more complex application.” Zend\Module
  5. Van alles! • Plugins: Betaalmodule voor webshop, markdown support voor

    een blog • Themes: CSS files, images, view scripts • Libraries: Doctrine2 integratie, Twig support (of Smarty...) • Applicaties: blog, e-commerce platform, CMS Zend\Module Waarvoor?