Monthly Archives: April 2009
Basic forms with Symfony
Our goal is to create a little crud that contains 4 fields id (auto increment integer) name (varchar 50) value (double) type (0 or 1) What I will explain is how to change your fields in the form after creation … Continue reading
Symfony Form: unsetAllFieldsExcept()
When creating forms in symfony which extends from a Base (ORM) class, you sometimes do not need all fields that Propel/Doctrine generates for you. If you want to remove them you have several ways to do so. 1. Unset the … Continue reading
A few helpful PHP date methods
For a lot of people dates in PHP are an issue, and the PHP functions aren’t sufficient enough to do all converts you need. Therefore you find a few easy PHP date conversion methods. Feel free to add your own … Continue reading
PHP DOMDocument: Convert Array to Xml
Recently I start working on an export module to invoice applications. One of them uses a very simple xml structure (simple nodes without attributes etc.) and therefore I wanted to create this xml also in a very simple way: from … Continue reading
The grass is always greener… in the GooglePlex
Isn’t it always better to work for another company then the one you are working for now? The grass is always greener at the other side of the fence isn’t it? Well ironically enough, this is completely true for everybody … Continue reading
Useful Propel criteria methods and constants
I’m working with criteria quite often lately and must say it is a handy way of query writing. The only problem I have with criteria is that I don’t seem to find a simple overview (list) of the most important … Continue reading
Interesting People – part 1: Fabien Potencier
Nothing better to get inspiration from then a nice cup of Nespresso in the evening. We are working with Symfony for a few months (years) now and I was wondering earlier this day: Who are the guys that are able … Continue reading
What browser should you use?
Over the years we have tried to create websites that are displayed correctly on every browser, and sometimes we did manage to get it correct. But it isn’t that easy to get your application configured and coded so that all … Continue reading
Comments to the max
I was wondering around on the big wide scary web and saw a lot of badly written comment for code so I thought it shouldn’t be bad to give a little overview on how comment should be written, at least … Continue reading →