Building a Zend Framework 2 Application

Rob Allen (07.Oct.2011 at 09:30)
Workshop at PHP North West 2011 (English - UK)

Rating: 5 of 5

Zend Framework has become one of the standard PHP frameworks since its release in 2007. In this workshop, Rob will explore the next version, Zend Framework 2. Starting with an overview of the new features, we will then look at how to build a ZF2 application.

We will build an ZF2 application from the ground up over the course of the tutorial. We’ll delve into the some of the more powerful features of the framework including the MVC system with its event manager and dependency injector, data access and forms. We will also look at the various extension points in ZF2 and how they can be leveraged to customise applications and will also look at how ZF2 differs from ZF1.

The topics that we will cover during the day are:
An introduction to ZF2, covering organisation, namespaces, MVC system & coding style
A look at the underlying ZF2 components: Zend\Stdlib, Autoloading, Dependency Injector & EventManager
Creating an application with Zend\Tool
Bootstrapping
Routing and controllers
Modelling with mappers to Zend\Db
Views
Form handling

Who are you?

Claim talk

By clicking this button you are declaring that you are the speaker responsible for it and a claim request will be sent to the administrator of the event.

If the claim is approved you will be able to edit the information for this talk.

Are you sure?

 
Comments closed.

Comments

Rating: 5 of 5

07.Oct.2011 at 19:11 by Antonios Pavlakis (25 comments)

That was a great tutorial. Thanks Rob :)

Really liked the EventManager - I'm looking forward to have a play and see how I can use it.
Dependency Injection is also cool, although I need to get my head around it before I can use it...

Thanks for including that skeleton ZF2 project, looking forward to have a play :)

Rating: 5 of 5

08.Oct.2011 at 11:17 by mark dalby (9 comments)

Excellent Tutorial!

Considering the current development state of ZF2 I think Rob did a fantastic job of showing us both the latest features and overall direction.

I literally knew nothing about ZF2 before his tutorial and now I am confident I could quite easily create an application, use the event manager and generate class maps.

The dependancy injection made my head a little fuzzy though, but we covered quite a lot in this session so that's no surprise.

Looking forward to seeing you next year!

Rating: 5 of 5

08.Oct.2011 at 13:08 by Ben Selby (8 comments) via api

Very interesting, enjoyable and educational tutorial. Since some of the code Rob was talking about was only 2-4 weeks old he was very knowledgeable about it and could explain it well and highlight areas that might change.

I would certainly recommend Rob for training.

Rating: 5 of 5

08.Oct.2011 at 14:37 by Matt Cockayne (12 comments)

An fantastic introduction to ZF2. It was that good it had me getting up at 3am the next morning as I had ideas whirling round my head that I needed to get typed up and contribute back.

Rating: 4 of 5

09.Oct.2011 at 16:51 by Anonymous

Fantastic tutorial. A lot to cover in a day and it would have been nice if the ZF2 code was in the right place for the exercises as I seemed to spend most of my time copying code about.

Very worth while and it was nice to find out some of the new features coming in ZF2. Rob did a fantastic job in his first ever full day tutorial and I look forward to getting the beta and having a play!

Rating: 5 of 5

09.Oct.2011 at 17:13 by Chris Ramsay (1 comments)

Thanks for a really informative tutorial. There was a lot of ground to cover and I think that this was done well. My only criticism - I wish there had been two days of tutorial!

Rating: 3 of 5

09.Oct.2011 at 20:51 by Pastey (14 comments)

I think Rob is an excellent tutor, there's no doubt about that aspect of it. However I don't think the tutorial he gave was properly suited to the audience it was given to. The class consisted of about 1/3 people who could go straight in at the "high end" level that Rob took the tutorial along at, about 1/3 that could just about keep up and 1/3 (including myself) that were out of their depth very quickly. This is absolutely *not* a criticism of Rob or his tutoring style. Given that what he was trying to teach hasn't even been pushed to Beta yet he was able to carry forth the theoretical side of his tutorial day with pretty much every single person understanding what he was telling them.

