<?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"
	>

<channel>
	<title>Cherry on the...</title>
	<atom:link href="http://cherryonthe.popnews.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://cherryonthe.popnews.com</link>
	<description>un blog sur cakePHP / a blog about cakePHP</description>
	<pubDate>Tue, 01 Apr 2008 08:37:28 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5</generator>
	<language>en</language>
			<item>
		<title>Interesting posts in the cakePHP blogosphere</title>
		<link>http://cherryonthe.popnews.com/2008/04/01/interesting-posts-in-the-cakephp-blogosphere/</link>
		<comments>http://cherryonthe.popnews.com/2008/04/01/interesting-posts-in-the-cakephp-blogosphere/#comments</comments>
		<pubDate>Tue, 01 Apr 2008 08:37:28 +0000</pubDate>
		<dc:creator>Guillaume</dc:creator>
		
		<category><![CDATA[ailleurs]]></category>

		<category><![CDATA[cakephp]]></category>

		<guid isPermaLink="false">http://cherryonthe.popnews.com/2008/04/01/interesting-posts-in-the-cakephp-blogosphere/</guid>
		<description><![CDATA[Everytime I quote a new blog about cakePHP, it stops posting afterwards&#8230; I hope the guys at LoadStr keep on publishing interesting (though a bit allusive) tidbits about the way they developp for their customers with cake. Recent posts include svn, seo (well, published some weeks before mine&#8230;) and tuning the acl database tables.
Andy Dawson [...]]]></description>
			<content:encoded><![CDATA[<p>Everytime I quote a new blog about cakePHP, it stops posting afterwards&#8230; I hope the guys at <a href="http://blog.loadsys.com">LoadStr</a> keep on publishing interesting (though a bit allusive) tidbits about the way they developp for their customers with cake. Recent posts include <a href="http://blog.loadsys.com/2008/03/10/seo-for-cakephp-websites/">svn</a>, seo (well, published some weeks before mine&#8230;) and <a href="http://blog.loadsys.com/2008/03/19/cakephp-12-tuning-the-acl-via-mysql/">tuning the acl database tables</a>.</p>
<p><a href="http://www.ad7six.com/">Andy Dawson</a> aka ad7six goes well beyond his previous <a href="http://bakery.cakephp.org/articles/view/rebake-all-your-admin-views-in-one-call">article </a>on the bakery containing a script to bake the whole admin views in one call with a <a href="http://www.ad7six.com/MiBlog/AdminBackendBake">complete set</a> of templates, bake script helpers and controller abstract methods introducing filters in index view, amongs others. A bit too much for me, but that will surely be a good source of inspiration if you plan on personnalizing your baked templates (I do).</p>
]]></content:encoded>
			<wfw:commentRss>http://cherryonthe.popnews.com/2008/04/01/interesting-posts-in-the-cakephp-blogosphere/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Flash map of the world</title>
		<link>http://cherryonthe.popnews.com/2008/03/27/flash-map-of-the-world/</link>
		<comments>http://cherryonthe.popnews.com/2008/03/27/flash-map-of-the-world/#comments</comments>
		<pubDate>Thu, 27 Mar 2008 13:25:04 +0000</pubDate>
		<dc:creator>Guillaume</dc:creator>
		
		<category><![CDATA[ailleurs]]></category>

		<category><![CDATA[flash]]></category>

		<guid isPermaLink="false">http://cherryonthe.popnews.com/2008/03/27/flash-map-of-the-world/</guid>
		<description><![CDATA[My friend Tranou has spent way too long doing an interactive map of the world, with official UN country codes for all the countries, etc, with colors, As he is a nice guy, he&#8217;s offering his raw map as a zip archive so you can build upon it. It&#8217;s here.
]]></description>
			<content:encoded><![CDATA[<p>My friend <a href="http://blog.fruitdudragon.com">Tranou</a> has spent way too long doing an <a href="http://blog.fruitdudragon.comtb.php?id=56">interactive map of the world</a>, with official UN country codes for all the countries, etc, with colors, As he is a nice guy, he&#8217;s offering his raw map as a zip archive so you can build upon it. It&#8217;s <a href="http://blog.fruitdudragon.com/images/iso_world.zip">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://cherryonthe.popnews.com/2008/03/27/flash-map-of-the-world/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Basic SEO and CakePHP (part 1)</title>
		<link>http://cherryonthe.popnews.com/2008/03/15/basic-seo-and-cakephp-part-1/</link>
		<comments>http://cherryonthe.popnews.com/2008/03/15/basic-seo-and-cakephp-part-1/#comments</comments>
		<pubDate>Sat, 15 Mar 2008 15:20:15 +0000</pubDate>
		<dc:creator>Guillaume</dc:creator>
		
		<category><![CDATA[cakephp]]></category>

		<category><![CDATA[seo]]></category>

		<guid isPermaLink="false">http://cherryonthe.popnews.com/2008/03/15/basic-seo-and-cakephp-part-1/</guid>
		<description><![CDATA[(in English, for a change)
Pretty URLs
CakePHP easily produces URLS as http://www.mysite.com/post/view/456. Not too bad. But using the title of the post in the URL can slightly improve the relevancy of the link as seen by Google or other robots. For this, simply use the &#8220;Sluggable&#8221; Behaviours from Mariano Iglesias. It&#8217;s here. It helps generating string [...]]]></description>
			<content:encoded><![CDATA[<p>(in English, for a change)</p>
<h3>Pretty URLs</h3>
<p>CakePHP easily produces URLS as http://www.mysite.com/post/view/456. Not too bad. But using the title of the post in the URL can slightly improve the relevancy of the link as seen by Google or other robots. For this, simply use the &#8220;Sluggable&#8221; Behaviours from Mariano Iglesias. It&#8217;s <a href="http://bakery.cakephp.org/articles/view/slug-behavior" title="Sluggable Behaviour">here</a>. It helps generating string as &#8220;my-post-about-sea-and-shells&#8221; from the fields you want in your model. Very handy. A little bit of route tickering and you&#8217;ll have URLs such as http://www.mysite.com/post/view/my-post-about-sea-and-shells/
<div class="codesnip-container" >
<div class="codesnip" style="font-family: monospace;">
<ol>
<li class="li1">
<div class="de1">Router::<span class="me2">connect</span><span class="br0">&#40;</span><span class="st0">&#8216;/posts/:id/:slug&#8217;</span>, <a href="http://www.php.net/array"><span class="kw3">array</span></a><span class="br0">&#40;</span><span class="st0">&#8216;controller&#8217;</span> =&gt; <span class="st0">&#8216;posts&#8217;</span>, <span class="st0">&#8216;action&#8217;</span> =&gt; <span class="st0">&#8216;view&#8217;</span><span class="br0">&#41;</span>, <a href="http://www.php.net/array"><span class="kw3">array</span></a><span class="br0">&#40;</span> &nbsp; <span class="st0">&#8216;pass&#8217;</span> =&gt; <a href="http://www.php.net/array"><span class="kw3">array</span></a><span class="br0">&#40;</span><span class="st0">&#8216;id&#8217;</span>, <span class="st0">&#8217;slug&#8217;</span><span class="br0">&#41;</span>, &nbsp; <span class="st0">&#8216;id&#8217;</span> =&gt; <span class="st0">&#8216;[<span class="es0">\d</span>]+&#8217;</span> <span class="br0">&#41;</span><span class="br0">&#41;</span>;</div>
</li>
</ol>
</div>
</div>
<p>quick tip : if you want your content to appear in Google News, the URLs of each post must include a three digit number. So you&#8217;d better leave the id as it is (and even pad it with extra zeros).</p>
<h3>keywords and description</h3>
<p>Yes, these are basic concerns: it&#8217;s better if each page has its own keywords and description.  It may be overlooked by some, but the Google Webmaster Tools will still consider it as a flaw if many of your pages share the same description sentence. As to keywords, they are not taken into account by most robots, but they may be used by some links directories. In CakePHP, the layout (where HTML headers and the keywords and description tags are) is shared between pages (or at least sections, depending on your design), and we can&#8217;t imagine changing layout on a per-page basis&#8230;  There&#8217;s one obvious function in the HtmlHelper that  can be used to add metatags to your page. Here is how:
<div class="codesnip-container" >
<div class="codesnip" style="font-family: monospace;">
<ol>
<li class="li1">
<div class="de1"><span class="co1">// /views/news/view.php</span></div>
</li>
<li class="li1">
<div class="de1"><a href="http://www.php.net/echo"><span class="kw3">echo</span></a> <span class="re0">$html</span>-&amp;gt;meta<span class="br0">&#40;</span> &nbsp; &nbsp;<span class="st0">&#8216;description&#8217;</span>, &nbsp; &nbsp;<span class="re0">$news</span><span class="br0">&#91;</span><span class="st0">&#8216;News&#8217;</span><span class="br0">&#93;</span><span class="br0">&#91;</span><span class="st0">&#8216;title&#8217;</span><span class="br0">&#93;</span>.<span class="st0">&#8216; : &#8216;</span>.<span class="re0">$text</span>-&amp;gt;trim<span class="br0">&#40;</span><span class="re0">$news</span><span class="br0">&#91;</span><span class="st0">&#8216;News&#8217;</span><span class="br0">&#93;</span><span class="br0">&#91;</span><span class="st0">&#8216;body&#8217;</span><span class="br0">&#93;</span>, <span class="nu0">50</span><span class="br0">&#41;</span>, &nbsp; &nbsp;<a href="http://www.php.net/array"><span class="kw3">array</span></a><span class="br0">&#40;</span><span class="st0">&#8216;type&#8217;</span> =&amp;amp;&amp;gt; <span class="st0">&#8216;description&#8217;</span><span class="br0">&#41;</span>, &nbsp; &nbsp;<span class="kw2">false</span><span class="br0">&#41;</span>;<span class="co1">// &#8230; code to display the news body</span></div>
</li>
</ol>
</div>
</div>
<p>The last parameter indicates whether you want the generated code to appear inline or between the  head tags where you have echoed the $scripts_for_layout var. By digging into the source code, I found that the method addScript from the view class is used to achieve that, using the $scripts_for_layout variable. So it can be used directly, but to me the meta method is the obvious choice (so obvious it&#8217;s not even documented for the moment in the CakePHP documentation). </p>
<h3>title</h3>
<p>The title of the page is very important. Setting it on a per-page basis in CakePHP is easy. You just have to set it in your action (&#8221;view&#8221; or &#8220;index&#8221;) using data from the model. The variable to set is &#8220;pageTitle&#8221;.
<div class="codesnip-container" >
<div class="codesnip" style="font-family: monospace;">
<ol>
<li class="li1">
<div class="de1"><span class="re0">$this</span>-&amp;gt;pageTitle = <span class="re0">$post</span><span class="br0">&#91;</span><span class="st0">&#8216;Post&#8217;</span><span class="br0">&#93;</span><span class="br0">&#91;</span><span class="st0">&#8216;title&#8217;</span><span class="br0">&#93;</span>;</div>
</li>
</ol>
</div>
</div>
<p> (to be continued&#8230; feel free to ad tips in the comments, of course!)</p>
]]></content:encoded>
			<wfw:commentRss>http://cherryonthe.popnews.com/2008/03/15/basic-seo-and-cakephp-part-1/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Moving to CakePHP</title>
		<link>http://cherryonthe.popnews.com/2008/03/12/moving-to-cakephp/</link>
		<comments>http://cherryonthe.popnews.com/2008/03/12/moving-to-cakephp/#comments</comments>
		<pubDate>Tue, 11 Mar 2008 22:06:52 +0000</pubDate>
		<dc:creator>Guillaume</dc:creator>
		
		<category><![CDATA[ailleurs]]></category>

		<category><![CDATA[cakephp]]></category>

		<guid isPermaLink="false">http://cherryonthe.popnews.com/2008/03/12/moving-to-cakephp/</guid>
		<description><![CDATA[Un blog anglophone sur lequel je viens de tomber : Moving to Cake. Le point de départ est intéressant :


153,235 Physical Source Lines of Code
912 PHP Files
394 Classes
1,330 HTML Files
Project CVS Checkout Size: 438M (includes images directories)
135 Database Tables
7 Databases


Gulp&#8230; POPnews, c&#8217;est tout petit par rapport. En revanche, ça me fait penser à un certain projet [...]]]></description>
			<content:encoded><![CDATA[<p>Un blog anglophone sur lequel je viens de tomber : <a href="http://movingtocake.blogspot.com/">Moving to Cake</a>. Le <a href="http://movingtocake.blogspot.com/2008/01/plan.html">point de départ</a> est intéressant :<br />
<blockquote>
<ul>
<li>153,235 Physical Source Lines of Code</li>
<li>912 PHP Files</li>
<li>394 Classes</li>
<li>1,330 HTML Files</li>
<li>Project CVS Checkout Size: 438M (includes images directories)</li>
<li>135 Database Tables</li>
<li>7 Databases</li>
</ul>
</blockquote>
<p>Gulp&#8230; POPnews, c&#8217;est tout petit par rapport. En revanche, ça me fait penser à un certain projet pour le boulot qui occupe correctement mes journées et dont on a pratiquement abandonné l&#8217;idée de le refaire, même avec le plus beau des frameworks&#8230; A la différence que le projet dont eux partent était tout de même codé à l&#8217;aide d&#8217;un framework maison pseudo-MVC. Je leur souhaite bien du courage&#8230; Et vous, quelle est votre expérience en matière de portage vers CakePHP d&#8217;une application existante ?</p>
]]></content:encoded>
			<wfw:commentRss>http://cherryonthe.popnews.com/2008/03/12/moving-to-cakephp/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Il y a une route</title>
		<link>http://cherryonthe.popnews.com/2008/03/04/il-y-a-une-route/</link>
		<comments>http://cherryonthe.popnews.com/2008/03/04/il-y-a-une-route/#comments</comments>
		<pubDate>Tue, 04 Mar 2008 09:29:54 +0000</pubDate>
		<dc:creator>Guillaume</dc:creator>
		
		<category><![CDATA[ailleurs]]></category>

		<category><![CDATA[cakephp]]></category>

		<guid isPermaLink="false">http://cherryonthe.popnews.com/2008/03/04/il-y-a-une-route/</guid>
		<description><![CDATA[Felix Geisendörfer aka the_undefined a publié hier une petite présentation très utile concernant les derniers ajouts à la gestion des routes sous CakePHP. Il faut utiliser la dernière version du SVN pour en profiter, mais j&#8217;ai déjà pu expérimenter les bienfaits du reverse routing : en gros, quelle que soit le schéma d&#8217;URL que vous [...]]]></description>
			<content:encoded><![CDATA[<p>Felix Geisendörfer aka the_undefined a publié hier une <a href="http://www.thinkingphp.org/2008/03/03/new-router-goodies/">petite présentation</a> très utile concernant les derniers ajouts à la gestion des routes sous CakePHP. Il faut utiliser la dernière version du SVN pour en profiter, mais j&#8217;ai déjà pu expérimenter les bienfaits du reverse routing : en gros, quelle que soit le schéma d&#8217;URL que vous avez défini dans route.php, les liens générés dans vos views en utilisant le helper $html-&gt;link le reflèteront bien, sans besoin de mise à jour.</p>
]]></content:encoded>
			<wfw:commentRss>http://cherryonthe.popnews.com/2008/03/04/il-y-a-une-route/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Nouvelle version du composant OpenId</title>
		<link>http://cherryonthe.popnews.com/2008/02/11/nouvelle-version-du-composant-openid/</link>
		<comments>http://cherryonthe.popnews.com/2008/02/11/nouvelle-version-du-composant-openid/#comments</comments>
		<pubDate>Mon, 11 Feb 2008 10:17:17 +0000</pubDate>
		<dc:creator>Guillaume</dc:creator>
		
		<category><![CDATA[ailleurs]]></category>

		<category><![CDATA[cakephp]]></category>

		<guid isPermaLink="false">http://cherryonthe.popnews.com/2008/02/11/nouvelle-version-du-composant-openid/</guid>
		<description><![CDATA[Daniel Hofstetter aka CakeBaker a publié une version mise à jour de son composant OpenID. Elle se trouve ici avec toutes les explications.
]]></description>
			<content:encoded><![CDATA[<p>Daniel Hofstetter aka CakeBaker a publié une version mise à jour de son composant OpenID. Elle se trouve <a href="http://cakebaker.42dh.com/2008/02/06/new-version-of-the-openid-component/">ici </a>avec toutes les explications.</p>
]]></content:encoded>
			<wfw:commentRss>http://cherryonthe.popnews.com/2008/02/11/nouvelle-version-du-composant-openid/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Des URL sympathiques en un tour de main</title>
		<link>http://cherryonthe.popnews.com/2008/02/04/des-url-sympathiques-en-un-tour-de-main/</link>
		<comments>http://cherryonthe.popnews.com/2008/02/04/des-url-sympathiques-en-un-tour-de-main/#comments</comments>
		<pubDate>Mon, 04 Feb 2008 08:27:09 +0000</pubDate>
		<dc:creator>Guillaume</dc:creator>
		
		<category><![CDATA[ailleurs]]></category>

		<guid isPermaLink="false">http://cherryonthe.popnews.com/2008/02/04/des-url-sympathiques-en-un-tour-de-main/</guid>
		<description><![CDATA[Vu chez mon collègue Damien : une méthode astucieuse pour générer des friendly URL grâce à iconv et sans utiliser de grosses tables de traduction façon Wordpress. A tester.
(Le setlocale( LC_ALL, &#8216;fr_FR.UTF-8&#8242; ) m&#8217;incite juste à la prudence car il a pour effet de bord de définir comme séparateur décimal la virgule&#8230; ce qui m&#8217;a [...]]]></description>
			<content:encoded><![CDATA[<p>Vu chez mon collègue Damien : une <a href="http://pwet.fr/blog/generer_des_url_significatives_en_php">méthode astucieuse</a> pour générer des friendly URL grâce à iconv et sans utiliser de grosses tables de traduction façon Wordpress. A tester.</p>
<p><a href="http://www.php.net/setlocale"><span style="color: #000066">(Le setlocale</span></a><span style="color: #66cc66">(</span> LC_ALL, <span style="color: #0000ff">&#8216;</span><span style="color: #ff0000">fr_FR.UTF-8&#8242;</span> <span style="color: #66cc66">)</span> m&#8217;incite juste à la prudence car il a pour effet de bord de définir comme séparateur décimal la virgule&#8230; ce qui m&#8217;a valu un sévère mal de tête il y a un dix jours à me demander pourquoi mes floats étaient tous tronqués à l&#8217;unité dans MySQL ! peut-être qu&#8217;il faut y aller plus doucement.)</p>
<p>Peut-être un bon moyen de simplifier le <a href="http://bakery.cakephp.org/articles/view/slug-behavior">behavior Sluggable</a> de CakePHP qui prend de l&#8217;embonpoint  à chaque qu&#8217;un Russe ou un Suédois y ajoute sa table de traduction <img src='http://cherryonthe.popnews.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
			<wfw:commentRss>http://cherryonthe.popnews.com/2008/02/04/des-url-sympathiques-en-un-tour-de-main/feed/</wfw:commentRss>
		</item>
		<item>
		<title>du côté de chez EllisLab&#8230;</title>
		<link>http://cherryonthe.popnews.com/2008/02/01/du-cote-de-chez-ellislab/</link>
		<comments>http://cherryonthe.popnews.com/2008/02/01/du-cote-de-chez-ellislab/#comments</comments>
		<pubDate>Fri, 01 Feb 2008 15:35:46 +0000</pubDate>
		<dc:creator>Guillaume</dc:creator>
		
		<category><![CDATA[ailleurs]]></category>

		<guid isPermaLink="false">http://cherryonthe.popnews.com/2008/02/01/du-cote-de-chez-ellislab/</guid>
		<description><![CDATA[Une nouvelle version de Code Igniter vient de sortir, la 1.6. J&#8217;ai peu suivi l&#8217;évolution de ce framework PHP qui partage avec CakePHP l&#8217;avantage d&#8217;être compatible avec PHP 4 mais il semblerait qu&#8217;il y ait quelques petites évolutions, je cite :
Among a host of new capabilities, this release features:

    A Database Forge [...]]]></description>
			<content:encoded><![CDATA[<p>Une nouvelle version de <a href="http://codeigniter.com/">Code Igniter </a>vient de sortir, la 1.6. J&#8217;ai peu suivi l&#8217;évolution de ce framework PHP qui partage avec CakePHP l&#8217;avantage d&#8217;être compatible avec PHP 4 mais il semblerait qu&#8217;il y ait quelques petites évolutions, je cite :</p>
<blockquote><p>Among a host of new capabilities, this release features:</p>
<ul>
<li>    A Database Forge class: database agnostic table and field manipulation</li>
<li>An enhanced Active Record library</li>
<li>A revised Session Class with “flash variables” and additional security</li>
<li> An extendable Model Class with auto-loadable Models</li>
<li> Extendable Helpers, and additions and enhancements to existing Helpers</li>
<li>  A revised view architecture that allows for simple inclusion of multiple views</li>
<li> And over 120 different enhancements, improvements and bug fixes</li>
</ul>
</blockquote>
<p>Le changelog complet est <a href="http://codeigniter.com/user_guide/changelog.html">là</a>. Malgré la documentation plus complète que celle de  CakePHP, je l&#8217;avais trouvé un peu moins intéressant quand je l&#8217;avais évalué (moins de &#8220;magie&#8221; que CakePHP).</p>
]]></content:encoded>
			<wfw:commentRss>http://cherryonthe.popnews.com/2008/02/01/du-cote-de-chez-ellislab/feed/</wfw:commentRss>
		</item>
		<item>
		<title>L&#8217;API de cakePHP en ligne de commande</title>
		<link>http://cherryonthe.popnews.com/2008/01/31/lapi-de-cakephp-en-ligne-de-commande/</link>
		<comments>http://cherryonthe.popnews.com/2008/01/31/lapi-de-cakephp-en-ligne-de-commande/#comments</comments>
		<pubDate>Thu, 31 Jan 2008 07:19:26 +0000</pubDate>
		<dc:creator>Guillaume</dc:creator>
		
		<category><![CDATA[cakephp]]></category>

		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://cherryonthe.popnews.com/2008/01/31/lapi-de-cakephp-en-ligne-de-commande/</guid>
		<description><![CDATA[Ce week-end, ma connexion internet avait quelques difficultés à se maintenir plus de quelques secondes. Du coup, j&#8217;étais un peu embêté pour consulter de manière interactive la doc de l&#8217;API (celle-ci).Dans Eclipse PDT, un bon vieux F2 vous affichera un tooltip généré à partir du commentaire format PHPdoc à propos de la méthode sur laquelle [...]]]></description>
			<content:encoded><![CDATA[<p>Ce week-end, ma connexion internet avait quelques difficultés à se maintenir plus de quelques secondes. Du coup, j&#8217;étais un peu embêté pour consulter de manière interactive la doc de l&#8217;API (<a href="http://api.cakephp.org/1.2/index.html">celle-ci</a>).Dans Eclipse PDT, un bon vieux F2 vous affichera un tooltip généré à partir du commentaire format PHPdoc à propos de la méthode sur laquelle se trouve votre pointeur&#8230; quand Eclipse arrive à s&#8217;y retrouver, c&#8217;est-à-dire pas si souvent. En fouillant dans le répertoire &#8220;console&#8221; de cake, je suis tombé sur le fichier &#8220;api.php&#8221;, présent (d&#8217;après SVN) depuis le 23/05/2007 dans Cake et dont j&#8217;ignorais jusqu&#8217;à présent l&#8217;utilité. En fait, il permet d&#8217;accéder à la documentation de l&#8217;API en ligne de commande. Pour cela :</p>
<ul>
<li> se positionner dans le répertoire cake/console</li>
<li>taper : &#8220;./cake api model -m find&#8221; (par exemple) et admirer.</li>
</ul>
<p><br class="webkit-block-placeholder" />Voici le mode d&#8217;emploi :</p>
<pre>
<div class="codesnip-container" >Usage: cake api [type<type>] model<classname> [-m method<method>] </method></classname></type></div>
</pre>
<p>On peut se contenter de préciser le nom de la classe, on obtient alors une liste des méthodes dont on veut accéder à la documentation. On peut mieux cibler soit en précisant directement la méthode soit en restreignant la recherche à un type de classes (behavior, model, view&#8230;). Si l&#8217;on prend la peine de documenter ses propres classes, ça peut aussi aider.</p>
<p><a href="http://cherryonthe.popnews.com/wp-content/uploads/2008/01/image-4.png" title="Copie d’écran du terminal pour la commande ./cake api model -m find"><img src="http://cherryonthe.popnews.com/wp-content/uploads/2008/01/image-4.thumbnail.png" alt="Copie d’écran du terminal pour la commande ./cake api model -m find" /></a></p>
<p>A l&#8217;instar de bake, il peut être commode de définir cette commande en tant qu&#8217;external tool (ci-dessous une configuration sommaire).</p>
<p><img src="http://cherryonthe.popnews.com/wp-content/uploads/2008/01/image-5.thumbnail.png" alt="Configuration Eclipse" /></p>
<p>(désolé pour la présentation foireuse de ce post, il y a des choses qui m&#8217;échappent encore dans wordpress&#8230;)</p>
]]></content:encoded>
			<wfw:commentRss>http://cherryonthe.popnews.com/2008/01/31/lapi-de-cakephp-en-ligne-de-commande/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Une semaine dans le monde de cakePHP</title>
		<link>http://cherryonthe.popnews.com/2008/01/08/une-semaine-dans-le-monde-de-cakephp/</link>
		<comments>http://cherryonthe.popnews.com/2008/01/08/une-semaine-dans-le-monde-de-cakephp/#comments</comments>
		<pubDate>Tue, 08 Jan 2008 17:24:11 +0000</pubDate>
		<dc:creator>Guillaume</dc:creator>
		
		<category><![CDATA[ailleurs]]></category>

		<category><![CDATA[cakephp]]></category>

		<guid isPermaLink="false">http://cherryonthe.popnews.com/2008/01/08/une-semaine-dans-le-monde-de-cakephp/</guid>
		<description><![CDATA[Je viens de tomber sur un blog consacré à cakePHP que je ne connaissais pas - et pour cause, il est tout récent -, tenu par Christian Winther, aka Jippi, un Danois.
Ce garçon s&#8217;est mis dans la tête de compiler chaque semaine les évènements survenus dans le monde magique de CakePHP : nouvelle version (cette [...]]]></description>
			<content:encoded><![CDATA[<p>Je viens de tomber sur un blog consacré à cakePHP que je ne connaissais pas - et pour cause, il est tout récent -, tenu par Christian Winther, aka Jippi, un Danois.</p>
<p>Ce garçon s&#8217;est mis dans la tête de compiler chaque semaine les évènements survenus dans le monde magique de CakePHP : nouvelle version (cette semaine, ça tombe bien), principales questions sur le GoogleGroup, etc. C&#8217;est <a href="http://www.cakephp.nu/cakephp-weekly-summaries-issue-1">là </a>que ça se passe. D&#8217;où on déduit que les bonnes résolutions de nouvelle année existent aussi au Danemark.</p>
]]></content:encoded>
			<wfw:commentRss>http://cherryonthe.popnews.com/2008/01/08/une-semaine-dans-le-monde-de-cakephp/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
