Aug.22

Creating a Database With Symfony and Doctrine

Today, I created my first sample database using Symfony. In just a few steps I was able to have my db up and running. It was awesome!

First, I updated my db parameters in “parameters.yaml”. I was worried that this wouldn’t work because I’m using a Vagrant box (Laravel Homestead) and you don’t really see examples for this approach in the documentation. So, I just added theconfig items (db host, port, name, user, etc.) the same way I have them configured in Sequel Pro. It worked.

Here’s a sample parameters.yml:

Next, I created an Entity class.

Symfony

Jun.26

Star Wars Battlefront

I’m not a gamer anymore. I think I stopped playing video games after I started college. For a while I used to buy an Xbox to play Halo or Gears of War, finish the game, and get rid of it. Every now and then I miss it. Nowadays, I just see my little kids in awe when, at the age of 2 and 4, they are already proficient at playing Lego games like Star Wars, Lego Movie, or Mickey’s Castle of Illusion on their iPads.

Gaming,Star Wars

Apr.27

Hello world!

What better way for a coder than starting his blog with a “Hello World”. It’s just perfect! What you will find here is just stuff that I find interesting, not necessarily about programming. It could be photography, gadgets, or soccer, but in the end it could lean more towards programming and the like. In summary, this blog is just going to be about anything that catches my interest.

Cheers,

David.

Uncategorized