I think that what would however improve this tutorial would have been to walk the class through the exercises showing them how to practically do what he was explaining. The method of talking about theory and then leaving people to put that in to practise worked well for the 1/3 that could do it anyway, but pushed the third in the middle and left the bottom third sat there wondering what was going on. This also meant that those 1/3 were not able to leave with working examples on their own laptops.

Again though, given how bleeding edge this stuff is, I think Rob did a very good job.

Rating: 5 of 5

10.Oct.2011 at 10:19 by Steven Bakhtiari (8 comments)

Thanks for the introduction to Zend Framework 2, Rob! I'm looking forward to getting my hands on the first beta and getting the most out of the event management system.

Rating: 5 of 5

10.Oct.2011 at 22:12 by Dan Jones (11 comments)

Very informative introduction to ZF2. I get the feeling I'll be making a lot of use of that EventManager, with probably a dependency on the DI at some point in the future too!

Excellent presentation. Exactly what I was looking for out of this talk.

Well done!

Rating: 5 of 5

11.Oct.2011 at 03:20 by Mark Robinson (8 comments)

It has been difficult to keep up with all the recent changes to ZF2, but Rob managed to condense everything into a well structured, easily understood presentation. The tutorial exercises were challenging but this helped to consolidate my understanding.

All the new features of the framework look promising and I have a renewed optimism for the future of ZF2.

I found this session extremely beneficial - Thanks Rob.

Rating: 5 of 5

12.Oct.2011 at 09:16 by Chris Yallop (26 comments)

I came into the course not knowing a lot on ZF2. I've got some posts by MWOP sitting in my Instapaper account but hadn't found the time to read them so I knew I would get a lot out of this course and I certainly did.

I liked how the theory was dispelled before applying that in the exercises, despite knowing about the initial 5.3 compulsories like namespaces. When coming to the autoloader, DI and event manager topics they were essential.

I liked doing the exercise and enjoyed consulting on the solution with Alex who sat next to me. I did find it difficult to recall the ZF2 API method calls and parameter requirements and ordering when generating the solution though. Was thinking if the slides were also available on the flash drive I could have use them to complete the exercise within the time limit given. Also, I think it would have benefitted me at least knowing that the completion of the first exercise was not going to be reused or built upon for the second, since I got lost trying to generate the static class loader code at the end.

I liked the style of your teaching, very calming and love that honesty when you don't know the answer.

Overall, I definitely know I walked away with a positive experience of ZF2 and how far the framework has come. I'm looking forward to the beta but I keep thinking of switching to Symfony 2 as no release date has been announced yet on when it will finally be out to the masses.

Thanks Rob

Rating: 5 of 5

12.Oct.2011 at 09:16 by Chris Yallop (26 comments)

I came into the course not knowing a lot on ZF2. I've got some posts by MWOP sitting in my Instapaper account but hadn't found the time to read them so I knew I would get a lot out of this course and I certainly did.

I liked how the theory was dispelled before applying that in the exercises, despite knowing about the initial 5.3 compulsories like namespaces. When coming to the autoloader, DI and event manager topics they were essential.

I liked doing the exercise and enjoyed consulting on the solution with Alex who sat next to me. I did find it difficult to recall the ZF2 API method calls and parameter requirements and ordering when generating the solution though. Was thinking if the slides were also available on the flash drive I could have use them to complete the exercise within the time limit given. Also, I think it would have benefitted me at least knowing that the completion of the first exercise was not going to be reused or built upon for the second, since I got lost trying to generate the static class loader code at the end.

I liked the style of your teaching, very calming and love that honesty when you don't know the answer.

Overall, I definitely know I walked away with a positive experience of ZF2 and how far the framework has come. I'm looking forward to the beta but I keep thinking of switching to Symfony 2 as no release date has been announced yet on when it will finally be out to the masses.

Thanks Rob

Rating: 3 of 5

12.Oct.2011 at 13:43 by Anonymous

I learnt a lot about what ZF2 might be like, but the description of the tutorial on the website could have been better. I would say that a fairly detailed knowledge of ZF1 was absolutely essential, not just helpful. Also the version of PHP required needs to be absolutely specified (5.3 was not correct, I think it should be 5.3.3)

© Joind.in 2014