ZF Daily
  • Blog
  • Code
    • License
  • About
  • Contact
Developer's daily encounters with Zend Framework
Home » 2012 » July
Getting dependencies into ZF2 Controllers

Getting dependencies into ZF2 Controllers

2012-07-05 · by dlu · in Zend Framework 2

Do your controllers need other object instances to do their work? Well, how do you get your hands on those dependencies inside your controllers? Forget new Xyz() – that’s a road to hell. There is a better way in ZF2….

Search

Recent Posts

  • DluTwBootstrap updated to ZF2 RC6
  • DluTwBootstrap updated to ZF2 RC5 and Twitter Bootstrap 2.1.0
  • DluTwBootstrap updated to ZF2 RC3
  • Getting dependencies into ZF2 Controllers
  • DluTwBootstrap updated to ZF2 Beta4

Categories

  • Zend Framework 1
  • Zend Framework 2

Tags

Alias BaseUrl Bootstrap Bug Circular dependency Configuration Controller Dependency injection DluBaseUrl DluPhpSettings DluTwBootstrap Form Module PHP ini settings Twitter bootstrap Vhost Zend framework 1 Zend framework 2

Archives

  • August 2012
  • July 2012
  • June 2012
  • April 2012
  • March 2012

Blogroll

  • Alejandro Gervasio
  • Evan.pro
  • Invisible to the eye
  • Loose Couplings
  • Miško Hevery
  • phly, boy, phly
  • PHPDeveloper.org
  • Rob Allen's DevNotes
  • Zend Developer Zone

Copyright © 2013 ZF Daily