<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" version="2.0">

<channel>
	<title>Formation CakePHP</title>
	
	<link>http://www.formation-cakephp.com</link>
	<description>Le cadre de développement PHP et son utilisation au jour le jour.</description>
	<lastBuildDate>Mon, 09 Nov 2009 07:32:54 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>fr</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/FormationCakephp" type="application/rss+xml" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><item>
		<title>Authentification à double entrée avec CakePHP 1.3</title>
		<link>http://www.formation-cakephp.com/358/authentification-double-entree-cakephp-1-3</link>
		<comments>http://www.formation-cakephp.com/358/authentification-double-entree-cakephp-1-3#comments</comments>
		<pubDate>Fri, 06 Nov 2009 15:27:23 +0000</pubDate>
		<dc:creator>Pierre-Emmanuel Fringant</dc:creator>
				<category><![CDATA[authentification]]></category>
		<category><![CDATA[Auth]]></category>
		<category><![CDATA[Routes]]></category>

		<guid isPermaLink="false">http://www.formation-cakephp.com/?p=358</guid>
		<description>Nous faisons d&amp;#8217;une pierre deux coups avec cet article : d&amp;#8217;une part nous mettons à jour un ancien article sur l&amp;#8217;authentification en proposant une approche plus &amp;#8220;propre&amp;#8221;, d&amp;#8217;un point de vue POO, de l&amp;#8217;utilisation du composant Auth, et d&amp;#8217;autre part la sortie de la version 1.3.0-alpha et son nouveau système de gestion des Routes préfixées [...]&lt;img src="http://feeds.feedburner.com/~r/FormationCakephp/~4/df2bhKh_GaY" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://www.formation-cakephp.com/358/authentification-double-entree-cakephp-1-3/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Un plugin pour faciliter l’envoi d’emails</title>
		<link>http://www.formation-cakephp.com/337/plugin-envoi-emails</link>
		<comments>http://www.formation-cakephp.com/337/plugin-envoi-emails#comments</comments>
		<pubDate>Fri, 06 Nov 2009 08:30:19 +0000</pubDate>
		<dc:creator>Matthieu Sadouni</dc:creator>
				<category><![CDATA[Extension]]></category>
		<category><![CDATA[Component]]></category>
		<category><![CDATA[Email]]></category>
		<category><![CDATA[Plugin]]></category>

		<guid isPermaLink="false">http://www.formation-cakephp.com/?p=337</guid>
		<description>Ce plugin fournit un composant Mailer qui étend le composant Email du cœur de CakePHP. Ce composant Mailer peut alors être étendu pour définir des mailers propres à l&amp;#8217;application dans lesquels des méthodes se chargent de paramétrer les emails. Cela évite de surcharger les contrôleurs avec de nombreuses méthodes dans AppController et permet de facilement [...]&lt;img src="http://feeds.feedburner.com/~r/FormationCakephp/~4/q4S4J9WLLgY" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://www.formation-cakephp.com/337/plugin-envoi-emails/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Un plugin pour intéragir avec Twitter</title>
		<link>http://www.formation-cakephp.com/332/plugin-twitter</link>
		<comments>http://www.formation-cakephp.com/332/plugin-twitter#comments</comments>
		<pubDate>Wed, 29 Jul 2009 09:34:00 +0000</pubDate>
		<dc:creator>Pierre-Emmanuel Fringant</dc:creator>
				<category><![CDATA[Extension]]></category>
		<category><![CDATA[Plugin]]></category>
		<category><![CDATA[Twitter]]></category>

		<guid isPermaLink="false">http://www.formation-cakephp.com/?p=332</guid>
		<description>Nous avons profité de la demande d&amp;#8217;un client, qui souhaitait publier automatiquement un nouveau message sur Twitter après chaque publication d&amp;#8217;un article sur son site, pour créer un plugin capable d&amp;#8217;intéragir avec le plus connu des services de micro-blogging.

1. Installation

Le code source du plugin Twitter est hébergé sur Github.com : 
http://github.com/kalt/twitter/tree/master

