<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Glagla Dot Org &#187; php5</title>
	<atom:link href="http://www.glagla.org/weblog/tag/php5/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.glagla.org/weblog</link>
	<description>Le blog sans prétentions d&#039;Olivier Mansour</description>
	<lastBuildDate>Fri, 20 Jan 2012 14:23:39 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>fr</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Astuce symfony : générer du cache depuis une task</title>
		<link>http://www.glagla.org/weblog/2010/04/07/astuce-symfony-generer-du-cache-depuis-une-task/</link>
		<comments>http://www.glagla.org/weblog/2010/04/07/astuce-symfony-generer-du-cache-depuis-une-task/#comments</comments>
		<pubDate>Wed, 07 Apr 2010 16:58:41 +0000</pubDate>
		<dc:creator>Olivier Mansour</dc:creator>
				<category><![CDATA[Info et autres geekeries]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[php5]]></category>
		<category><![CDATA[symfony]]></category>
		<category><![CDATA[symfony 1.4]]></category>

		<guid isPermaLink="false">http://www.glagla.org/weblog/?p=1212</guid>
		<description><![CDATA[Dans une tache symfony, il est tout à fait possible de créer un contexte comme si l&#8217;on venait d&#8217;un appel http.

$configuration = ProjectConfiguration::getApplicationConfiguration&#40;$options&#91;'application'&#93;, $options&#91;'env'&#93;, false&#41;;
$sf_context = sfContext::createInstance&#40;$configuration, 'raoul'&#41;;
sfContext::switchTo&#40;'raoul'&#41;;

Ceci fait, on pourrait imaginer appeler la fonction get_component présente dans PartialHelper.php histoire de générer le cache pour certains composants.

// charge le helper
$configuration-&#62;loadHelpers&#40;'Partial'&#41;;
get_component&#40;$moduleName, $componentName, $vars&#41;; // si le [...]<p>Article original publi&eacute; sur <a href="http://www.glagla.org">Glagla Dot Org</a>. Tous droits r&eacute;serv&eacute;s.</p>
<p><a href="http://www.glagla.org/weblog/2010/04/07/astuce-symfony-generer-du-cache-depuis-une-task/">Astuce symfony : générer du cache depuis une task</a></p>
]]></description>
		<wfw:commentRss>http://www.glagla.org/weblog/2010/04/07/astuce-symfony-generer-du-cache-depuis-une-task/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Mise à jour de la liste des contribution à symfony de PMSIpilot</title>
		<link>http://www.glagla.org/weblog/2010/03/25/mise-a-jour-de-la-liste-des-contribution-a-symfony-de-pmsipilot/</link>
		<comments>http://www.glagla.org/weblog/2010/03/25/mise-a-jour-de-la-liste-des-contribution-a-symfony-de-pmsipilot/#comments</comments>
		<pubDate>Thu, 25 Mar 2010 15:27:02 +0000</pubDate>
		<dc:creator>Olivier Mansour</dc:creator>
				<category><![CDATA[Info et autres geekeries]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[php5]]></category>
		<category><![CDATA[pmsipilot]]></category>
		<category><![CDATA[symfony]]></category>
		<category><![CDATA[symfony 1.2]]></category>
		<category><![CDATA[symfony 1.4]]></category>

		<guid isPermaLink="false">http://www.glagla.org/weblog/?p=1202</guid>
		<description><![CDATA[La liste des modestes contributions à symfony a été mise à jour sur pmsipilot.org. On a trouvé deux trois petites choses ;-) et proposé pas mal de patchs.
http://www.pmsipilot.org/2010/03/25/contributions-a-symfony/
Nous utilisons maintenant symfony 1.4 qui propulsera la prochaine version majeure de nos outils de pilotage.
Article original publi&#233; sur Glagla Dot Org. Tous droits r&#233;serv&#233;s.
Mise à jour de [...]<p>Article original publi&eacute; sur <a href="http://www.glagla.org">Glagla Dot Org</a>. Tous droits r&eacute;serv&eacute;s.</p>
<p><a href="http://www.glagla.org/weblog/2010/03/25/mise-a-jour-de-la-liste-des-contribution-a-symfony-de-pmsipilot/">Mise à jour de la liste des contribution à symfony de PMSIpilot</a></p>
]]></description>
		<wfw:commentRss>http://www.glagla.org/weblog/2010/03/25/mise-a-jour-de-la-liste-des-contribution-a-symfony-de-pmsipilot/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Migration d&#8217;un gros projet symfony de la version 1.2 à 1.4</title>
		<link>http://www.glagla.org/weblog/2010/03/05/migration-dun-gros-projet-symfony-de-la-version-1-2-a-1-4/</link>
		<comments>http://www.glagla.org/weblog/2010/03/05/migration-dun-gros-projet-symfony-de-la-version-1-2-a-1-4/#comments</comments>
		<pubDate>Fri, 05 Mar 2010 07:10:34 +0000</pubDate>
		<dc:creator>Olivier Mansour</dc:creator>
				<category><![CDATA[Info et autres geekeries]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[php5]]></category>
		<category><![CDATA[pmsipilot]]></category>
		<category><![CDATA[symfony]]></category>
		<category><![CDATA[symfony 1.2]]></category>
		<category><![CDATA[symfony 1.3]]></category>
		<category><![CDATA[symfony 1.4]]></category>

		<guid isPermaLink="false">http://www.glagla.org/weblog/?p=1163</guid>
		<description><![CDATA[Lors du symfony live 2010 (non, je ne vous ferais pas un compte rendu de symfony live 2010, il y en a de très bien déjà partout sur l&#8217;internet) beaucoup de personnes ont interpellées la core team au sujet des problèmes de compatibilité descendante avec symfony.
Récemment, dans ma société, j&#8217;ai migré un projet de symfony [...]<p>Article original publi&eacute; sur <a href="http://www.glagla.org">Glagla Dot Org</a>. Tous droits r&eacute;serv&eacute;s.</p>
<p><a href="http://www.glagla.org/weblog/2010/03/05/migration-dun-gros-projet-symfony-de-la-version-1-2-a-1-4/">Migration d&#8217;un gros projet symfony de la version 1.2 à 1.4</a></p>
]]></description>
		<wfw:commentRss>http://www.glagla.org/weblog/2010/03/05/migration-dun-gros-projet-symfony-de-la-version-1-2-a-1-4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Au boulot, moi, j&#8217;utilise Facebook !</title>
		<link>http://www.glagla.org/weblog/2010/02/08/au-boulot-moi-jutilise-facebook/</link>
		<comments>http://www.glagla.org/weblog/2010/02/08/au-boulot-moi-jutilise-facebook/#comments</comments>
		<pubDate>Mon, 08 Feb 2010 19:51:07 +0000</pubDate>
		<dc:creator>Olivier Mansour</dc:creator>
				<category><![CDATA[Info et autres geekeries]]></category>
		<category><![CDATA[elXHProfPlugin]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[php5]]></category>
		<category><![CDATA[pmsipilot]]></category>
		<category><![CDATA[symfony]]></category>
		<category><![CDATA[symfony 1.2]]></category>
		<category><![CDATA[xhprof]]></category>

		<guid isPermaLink="false">http://www.glagla.org/weblog/?p=1106</guid>
		<description><![CDATA[Mais c&#8217;est pour améliorer les performances de nos applications grâce à un plugin développé par un de mes brillants collègues : elXHProfPlugin.

Mon équipe l&#8217;utilise sans douleurs depuis plusieurs semaines et avec de nombreux gains à la clef. C&#8217;est la démocratisation du profiling qui, jusqu&#8217;alors, était plus réservé aux CP techniques tant sa mise en place, avec xdebug, [...]<p>Article original publi&eacute; sur <a href="http://www.glagla.org">Glagla Dot Org</a>. Tous droits r&eacute;serv&eacute;s.</p>
<p><a href="http://www.glagla.org/weblog/2010/02/08/au-boulot-moi-jutilise-facebook/">Au boulot, moi, j&#8217;utilise Facebook !</a></p>
]]></description>
		<wfw:commentRss>http://www.glagla.org/weblog/2010/02/08/au-boulot-moi-jutilise-facebook/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Un modeste conteneur de paramètres en PHP5</title>
		<link>http://www.glagla.org/weblog/2009/03/13/un-modeste-conteneur-de-parametres-en-php5/</link>
		<comments>http://www.glagla.org/weblog/2009/03/13/un-modeste-conteneur-de-parametres-en-php5/#comments</comments>
		<pubDate>Fri, 13 Mar 2009 16:19:55 +0000</pubDate>
		<dc:creator>Olivier Mansour</dc:creator>
				<category><![CDATA[Info et autres geekeries]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[php5]]></category>

		<guid isPermaLink="false">http://www.glagla.org/weblog/?p=717</guid>
		<description><![CDATA[Voici un code que j&#8217;utilise depuis un moment et que je viens d&#8217;introduire récemment dans un projet.
L&#8217;idée est de proposer à certaine classe de mon projet un conteneur de paramètre flexible et facilement utilisable par les développeurs.

&#60;?php
/**
 * @author omansour
 */
class ParameterHolder
&#123;
&#160;
  private $parameters=array&#40;&#41;;
&#160;
  /**
   * set un parametre, attention la [...]<p>Article original publi&eacute; sur <a href="http://www.glagla.org">Glagla Dot Org</a>. Tous droits r&eacute;serv&eacute;s.</p>
<p><a href="http://www.glagla.org/weblog/2009/03/13/un-modeste-conteneur-de-parametres-en-php5/">Un modeste conteneur de paramètres en PHP5</a></p>
]]></description>
		<wfw:commentRss>http://www.glagla.org/weblog/2009/03/13/un-modeste-conteneur-de-parametres-en-php5/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Pourquoi Symfony est-il si compliqué ?</title>
		<link>http://www.glagla.org/weblog/2009/02/17/pourquoi-symfony-est-il-si-complique/</link>
		<comments>http://www.glagla.org/weblog/2009/02/17/pourquoi-symfony-est-il-si-complique/#comments</comments>
		<pubDate>Tue, 17 Feb 2009 17:52:27 +0000</pubDate>
		<dc:creator>Olivier Mansour</dc:creator>
				<category><![CDATA[Info et autres geekeries]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[php5]]></category>
		<category><![CDATA[symfony]]></category>
		<category><![CDATA[symfony 1.2]]></category>

		<guid isPermaLink="false">http://www.glagla.org/weblog/?p=680</guid>
		<description><![CDATA[
Je travaille avec Symfony depuis la version 0.6.3, le framework a énormément évolué depuis en prenant un virage résolument professionnel. A vrai dire, je suis un peu bluffé par l&#8217;endurance de la &#171;&#160;core team&#160;&#187;, qui, à peine la 1.2 sortie, embraille sur la 1.3.

Selon moi, un tournant assez improbable et important a été effectué lors [...]<p>Article original publi&eacute; sur <a href="http://www.glagla.org">Glagla Dot Org</a>. Tous droits r&eacute;serv&eacute;s.</p>
<p><a href="http://www.glagla.org/weblog/2009/02/17/pourquoi-symfony-est-il-si-complique/">Pourquoi Symfony est-il si compliqué ?</a></p>
]]></description>
		<wfw:commentRss>http://www.glagla.org/weblog/2009/02/17/pourquoi-symfony-est-il-si-complique/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>A quoi sert un moteur de template pour PHP ?</title>
		<link>http://www.glagla.org/weblog/2009/01/23/a-quoi-sert-un-moteur-de-template-pour-php/</link>
		<comments>http://www.glagla.org/weblog/2009/01/23/a-quoi-sert-un-moteur-de-template-pour-php/#comments</comments>
		<pubDate>Fri, 23 Jan 2009 21:38:46 +0000</pubDate>
		<dc:creator>Olivier Mansour</dc:creator>
				<category><![CDATA[Info et autres geekeries]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[php5]]></category>
		<category><![CDATA[template]]></category>

		<guid isPermaLink="false">http://www.glagla.org/weblog/?p=663</guid>
		<description><![CDATA[En lisant des articles comme ça, je me demande bien pourquoi certains utilisent un moteur de template pour PHP. PHP n&#8217;est il pas lui même excellent dans ce domaine ?
Je suis sur qu&#8217;il me manque un élément dans ma réflexion, si vous l&#8217;avez, merci d&#8217;éclairer ma lanterne !
Article original publi&#233; sur Glagla Dot Org. Tous [...]<p>Article original publi&eacute; sur <a href="http://www.glagla.org">Glagla Dot Org</a>. Tous droits r&eacute;serv&eacute;s.</p>
<p><a href="http://www.glagla.org/weblog/2009/01/23/a-quoi-sert-un-moteur-de-template-pour-php/">A quoi sert un moteur de template pour PHP ?</a></p>
]]></description>
		<wfw:commentRss>http://www.glagla.org/weblog/2009/01/23/a-quoi-sert-un-moteur-de-template-pour-php/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Utiliser le système d&#8217;évènements de Symfony</title>
		<link>http://www.glagla.org/weblog/2009/01/16/utiliser-le-systeme-devenements-de-symfony/</link>
		<comments>http://www.glagla.org/weblog/2009/01/16/utiliser-le-systeme-devenements-de-symfony/#comments</comments>
		<pubDate>Fri, 16 Jan 2009 17:16:00 +0000</pubDate>
		<dc:creator>Olivier Mansour</dc:creator>
				<category><![CDATA[Info et autres geekeries]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[php5]]></category>
		<category><![CDATA[symfony]]></category>
		<category><![CDATA[symfony 1.2]]></category>

		<guid isPermaLink="false">http://www.glagla.org/weblog/?p=644</guid>
		<description><![CDATA[Le système d&#8217;évènements de Symfony est une avancée particulièrement intéressante dans le framework. Toutefois, la documentation officielle est un peu spartiate sur le domaine. Voici donc un exemple pratique plus didactique pour utiliser les évènements.
Le système d&#8217;évènement de Symfony est basé sur le motif de programmation observer qui est un grand classique du genre.
Tout d&#8217;abord, [...]<p>Article original publi&eacute; sur <a href="http://www.glagla.org">Glagla Dot Org</a>. Tous droits r&eacute;serv&eacute;s.</p>
<p><a href="http://www.glagla.org/weblog/2009/01/16/utiliser-le-systeme-devenements-de-symfony/">Utiliser le système d&#8217;évènements de Symfony</a></p>
]]></description>
		<wfw:commentRss>http://www.glagla.org/weblog/2009/01/16/utiliser-le-systeme-devenements-de-symfony/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>omCrossAppUrlPlugin (liens inter applications dans Symfony) est disponible sur le repository de Symfony</title>
		<link>http://www.glagla.org/weblog/2008/12/02/omcrossappurlplugin-est-disponible-sur-le-repository-de-symfony/</link>
		<comments>http://www.glagla.org/weblog/2008/12/02/omcrossappurlplugin-est-disponible-sur-le-repository-de-symfony/#comments</comments>
		<pubDate>Tue, 02 Dec 2008 19:42:24 +0000</pubDate>
		<dc:creator>Olivier Mansour</dc:creator>
				<category><![CDATA[Info et autres geekeries]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[php5]]></category>
		<category><![CDATA[plugin symfony]]></category>
		<category><![CDATA[symfony]]></category>
		<category><![CDATA[symfony 1.2]]></category>

		<guid isPermaLink="false">http://www.glagla.org/weblog/?p=551</guid>
		<description><![CDATA[Pour info, j&#8217;ai packagé un petit helper Symfony pour le dépot de plugins du projet. Il permet simplement de faire des liens entre applications d&#8217;un même projet. Il est compatible Symfony 1.2 uniquement.
Merci de vos retours si vous rencontrez des soucis avec ce helper.
http://www.symfony-project.org/plugins/omCrossAppUrlPlugin
Article original publi&#233; sur Glagla Dot Org. Tous droits r&#233;serv&#233;s.
omCrossAppUrlPlugin (liens inter [...]<p>Article original publi&eacute; sur <a href="http://www.glagla.org">Glagla Dot Org</a>. Tous droits r&eacute;serv&eacute;s.</p>
<p><a href="http://www.glagla.org/weblog/2008/12/02/omcrossappurlplugin-est-disponible-sur-le-repository-de-symfony/">omCrossAppUrlPlugin (liens inter applications dans Symfony) est disponible sur le repository de Symfony</a></p>
]]></description>
		<wfw:commentRss>http://www.glagla.org/weblog/2008/12/02/omcrossappurlplugin-est-disponible-sur-le-repository-de-symfony/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Liens inter-applications avec Symfony 1.2</title>
		<link>http://www.glagla.org/weblog/2008/11/10/liens-inter-applications-avec-symfony-12/</link>
		<comments>http://www.glagla.org/weblog/2008/11/10/liens-inter-applications-avec-symfony-12/#comments</comments>
		<pubDate>Mon, 10 Nov 2008 19:40:47 +0000</pubDate>
		<dc:creator>Olivier Mansour</dc:creator>
				<category><![CDATA[Info et autres geekeries]]></category>
		<category><![CDATA[cross app links]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[php5]]></category>
		<category><![CDATA[symfony]]></category>
		<category><![CDATA[symfony 1.2]]></category>

		<guid isPermaLink="false">http://www.glagla.org/weblog/?p=536</guid>
		<description><![CDATA[Après une première tentative peu concluante, voici un autre helper permettant de faire des liens entre différentes applications dans Symfony 1.2.

&#60;?php
/**
 * @author Olivier Mansour
 */
&#160;
/**
 * return an url for a given symfony application and an internal url
 *
 * @author Olivier Mansour
 *
 * @param string $appname
 * @param string $url
 * @param [...]<p>Article original publi&eacute; sur <a href="http://www.glagla.org">Glagla Dot Org</a>. Tous droits r&eacute;serv&eacute;s.</p>
<p><a href="http://www.glagla.org/weblog/2008/11/10/liens-inter-applications-avec-symfony-12/">Liens inter-applications avec Symfony 1.2</a></p>
]]></description>
		<wfw:commentRss>http://www.glagla.org/weblog/2008/11/10/liens-inter-applications-avec-symfony-12/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
	</channel>
</rss>

