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
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
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
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
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
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
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 →