~/talk

Intro to Modules in ZF2

Talkat Dutch PHP Conference 2013 · 2013-06-07..06-08· [php, open-source]
links:none on file
slides:none on file

Explains ZF2 modules as simple folders with a Module.php class exposing methods like getAutoloaderConfig, getConfig, init and onBootstrap, loaded by an event-driven ModuleManager. Covers Phar packaging (prefer non‑compressed .phar/.tar), Composer/vendor install, PSR-0 src layout, cached three-step config merge, lazy service loading via ServiceManager, and real-world modules (zfc-user, scn-social-auth) used to compose an app (~35 commerce modules). Advises modules be read‑only, do one job, and avoid writes inside packaged modules.

AI-written summary · about

  1. 0:00Intro
  2. 1:00What is a module?
  3. 5:07What can modules be?
  4. 12:51Module directory structure
  5. 15:17Application conti
  6. 16:34Module paths
  7. 17:27Packaging a module is easy
  8. 18:14Phar packaging is transparent
  9. 20:22Module distribution
  10. 24:21Naming your module
  11. 25:58A real ZF2 module
  12. 27:33Zend Module Manager
  13. 28:25Module events
  14. 31:00AutoloaderListener
  15. 32:24Init Trigger
  16. 35:00Service Listener
  17. 38:27Module configuration
  18. 40:53Module best practices
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.