Category Archives: php

How to use a symfony 1 layout from a different directory

In symfony 1 it is possible to have different layouts for an application. But they all have to be put into the directory ‘myproject/apps/frontend/templates/’. But what if you want to use a layout from another location? Assume you make a … Continue reading

Posted in General, Layout, php, Tips and Tricks | Tagged , , , | Leave a comment

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

the future of web development

It is always hard to tell what the future will bring, especially in a world where everything is evolving so quickly. But it’s always good to know what libraries, languages or applications will influence the way we work or the … Continue reading

Posted in General, html, Javascript, php | Tagged , , , , | 1 Comment

Mantis in Eclipse with Mylyn

This is a post especially for those who use Mantis as a bug tracker software and Eclipse as development software. For our PHP and JAVA development we do all the programming in Eclipse and wouldn’t it be easy if Eclipse … Continue reading

Posted in General, Languages, php | Tagged , , , , | 6 Comments

TestFest 2009

Tomorrow on the 9th of may an event called ‘PHP TestFest 2009′ will take place in the offices of Combell. (visit the website) What is TestFest you ask? The TestFest is an event that aims at improving the code coverage … Continue reading

Posted in Events, General, php | Tagged , , , , , , | 1 Comment

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

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

Posted in General, Languages, php | Tagged , , , | Leave a comment

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