Blog

Learn about Symfony 2, Doctrine 2 and other related stuff
Jan 3
Jan 3

Symfony Tips & Tricks V: Add Ajax Filters to the Pagination

It’s been a while since I had some time to write, but here it finally is: how to neatly filter your pagination with ajax. Now this requires some javascript which you may or may not understand. I tried to keep it simple for implementing, yet flexible for those of you who want to modify, tweak […]

  Read more
Nov 0
Nov 0

Symfony Tips & Tricks IV: Generalized & Ajax Pagination

For today’s post I’m assuming you’ve read the Jobeet Tutorial, or at least made it as far as Day 7. I’ll extend on the tutorial of pagination and add, with my own example, instructions on setting it up more generalized and adding ajax to the mix to load the pages on the spot.

  Read more
Nov 0
Nov 0

Symfony Tips & Tricks III: Generalizing and formatting forms

Symfony has extended support for forms, including formatting them. But by default Symfony generates them separately and not generalized. In this post I’ll talk about creating a global _form partial and how to use it to prevent code duplication, but still give frontend programmers and designers all the flexibility they need.

  Read more
Nov 0
Nov 0

Symfony Tips & Tricks II: Use gmail with swift mailer

Today it’s about e-mail. Almost every application uses e-mail, even if it’s just an activation e-mail for your account or link to reset a forgotten password. Normally you can easily use your hosting’s smtp server, but there are exceptions: for example if you need to use e-mail on a local machine or have a hosting provider that doesn’t allow or provide smtp access…

  Read more
Nov 0
Nov 0

Symfony Tips & Tricks II: Use gmail with swift mailer

Today it’s about e-mail. Almost every application uses e-mail, even if it’s just an activation e-mail for your account or link to reset a forgotten password. Normally you can easily use your hosting’s smtp server, but there are exceptions: for example if you need to use e-mail on a local machine or have a hosting provider that doesn’t allow or provide smtp access…

  Read more
Oct 0
Oct 0

Symfony Tips & Tricks I: Symfony I18n and messages extraction

Symfony claims to fully support multilingual sites (and it does), but I ran into some problems especially with Forms and the MVC pattern. While adding language support in the view is very easy and natural, adding language support on the controller side is very tricky (especially outside actions). Also forms are not supported properly. Fortunately I did your research for you and came up with some solutions…

  Read more
Oct 0
Oct 0

NetBeans over Eclipse for Symfony

It’s been a short stay for Eclipse. After I fell in love with using an IDE for my PHP development, I wanted more. I happened to cross some blog posts on Symfony and Symfony 2 (check it out, it’s awesome, but unfortunately not ready for production yet). And started wondering what IDE the Symfony developers use..

  Read more
Sep 0
Sep 0

Discovery of Symfony

Recently I started my own company (Solid Web Code) and, among others, went to my old employer to see if I could mean anything for them as a freelancer. I was astounded at the improvements they have made to their internal structures, especially also in the web development. I especially liked Symfony, which was the framework I had been waiting for. It’s easy to use, written in PHP, adaptable to any situation and in the right set of coding standards.

  Read more