Posted: September 7th, 2009 | Author: Marc | Filed under: buzz | Tags: best practices, Doctrine, lime 2, sfdaycgn, slides, symfony, symfony day 09 | No Comments »
On Friday 04/09/09, the team of Interluitions organized in a stunning venue the Symfony Day event in Cologne / Germany where a bunch of talented symfony developers delivered highly interesting speeches. I was unfortunately not there but I had the pleasure to monitor the #sfdaycgn hashtag on twitter. As for every cool events, the speakers shared their slides and I thought it was cool to share them here!
I strongly encourage you to read those slides. It’s highly informational!
Best of all, you can follow these speakers on twitter: @n1k0, @xavierlacot, @jwage and @webmozart.
I’ll definitely try to be there next year.
Posted: August 20th, 2009 | Author: Marc | Filed under: easier | Tags: Doctrine, plugin, symfony 1.2, uvmcDoctrineTaskExtraPlugin | 4 Comments »
I just released another plugin for symfony 1.2! The plugin is named uvmcDoctrineTaskExtraPlugin and aims to provide some tasks to help you with Doctrine.
The task I created today is really simple but helps a lot when it comes to manage the files that doctrine created. I’m pretty sure you already had to delete all the models, forms, filters and table that doctrine generated because of a typo in your model’s name or because it suxxed. Well, now, thanks to this plugin, you’ll be able to do that in a second.
You simply have to run:
php symfony doctrine:delete-files-of-model myModelName
and it will automagically deletes every files related to this model.
Posted: July 8th, 2009 | Author: Marc | Filed under: easier | Tags: Doctrine, symfony 1.2, Tips, UTF-8 | 5 Comments »
Maybe you already had the problem to deal with multiple collations in your database. You want to have utf8 by default but you’re too lazy to fix ALL your schema.yml?
Well, this solution is for you:
Just add this function in your ProjectConfiguration class in “/config/ProjectConfiguration.class.php”
1
2
3
4
5
| public function configureDoctrine(Doctrine_Manager $manager)
{
$manager->setCollate('utf8_unicode_ci');
$manager->setCharset('utf8');
} |
Next time you’ll do a:
php symfony doctrine:build-all-reload
Your tables will be encoded in UTF-8, even in the plugins! :)
Recent Comments