Symfony Live 2010, now what ?

Yesterday was the second and last day of the Symfony Live's conferences (I'm not counting the trainings). So what was it all about ? Great talks were given, announcements were made (Nils Aderman, phpbb's lead developer suggested phpbb4 would run on top of Symfony 2), and most important (as as I'm...

The symfony 2009 advent calendar: "More with symfony"

I am very pleased to relay that news: the symfony 2009 advent calendar is now available on the symfony project website: read fabien's announcement read the first chapter It has been a tough work from all the people involved in this project (including me ;), and I'm really happy to see that it's...

Symfony Pot, le mercredi 21 octobre à Paris 8

Discuter de symfony entre geeks autour d'une (ou plusieurs) bière(s), ça vous tente ? Alors rendez-vous le mercredi 21 octobre au Hall's Beer, un bar a bière fort sympathique à la carte des bières fort conséquente, situé d'une manière fort convenante à Chatelet les Halles, 68 rue Saint Denis très...

Dynamic directory with sfValidatorFile

Say you have a form with a file upload (field image of your model for example), and that you want to save your file in a directory depending on its filename. For example, the file foobar.jpg shall be stored in fo/ob/foobar.jpg. All you have to do is implement a generateImageFilename method in your...

Help Symfony: fix one bug per day and win some gifts ! 1

Today is the first day of the "1 day / 1 ticket" Symfony event. Starting from today, each ticket you close (or help closing) from this list by either submitting a patch, submitting unit tests, etc will earn you points. At the end of the month, gifts are attributed to people with the most...

Speaking at Symfony Live 09

For those not following me on twitter (shame on you), I will be speaking about unit and functional testing in Symfony (with a tiny bit of continuous integration too) at Symfony Live 2009. I will not be alone since my workmate Hugo Hamon will be under the spotlights with me. Also, the talk will be...

Customizing actions in symfony's admin generator 7

A quick tip about symfony's admin generator: if you want to have a custom action, with the following generator.yml bit for example (actions prefixed with an underscore are builtin admin-gen actions): form: actions: _delete: ~ _cancel: ~ _save: ~ _save_and_add: ~ custom: ~ You can totally customize...

Symfony Live les 11 et 12 Juin 2009 6

Sensio Labs organise les 11 et 12 juin l'événement Symfony Live. Voilà tout est presque dit, cliquouillez le lien pour plus d'infos....

Automatically cd to a symfony project's root in vim

I made a little vimscript to automatically cd to the project root of a symfony project. It makes it easier for me to use the ctags :-) "------------------------------------------------------------------------------- " Description: Finds and cd to the symfony root of the project "...

How to render a partial in an action with symfony 1.1+ 2

[php] public function executeFoobar() { return $this->renderPartial('my_partial'); } This is an attempt to take over the first place on google for the query how to render partial action symfony....

Using the timestamp data type in doctrine fixtures 4

Please note that to be valid, you have to enclose the value within single quotes. For example, say you have the following (totally useless) schema: Foobar: columns: published_at: { type: timestamp } And you want to create fixtures for this table. You might go this way (please also note that symfony...

symfony api opensearch plugin

In case you didn't notice, as of today (well, yesterday really) the symfony's api documentation features an opensearch plugin with autocompletion, that you can use straight from the comfort of your favorite browser (given that it supports the opensearch standard, which is the case for at least...

symfony: use your own View class

The view class name in symfony is determined per-module, it means that you need to use a module-level configuration setting via the module.yml configuration file. Say you want to use the myView class to handle your view in the default module of your frontend application, create the file...

Multiple domains for one symfony project, the basics, config file version 7

When I published my post about using a single symfony application to serve multiple domains using a database to store the site-specific data, there was some people to complain about the extra query you get on each request. Right. Using a (cached) config file instead is not that hard as long as you...

Multiple domains for one symfony project, the basics 4

So let's say you run a car franchise, and you have several shops that you want to be able to manage through a web application. The application would be same for each shop, except you'd have to manage different sets of data and have specific assets for each shop. Fear not, this is very easy to...

sfConsolePlugin, a console plugin for symfony 2

I've just release the first beta of my first symfony plugin: sfConsolePlugin. This plugins provides a PHP shell, with tab-completion, history support, and symfony capabilities. To install and use it, you need symfony 1.2 and the readline extension. From your project root: $ ./symfony plugin:install...

Passing arbitrary parameters to a route in symfony

Parameters are an important parts of routes in symfony, and in any other routing framework for that matter, and everyone knows how to add mandatory or optional parameters to a route. But did you know you can also silently pass arbitrary parameters to a route from the routing definitions ? This may...

Now working at Sensio Labs

A quick post to tell (for those not knowing already) that I now work at Sensio Labs, creators of the symfony framework. Expect some symfony stuff to be posted regularly \o/ For those wondering, yes that means I'm actually dropping any previously started ZF related development for good, I'll post...

A specific stylesheet for each module 3

So this is the first post of the newly opened symfony category of this blog, and I want to make things clear right now: you (most likely) won't find (yet) any protip or high level symfony tutorials here, as I'm still in the process of learning symfony. The good news though is that I'm currently...

Il est bon ton café gringo 8

Un petit post rapide pour dire (pour ceux qui ne savaient pas déjà) que je bosse désormais chez Sensio Labs, les créateurs de symfony, depuis une bonne grosse semaine maintenant. J'aurai donc bientot plein de tips de noob à vous raconter sur symfony \o/...

- page 1 of 2

Top tags