My Way to PHP: Day 24 of 75

So, I published yesterday’s post and another old one I had lying around.


I just finished the cookbook. Today, I’m probably not going to do much because I get my wisdom teeth extracted. So that’s good. I still want to read the best practices book and watch some talks on Symfony and then I’m finally gonna start my project. Yeah!


Updates Goals:

  • Learn Symfony2
  • Learn a bit more about MySQL
  • Write at least one web app using Symfony2 and its core components (templating, testing, forms, validation, security)
  • Watch one video per day on average

Progress status

Done

  • Read Symfony The Cookbook for Symfony [done]

In Progress

  • Watch one video per day on average [53 of 75]

My Way to PHP: Day 23 of 75

Day 23, still reading, still 50 pages.


The AppKernel class and Frontcontroller are surprisingly simple (at least the dev facing ones).

That’s pretty cool. Symfony comes with a SessionHandler which allows storing sessions in databases!

It looks so far pretty good designed. I just read the chapter about adding own commands and it just works like the rest.

Jesus, there’s even an EventDispatcher component.


Updates Goals:

  • Learn Symfony2
  • Learn a bit more about MySQL
  • Write at least one web app using Symfony2 and its core components (templating, testing, forms, validation, security)
  • Watch one video per day on average

Progress status

In Progress

  • Read Symfony The Cookbook for Symfony [367 of 446 pages]
  • Watch one video per day on average [53 of 75]

My Way to PHP: Day 22 of 75

Day 22! Just published yesterday’s notes and another backlog post. Today, I’m going to start with the cookbook. Like always 50 pages is my goal.

What’s funny / interesting is that I see that I’m soon starting with an other project but I’m a lot more excited to write the business logic / domain layer than doing much with Symfony itself. Nonetheless, I wanted to learn it!


Assetic for Asset management. Pretty neat, you can integrate all kinds of tools from minifying to optimizing pictures.


Installing 3th party bundles:

  1. Add to composer
  2. Add to AppKernel
  3. Do some configuration (optional)

Pretty cool and easy!


Growing a Language by Guy Steele

The first 10 minutes seems strange but they are important. A great format for this kind of talk!


Updates Goals:

  • Learn Symfony2
  • Learn a bit more about MySQL
  • Write at least one web app using Symfony2 and its core components (templating, testing, forms, validation, security)
  • Watch one video per day on average

Progress status

In Progress

  • Read Symfony The Cookbook for Symfony [68 of 446 pages]
  • Watch one video per day on average [53 of 75]

My Way to PHP: Day 21 of 75

Day 21, I just published yesterday’s notes and one of my backlog posts. My goal today is reading another 50 pages. That would mean page 153 which is just at the end of the chapter about validation.


Pretty cool, doctrine supports lifecycle callbacks!

Validation is also nifty. For once, it comes with tons of options out of the box (from the simple and expected ones like e-mail addresses and ranges, to more complex ones like isbn or cc schemas).

You can also write your own validators pretty easily!


I’m taking out i18n and caching from my goals. I just read through the chapters and I think that’s a nice skill to have but not a must have. Caching is probably the more important one but the interesting isn’t that great to go into depth, yet.


So done with that book. Really good book for a framework! Tomorrow, I’m going to start reading through the Cookbook, then the best practices and then the reading will slow down and I will start creating again, yeah!


Updates Goals:

  • Learn Symfony2
  • Learn a bit more about MySQL
  • Write at least one web app using Symfony2 and its core components (templating, testing, forms, validation, security)
  • Watch one video per day on average

Progress status

Done

  • Read Symfony2 the Book [done]

In Progress

  • Watch one video per day on average [52 of 75]