[NEW] In-Depth Tutorial for Newcomers to the Framework

I have added a completely new tutorial to the documentation. It is aimed towards beginners with ZF2. While this could(!) be a replacement for the current QuickStart, I am not entirely convinced that it'd be a good step in doing so.

The QuickStart still delivers an awesome "5-Minute-Overview" of what ZF2 can do in a short amount of time. Quick and Dirty so to speak.

My in-depth-tutorial on the other hand tries to build the album example using best-practices all across the board. Proper dependency injection is explained as well as hydrators are mentioned, which are one of ZF new core-components. Furthermore I have not used TableGateway as it is too limiting to me but rather chose the full Zend\Db\Sql approach, which teaches users even more about hydration.


The code is tested and I haven't come across any errors. While it may be too verbose to some (mapper layer) I think that the explanations make up for it and the whole application becomes a solid piece of software.

Some questions that I have:

- Including Screenshots for the Directory Structure, every time a new file is added?
- any wishes as to make the views ... "more beautiful"?
- including screenshots for all "normal screens"? (this would require the above point)
- ANYTHING ELSE?
Showing the data in a HTML table made sense for the Album module but I'm not sure if it does for a list of blog posts. Perhaps something like this instead:

    <h1>Posts</h1>

    <?php foreach ($this->posts as $post): ?>
      <h2 id="post<?=$post->getId()?>"><?=$post->getTitle()?></h2>

      <?=$post->getText()?>
    <?php endforeach; ?>