Trying to wrap my head around the new concepts of Zend Framework 2.0.
I’m trying to connect to a database, and to get that connection in a controller or model.
Nothing fancy, just the pure connection to run queries against.
Work your way through that and all should become clear!
Admittedly I went through it around ZF2 beta 2 and haven’t touched ZF2 since, so I can’t recall the answer to your question, but I do know that you’ll be doing DB connections, selecting, inserting and updating as part of this guide. It doesn’t take long to run through