-- intellix <[email protected]> wrote
(on Wednesday, 30 November 2011, 01:22 PM -0800):
> 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.

Listen, I know you're frustrated, but that's no reason to spin unfounded
conspiracy theories.

The fact is, ZF2 is still in fairly early stages of development, and the
MVC is changing every other week or so in some way or another. Ralph is
currently working on a proposal to make the DI/Service Locator story
simpler and easier to explain, which should help a fair bit.
Additionally, there's a lot of discussion happening on IRC and between
contributors to identify what works, what doesn't, and how to tell a
consistent and relatively simple story around the MVC.

Once we get some of these details ironed out, yes, I think a
diagram/flow chart is a great idea, to better show the various stages of
an application and how the parts interact.

> 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/)

That's definitely a good one. 

BTW, I collected a number of resources in a bit.ly bundle:

    http://bit.ly/rzOOge

If you come across other resources, let me know, and I'll add them to
that list.

> 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. 

-- 
Matthew Weier O'Phinney
Project Lead            | [email protected]
Zend Framework          | http://framework.zend.com/
PGP key: http://framework.zend.com/zf-matthew-pgp-key.asc

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


Reply via email to