If using Doctrine you have probably come across the error message “SQLSTATE: Integrity constraint violation: 1048 Column ‘column_id’ cannot be null” at least once. This error occurs on doctrine persist when using a entity that both has mappings for a ordinary field and an Doctrine relation field (many-to-one, one-to-many) with the same name.
For a long time now i have thought about taking the “Zend PHP 5.3” certification exam but never got around to it.
Every time i come up with the idea to take the exam, i start with reading the php documentation “php.net” and the study guide that zend provides for free to help developers with their training.
I don’t know how many times i have read the “study guide” but every time i do it, i come across something new that makes me want to read more about it that often results in more knowledge about php in general. Even if you are not planning to take the exam i can really recommend everyone to read the “study guide”.
I have now purchased tickets to ConFoo and travel tickets from Sweden to Canada. The ConFoo conference starts February 29 – March 2, 2012. This will be my first IT conference and i can’t wait to travel there and listen to the experts talk about their field of work and what they recommend and how they solve different problems.
Never been good with “Design Patterns” since it sounds like something made up by IKEA and hence it would be lacking robustness, wont stand by itself and lack several important parts. Anyway since I like to mix my food with showing of my coding brilliance I, during lunch, started up a conversation about a specific code design of mine. I pointed out my use of Factory Pattern and he didn’t really understand me. I tried again by drawing pictures on a napkin but that didn’t help. I started to realize that we didn’t have the same point of view on the concept and he pointed me in a direction of literature and then I got stuck by pure interest. In order to get out of this I will hereby start document my progress.
In part 1, the following patterns are included.
I’m currently working in a project where we are using Zend Framework. And we wanted a translation function that we could call from any place in our code after the Bootstrap, Zend_Translate had been initialized.