Pour l&amp;#8217;installer, nous tapons la [...]&lt;img src="http://feeds.feedburner.com/~r/FormationCakephp/~4/wN1wls2OU-Y" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://www.formation-cakephp.com/332/plugin-twitter/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Rendre un plugin traduisible</title>
		<link>http://www.formation-cakephp.com/325/rendre-un-plugin-traduisible</link>
		<comments>http://www.formation-cakephp.com/325/rendre-un-plugin-traduisible#comments</comments>
		<pubDate>Thu, 23 Jul 2009 11:42:41 +0000</pubDate>
		<dc:creator>Pierre-Emmanuel Fringant</dc:creator>
				<category><![CDATA[Internationalisation]]></category>
		<category><![CDATA[I18n]]></category>
		<category><![CDATA[L10n]]></category>
		<category><![CDATA[Localisation]]></category>
		<category><![CDATA[Plugin]]></category>

		<guid isPermaLink="false">http://www.formation-cakephp.com/?p=325</guid>
		<description>L&amp;#8217;une des conditions préalables à l&amp;#8217;adoption par le plus grand nombre d&amp;#8217;un plugin CakePHP, c&amp;#8217;est la possibilité de pouvoir le traduire dans n&amp;#8217;importe quelle langue. Voyons comment préparer un plugin à son internationalisation.
1. La méthode __d()
Nous avons vu dans des précédents articles l&amp;#8217;utilisation des fonctions gettext __() et __n(). Il existe une troisième fonction, __d() [...]&lt;img src="http://feeds.feedburner.com/~r/FormationCakephp/~4/AU9BVruWGxM" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://www.formation-cakephp.com/325/rendre-un-plugin-traduisible/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Un plugin de formulaire de contact</title>
		<link>http://www.formation-cakephp.com/301/un-plugin-de-formulaire-de-contact</link>
		<comments>http://www.formation-cakephp.com/301/un-plugin-de-formulaire-de-contact#comments</comments>
		<pubDate>Fri, 05 Jun 2009 15:45:12 +0000</pubDate>
		<dc:creator>Matthieu Sadouni</dc:creator>
				<category><![CDATA[Méthodologie]]></category>
		<category><![CDATA[Email]]></category>
		<category><![CDATA[Formulaire]]></category>
		<category><![CDATA[Plugin]]></category>

		<guid isPermaLink="false">http://www.formation-cakephp.com/?p=301</guid>
		<description>Ce plugin fournit un formulaire de contact basique qui vous envoie les informations du contact par email, et les stocke dans la base de données au cas où un problème survienne lors de l&amp;#8217;envoi de l&amp;#8217;email. Il reprend le principe d&amp;#8217;un précédent article de Formation CakePHP.

Il est disponible sur github : http://github.com/msadouni/cakephp-contact-plugin/tree/master

Une fois l&amp;#8217;email envoyé, [...]&lt;img src="http://feeds.feedburner.com/~r/FormationCakephp/~4/FdmyGsWzy4k" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://www.formation-cakephp.com/301/un-plugin-de-formulaire-de-contact/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Le piège du counterCache : créons un behavior !</title>
		<link>http://www.formation-cakephp.com/283/le-piege-du-countercache-creons-un-behavior</link>
		<comments>http://www.formation-cakephp.com/283/le-piege-du-countercache-creons-un-behavior#comments</comments>
		<pubDate>Fri, 05 Jun 2009 15:41:22 +0000</pubDate>
		<dc:creator>Aurélien Vairet</dc:creator>
				<category><![CDATA[Méthodologie]]></category>
		<category><![CDATA[Behavior]]></category>
		<category><![CDATA[belongsTo]]></category>
		<category><![CDATA[counterCache]]></category>
		<category><![CDATA[Modèle]]></category>

		<guid isPermaLink="false">http://www.formation-cakephp.com/?p=283</guid>
		<description>Dans le tutoriel précédent : Mise en place du counterCache : un piège à éviter, nous avions vu comment mettre en place le counterCache entre deux modèles associés en belongsTo et comment mettre à jour le compteur d’origine, lorsqu’un enregistrement change de parent.

L’astuce consistait à placer notre logique dans les callbacks beforeSave et afterSave du [...]&lt;img src="http://feeds.feedburner.com/~r/FormationCakephp/~4/rxCN691XgZw" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://www.formation-cakephp.com/283/le-piege-du-countercache-creons-un-behavior/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Article dans PHPSolutions n°33</title>
		<link>http://www.formation-cakephp.com/276/article-cakphp-phpsolutions</link>
		<comments>http://www.formation-cakephp.com/276/article-cakphp-phpsolutions#comments</comments>
		<pubDate>Mon, 04 May 2009 11:04:17 +0000</pubDate>
		<dc:creator>Pierre-Emmanuel Fringant</dc:creator>
				<category><![CDATA[Publication]]></category>

		<guid isPermaLink="false">http://www.formation-cakephp.com/?p=276</guid>
		<description>Nous avons le plaisir d&amp;#8217;annoncer la publication d&amp;#8217;un dossier sur les bases de CakePHP, co-écrit avec Pierre Martin, dans le n°33 du magazine PHPSolutions. Cet article de 8 pages présente le framework en général et récapitule les points forts de CakePHP.

