I've just got into ZF1/2 and I still haven't found a top-down explanation of
what ZF is doing in the background. Would be nice to have a diagram that
says: This starts here, this calls this, this grabs the DI, this pulls in
the dependencies then this gets the view parameters then this passes them to
the template, then it's parsed here then its displayed! 

I mean I know what MVC is but I have NO idea what's going on in the
background. I think as soon as anyone finds out how to do anything in ZF
they turn to consultancy to sell the information... then more people are
suckered into using it through 'this is made by the devs of PHP'
endorsement.

I've managed to get the ZF injecting stuff into the database and I think the
best place to find your answer is in the Akrabat ZF2 tutorial
(http://akrabat.com/getting-started-with-zend-framework-2/)

He basically declares the DB config, passes that to an adapter, passes the
adapter to a table and then pass the table to the model or so... codes in
there anyway. 

--
View this message in context: 
http://zend-framework-community.634137.n4.nabble.com/ZF2-Database-configuration-tp4033733p4125018.html
Sent from the Zend Framework mailing list archive at Nabble.com.

-- 
List: [email protected]
Info: http://framework.zend.com/archives
Unsubscribe: [email protected]


Reply via email to