Symfony

Rebuild Stacken with Symfony?

Today Stacken is built with Drupal. It works, but I'm not quite a Drupal fan. Not jet at least. I was thinking of rebuild Stacken and use Symfony instead. I will get a much better and faster website but... it takes time. I don't want to spend 20+ hours to make just a blog. With Wordpress you can make a blog in 20 minutes....

Still, it's a good practice to rebuild it with Symfony so I'm not really convinced. Maybe I'll have some time over this summer, maybe not =)

Symfony 2.0 looks interesting

I got an hint from Growyn that a new version of the framework Symfony will be released this year. It's called Symfony Reloded 2.0. It said that it 3 times faster than 1,4 and uses only half the memory.

I have been using Symfony framework for almost a year now and I'm really impressed by its features and its flexibility. I really look forward to the new version of the framework. As a matter a fact I will try the beta of 2.0 to a bigger project this summer. If you are interested in developing Symfony I can recommend you the Jobeet tutorial. It takes a while to read through but you'll learn what the framework can do for you.

Symfony gives me headache

Symfony really gives me headache sometimes. It took me an hour to figure it out this time. This was my problem:
When executing the command

php symfony doctrine:build --all

I got this error:

SQLSTATE[HY000]: General error: 1005 Can't create table

It may be that you are trying to set a relation between two tables but the references have different types. In Symfony 1.2 sfDoctrineGuardPlugin use a integer(4) (INTEGER) as primary key. In Symfony 1.4 sfDoctrineGuardPlugin use a integer(4) (BIGINT) as primary key.

It's a good thing to know and I hope you didn't spend that much time trying to solve this yourself. Blog about this article to help others.

Mitt första uppdrag på Growyn

Idag hade jag ett möte med David igen. Det var ett litet upptaktsmöte för att se hur det hade gått för mig i mitt försök att lära mig Symfoni. Sen visade han mig vad jag skulle jobba med den närmaste tiden samt gick igenom vissa praktiska delar. Innan jag började på Growyn så tyckte jag att jag hade en hyfsat bra koll på programmering men samtidigt visste jag att jag var långt i från en guru. Men nu när Growyn-porten har öppnats känner jag har massor att lära för att bli "hyfsat bra". David visade mig hur man arbetar i projekt med flera människor, hur man rapporterar buggar och hur man talar om för gruppen vilka uppdrag man själv försöker lösa.