Nous profitons de cette occasion pour remercier la communauté francophone du framework, très active et [...]&lt;img src="http://feeds.feedburner.com/~r/FormationCakephp/~4/lmo_2d8x5i4" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://www.formation-cakephp.com/276/article-cakphp-phpsolutions/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Plugin de moteur de recherche multi-modèles</title>
		<link>http://www.formation-cakephp.com/269/plugin-moteur-recherche-interne-multi-modeles</link>
		<comments>http://www.formation-cakephp.com/269/plugin-moteur-recherche-interne-multi-modeles#comments</comments>
		<pubDate>Thu, 30 Apr 2009 15:39:10 +0000</pubDate>
		<dc:creator>Pierre-Emmanuel Fringant</dc:creator>
				<category><![CDATA[Extension]]></category>
		<category><![CDATA[Moteur de recherche]]></category>
		<category><![CDATA[Plugin]]></category>

		<guid isPermaLink="false">http://www.formation-cakephp.com/?p=269</guid>
		<description>Nous vous proposons un plugin pour intégrer un moteur de recherche interne multi-modèles à une application CakePHP. Ses caractéristiques sont les suivantes :

    Utilise les index Full-Text de MySQL.
    Facile à installer : il suffit de télécharger les fichiers et de créer une seule table, quel que soit le [...]&lt;img src="http://feeds.feedburner.com/~r/FormationCakephp/~4/-PTYK9QI-B4" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://www.formation-cakephp.com/269/plugin-moteur-recherche-interne-multi-modeles/feed</wfw:commentRss>
		<slash:comments>30</slash:comments>
		</item>
		<item>
		<title>Plugin de tags multi-modèles</title>
		<link>http://www.formation-cakephp.com/259/plugin-tags-multi-modeles</link>
		<comments>http://www.formation-cakephp.com/259/plugin-tags-multi-modeles#comments</comments>
		<pubDate>Thu, 23 Apr 2009 10:12:11 +0000</pubDate>
		<dc:creator>Pierre-Emmanuel Fringant</dc:creator>
				<category><![CDATA[Extension]]></category>
		<category><![CDATA[Plugin]]></category>
		<category><![CDATA[Tags]]></category>

		<guid isPermaLink="false">http://www.formation-cakephp.com/?p=259</guid>
		<description>Nous vous proposons un plugin permettant d&amp;#8217;associer des tags à un ou plusieurs Modèles d&amp;#8217;une application CakePHP. Nous avons souhaité que ce plugin ait les caractéristiques suivantes :

    Facile à installer : il suffit de télécharger le dossier et le placer dans le répertoire {app}/plugins, puis de créer deux tables quel que [...]&lt;img src="http://feeds.feedburner.com/~r/FormationCakephp/~4/SDpt149abGs" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://www.formation-cakephp.com/259/plugin-tags-multi-modeles/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Quelques astuces pour la génération des requêtes SQL</title>
		<link>http://www.formation-cakephp.com/254/astuces-requetes-sql</link>
		<comments>http://www.formation-cakephp.com/254/astuces-requetes-sql#comments</comments>
		<pubDate>Mon, 20 Apr 2009 10:02:11 +0000</pubDate>
		<dc:creator>Pierre-Emmanuel Fringant</dc:creator>
				<category><![CDATA[Méthodologie]]></category>
		<category><![CDATA[Optimisation]]></category>

		<guid isPermaLink="false">http://www.formation-cakephp.com/?p=254</guid>
		<description>Nous allons voir comment contrôler finement les requêtes SQL préparées par CakePHP sans nous écarter des méthodes habituelles, c&amp;#8217;est à dire le passage d&amp;#8217;un tableau d&amp;#8217;options à la méthode Model::find();.

Exclure des enregistrements

Si le paramètre d&amp;#8217;exclusion est unique, le signe différent &amp;#8216;!=&amp;#8216; doit se trouver dans la partie &amp;#8216;champ&amp;#8217; de la condition et non dans la [...]&lt;img src="http://feeds.feedburner.com/~r/FormationCakephp/~4/Yc_Msfq96Y8" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://www.formation-cakephp.com/254/astuces-requetes-sql/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
