Category Archives: Framework

Symfony Live 2010 #sflive2010

On the 16-17th of February the Symfony Live 2010 conference will be held in Paris. A lot promising developers and evangelists will be speakers on this conference like: Fabien Potencier Jonathan Wage Dustin Whittle Stefan Koopmanschap … My colleague and … Continue reading

Posted in General, Symfony | Tagged , | 2 Comments

How to force symfony colors on windows with PuttyCyg?

Those of you who’re developing with symfony under windows will have noticed that, when running tasks in the command prompt, no colors are used. This is because the windows command prompt isn’t compatible with the color notation. Most of you … Continue reading

Posted in Framework, General, php, Symfony | Tagged , , , | 13 Comments

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

Posted in php, Symfony | Tagged , , | Leave a comment

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

Posted in General, php, Symfony | Tagged , , | 5 Comments

sfWidgetFormInputCheckbox unchecked bug

Ever tried to create a Symfony form with a check box input field, which by default should be unchecked ? No ? Well read on because it’s not that easy . This would be the code to print a check … Continue reading

Posted in General, php, Symfony | Tagged , , , | 13 Comments

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

Posted in General, php, Symfony | Tagged , , , , | 8 Comments

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

Posted in Framework, General, mysql, Symfony | Tagged , , , | 6 Comments

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

Posted in General, Symfony | Tagged , , , | 3 Comments

Symfony Forms Framework: Merge 2 forms

Recently I had to create a form to create/update users in our system. Some time ago we decided to save are users in 2 tables. The first table would contain all login information and the second his personal information. This … Continue reading

Posted in Framework, Languages, php, Symfony | Tagged , , , | 33 Comments

enhance your css

Writing css code isn’t that hard, it’s easy, clean but can be a pain in the ass to keep it readable when you have hundreds or maybe thousands of lines of code. When sticking to specific rules it can all … Continue reading

Posted in css, General, Javascript, Symfony | Tagged , , , | Leave a comment