<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="http://feeds.feedburner.com/~d/styles/rss2full.xsl" type="text/xsl" media="screen"?><?xml-stylesheet href="http://feeds.feedburner.com/~d/styles/itemcontent.css" type="text/css" media="screen"?><rss xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:yt="http://gdata.youtube.com/schemas/2007" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">
   <channel>
      <title>CakePHP Super Feed</title>
      <description>Latest posts from blogosphere about CakePHP</description>
      <link>http://pipes.yahoo.com/pipes/pipe.info?_id=UvxgjXa03BG245KdxQnzeQ</link>
      <pubDate>Sat, 17 May 2008 04:58:09 PDT</pubDate>
      <generator>http://pipes.yahoo.com/pipes/</generator>
      <atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/cakephp" type="application/rss+xml" /><item>
         <title>CakePHP Application Deployment: RFC</title>
         <link>http://feeds.feedburner.com/~r/cakephp/~3/291804606/</link>
         <description>A co-worker of mine always complains that people don&amp;#8217;t read the RFC that covers a topic related to making their own stuff work with our stuff. He&amp;#8217;s old sk00l like that. Although my co-worker is a tad out-of-touch with the realities of programming these days (as in the amount of people who actually [...]</description>
         <guid isPermaLink="false">http://www.littlehart.net/atthekeyboard/?p=273</guid>
         <pubDate>Fri, 16 May 2008 11:05:22 PDT</pubDate>
         <content:encoded><![CDATA[<p>A co-worker of mine always complains that people don&#8217;t read the <a rel="nofollow" target="_blank" href="http://en.wikipedia.org/wiki/Request_for_Comments">RFC</a> that covers a topic related to making their own stuff work with our stuff. He&#8217;s old sk00l like that. Although my co-worker is a tad out-of-touch with the realities of programming these days (as in the amount of people who actually read the RFC when they can simply use someone else&#8217;s library / module / function / application is very small), I thought I would at least adhere to some semblance of standards and do a blog posting about my plans for making CakePHP application deployment easier.
</p>
<p>
While I really prefer to use <a rel="nofollow" target="_blank" href="http://capify.org">tools like this</a> for deployment, I understand that not everyone wants to mess with standalone programs and configuration files. I&#8217;ve been asked before about Cake-specific deployment techniques, so I figure the easiest way is to see about adding a task to the Cake console. Let&#8217;s call this &#8216;cake deploy&#8217;.
</p>
<p>
As I <a rel="nofollow" target="_blank" href="http://groups.google.com/group/cake-php/browse_thread/thread/ea4e5ec768c8d95a#">explained on the mailing list</a> I am looking for opinions on what sort of things should be part of the &#8216;cake deploy&#8217; task. Right now, my thoughts are as follows:</p>
<ul>
<li><i>cake deploy config</i></li>
<p> - setup and edit configuration parameters. Initially I thought of setting things like transport method (ssh, ftp), logins and passwords, remote location, source directory, and destination directory. The configuration file would be stored locally in APP/config</p>
<li><i>cake deploy</i> - seems pretty self-explanatory to me.</li>
</ul>
<p>
In the RFC thread on the CakePHP mailing list, someone mentioned they&#8217;d like to see rsync, but I&#8217;m trying to avoid having to external programs required to make the deployment work. Or, at least, use as few as possible. Anyhow, if you have any thoughts on this feel free to add them to the comments.</p>]]></content:encoded>
      <feedburner:origLink>http://www.littlehart.net/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fwww.littlehart.net%2Fatthekeyboard%2F2008%2F05%2F16%2Fcakephp-application-deployment-rfc%2F&amp;seed_title=CakePHP+Application+Deployment%3A+RFC</feedburner:origLink></item>
      <item>
         <title>Tidy Output Filtering</title>
         <link>http://feeds.feedburner.com/~r/cakephp/~3/291773284/tidy-output-filtering</link>
         <description>If you'd like to filter all output from your application (layouts and views) through Tidy for cleaner markup, then this article is for you!</description>
         <guid isPermaLink="false">http://bakery.cakephp.org/articles/view/tidy-output-filtering</guid>
         <pubDate>Fri, 16 May 2008 04:35:32 PDT</pubDate>
      <feedburner:origLink>http://bakery.cakephp.org/articles/view/tidy-output-filtering</feedburner:origLink></item>
      <item>
         <title>A missing concept: model “components”</title>
         <link>http://feeds.feedburner.com/~r/cakephp/~3/290809611/</link>
         <description>The fatter your models become, the more obvious it is (at least for me) that something is missing. Let&amp;#8217;s say we have a bunch of models. Two of those models use internally the same functionality. To avoid code duplication, you want to share this functionality between the two models. But how could you accomplish that? [...]</description>
         <guid isPermaLink="false">http://cakebaker.42dh.com/?p=603</guid>
         <pubDate>Thu, 15 May 2008 01:43:55 PDT</pubDate>
         <content:encoded><![CDATA[<p>The fatter your models become, the more obvious it is (at least for me) that something is missing. Let&#8217;s say we have a bunch of models. Two of those models use internally the same functionality. To avoid code duplication, you want to share this functionality between the two models. But how could you accomplish that? </p>
<p>One idea is to move the functionality to the AppModel. That works, but it is a dirty solution. The AppModel should contain generic functionality relevant for all models, and not functionality specific to only two models. </p>
<p>Another idea is to move the functionality into a class in the vendors folder and to load it with App::import(). That works fine, but if you compare this solution with elements and helpers for reusing view functionality, and with components for reusing controller functionality, it is a bit strange there is no &#8220;native&#8221; solution for models (sure, there are behaviors, but they are not designed for the kind of code reuse I described above).</p>
<p>Hence I think it would be useful to have model &#8220;components&#8221;, which could be realized in the same way as controller components are realized. For example:</p>
<pre>
class Example extends AppModel { public $components = array('X'); public function doSomething() { ... $this-&gt;X-&gt;doSomethingElse(); // using model component ... }
}
</pre>
<p>In the longer term it would even make sense to have a unified &#8220;components&#8221; concept to replace the current concepts of components and helpers. But well, we will see what the future brings ;-)</p>]]></content:encoded>
      <feedburner:origLink>http://cakebaker.42dh.com/2008/05/15/a-missing-concept-model-components/</feedburner:origLink></item>
      <item>
         <title>Quickie: KISSing is for the experienced</title>
         <link>http://feeds.feedburner.com/~r/cakephp/~3/290735798/quickie-kissing-is-for-the-experienced:482b9a1e-ad2c-402c-890e-1ee34834cda3</link>
         <description>&lt;blockquote&gt;&lt;p&gt;If you are new to a programming language, forget about the &lt;a rel="nofollow" target="_blank" href="http://en.wikipedia.org/wiki/KISS_principle"&gt;KISS principle&lt;/a&gt;. Experiment with crazy &amp;amp; complex code.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;This might not be obvious but a conversation with somebody on #jquery today made this very clear to me. Trying to apply KISS when getting into a new technology is STUPID. Writing the most succinct and simple code is only possible if you know all nuances of what you are working with. Otherwise your simplicity will be based on wrong assumptions and lead to buggy code.&lt;/p&gt;
&lt;p&gt;A prime example for PHP developers learning JavaScript:&lt;/p&gt;
&lt;div class="clear"&gt;&lt;/div&gt;
&lt;div class="lang_box"&gt;javascript&lt;/div&gt;
&lt;div class="code debuggable_sh_js" style="white-space:nowrap;"&gt;
&lt;ol&gt;
&lt;li class="li1"&gt;
&lt;div class="de1"&gt;&lt;span class="kw2"&gt;var&lt;/span&gt; isEmpty = &lt;span class="br0"&gt;&amp;#91;&lt;/span&gt;&lt;span class="br0"&gt;&amp;#93;&lt;/span&gt;;&lt;/div&gt;
&lt;/li&gt;
&lt;li class="li1"&gt;
&lt;div class="de1"&gt;&lt;span class="kw1"&gt;if&lt;/span&gt; &lt;span class="br0"&gt;&amp;#40;&lt;/span&gt;isEmpty&lt;span class="br0"&gt;&amp;#41;&lt;/span&gt; &lt;span class="br0"&gt;&amp;#123;&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class="li1"&gt;
&lt;div class="de1"&gt;&amp;nbsp; &lt;span class="co1"&gt;// You are not ready for your first KISS : )&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class="li2"&gt;
&lt;div class="de2"&gt;&lt;span class="br0"&gt;&amp;#125;&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;
&lt;p&gt;&lt;small&gt;(JavaScript type juggles empty objects / arrays to true in a boolean context)&lt;/small&gt;&lt;/p&gt;</description>
         <author>felix@debuggable.com</author>
         <guid isPermaLink="false">http://www.debuggable.com/posts/quickie-kissing-is-for-the-experienced:482b9a1e-ad2c-402c-890e-1ee34834cda3</guid>
         <pubDate>Wed, 14 May 2008 23:12:16 PDT</pubDate>
      <feedburner:origLink>http://feeds.feedburner.com/~r/thinkingphp/~3/290709128/quickie-kissing-is-for-the-experienced:482b9a1e-ad2c-402c-890e-1ee34834cda3</feedburner:origLink></item>
      <item>
         <title>New CakePHP 1.2 Release Coming</title>
         <link>http://feeds.feedburner.com/~r/cakephp/~3/289734325/</link>
         <description>I&amp;#8217;m certainly not the only person who has been blogging about this, but I thought I&amp;#8217;d mention that a feature freeze is coming up for the next CakePHP 1.2 release, codenamed &amp;#8216;DV&amp;#8217;. My very modest contribution this time around is a patch to fix a problem with running &amp;#8216;cake bake&amp;#8217; on Windows, where it [...]</description>
         <guid isPermaLink="false">http://www.littlehart.net/atthekeyboard/?p=272</guid>
         <pubDate>Tue, 13 May 2008 14:16:53 PDT</pubDate>
         <content:encoded><![CDATA[<p>I&#8217;m certainly not the only person who has been blogging about this, but I thought I&#8217;d mention that a feature freeze is coming up for the next CakePHP 1.2 release, codenamed &#8216;DV&#8217;. My very modest contribution this time around is a patch to fix a problem with running &#8216;cake bake&#8217; on Windows, where it was mangling the app path that a user would enter. <a rel="nofollow" target="_blank" href="https://trac.cakephp.org/ticket/4495">Ticket 4495</a> if anyone is interested.
</p>
<p>
Anyhow, anyone who uses CakePHP or wants to help out can definitely get involved in the process by:</p>
<ul>
<li>Entering bugs into CakePHP&#8217;s trac if they don&#8217;t see them in there</li>
<li>Contributing tests and/or patches for existing bugs</li>
<li>Testing out the bleeding-edge versions of CakePHP that you can get from the SVN repository</li>
</ul>
<p>
There has been a lot of debate on the mailing list about both the direction of the project and the attitude of people on the mailing list. Well, as one of the people who gets to be involved in both sides (albeit a minor role in terms of contributing code) I can tell you that the project will continue moving forward, building on all the traction CakePHP has gotten. Maybe 1.2 has dragged on for a while, but isn&#8217;t that just a number anyway? Would people be reacting if it was Cake 1.7.2 or something like that?
</p>
<p>What people don&#8217;t always see is the amount of work that goes into CakePHP by developers. Every morning when I log into my account on my MacBook, I update my copy of CakePHP from SVN. 99.999% of the time there is an update. These days, tests are being written like crazy and <a rel="nofollow" target="_blank" href="http://debuggable.com/posts/code-coverage-analysis-soon-in-cakephp---test-how-well-you-test:4814f6a0-fe60-4f50-be0b-07194834cda3">Tim&#8217;s awesome work in creating code coverage information</a> and those things can only help the project as a whole get better. These are exciting times for anyone connected to the project, no doubt about that. No amount of CakePHP haters (you know who you are) are going to change that.
</p>
<p>
Secondly, people have to understand that a mailing list full of a lot of technical, highly-skilled people is not a friendly place for beginners. Sad, but true. I have answered many questions on the mailing list, some of them properly and some of them, well, let&#8217;s just say my nickname of GrumpyCanuck has been well-placed. Can we all be civil? Probably not. Should we be civil? Maybe. I think anyone who doesn&#8217;t understand the dynamics of the CakePHP list itself should go and read <a rel="nofollow" target="_blank" href="http://www.catb.org/~esr/faqs/smart-questions.html">this</a>. Forewarned is forearmed.</p>]]></content:encoded>
         <category>CakePHP</category>
      <feedburner:origLink>http://www.littlehart.net/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fwww.littlehart.net%2Fatthekeyboard%2F2008%2F05%2F13%2Fnew-cakephp-12-release-coming%2F&amp;seed_title=New+CakePHP+1.2+Release+Coming</feedburner:origLink></item>
      <item>
         <title>Kathryn Walsh</title>
         <link>http://feeds.feedburner.com/~r/cakephp/~3/289575414/</link>
         <description>&lt;p class="url"&gt;&lt;a rel="nofollow" target="_blank" href="http://www.letsgobiking.com"&gt;http://www.letsgobiking.com&lt;/a&gt;&lt;/p&gt; &lt;p&gt;yusdrum steven poignancy versette squench delesseriaceae healsomeness sardanapalus
&lt;a rel="nofollow" target="_blank" href="http://www.cnn.com/WORLD/meast/9901/09/yemen.kidnap/index.html"&gt;British oil worker kidnapped in Yemen &lt;/a&gt; http://www.musicinsalisbury.org/stjohnsingers.htm &lt;/p&gt;</description>
         <guid isPermaLink="false">http://withcake.com/companies/#itm158</guid>
         <pubDate>Tue, 13 May 2008 09:37:53 PDT</pubDate>
         <category>Companies</category>
      <feedburner:origLink>http://withcake.com/companies/#itm158</feedburner:origLink></item>
      <item>
         <title>CakePHP 1.2 Stable! Come and help</title>
         <link>http://feeds.feedburner.com/~r/cakephp/~3/289549589/cakephp-1.2-stable-come-and-help:4829b3ac-903c-4f56-94dc-27af4834cda3</link>
         <description>&lt;p&gt;&lt;strong&gt;Update:&lt;/strong&gt; If you are wondering how to provide a patch, &lt;a rel="nofollow" target="_blank" href="http://drnicwilliams.com/2007/06/01/8-steps-for-fixing-other-peoples-code/"&gt;please follow this guide&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Hey folks,&lt;/p&gt;
&lt;p&gt;the &lt;a rel="nofollow" target="_blank" href="https://trac.cakephp.org/wiki/Contributors"&gt;CakePHP team&lt;/a&gt; is gearing up to finally push out a stable 1.2 release! If you are following the &lt;a rel="nofollow" target="_blank" href="https://trac.cakephp.org/timeline"&gt;trac timeline&lt;/a&gt; you can see that everybody is putting in huge amounts of work to fix bugs and get everything stable.&lt;/p&gt;
&lt;p&gt;But in order for this to happen we need your help! Here are a couple things you can help with:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Submit patches and test cases:&lt;/strong&gt; If you know &lt;a rel="nofollow" target="_blank" href="http://bakery.cakephp.org/articles/view/testing-models-with-cakephp-1-2-test-suite"&gt;how to write test cases&lt;/a&gt;, please try to provide test cases and patches for &lt;a rel="nofollow" target="_blank" href="https://trac.cakephp.org/report/1"&gt;opened bugs&lt;/a&gt; that currently have none.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Provide information on how to replicate bugs:&lt;/strong&gt; We spend lots of time trying to replicate bugs with little information provided. If you experience any of the &lt;a rel="nofollow" target="_blank" href="https://trac.cakephp.org/report/1"&gt;listed bugs&lt;/a&gt; and are able to replicate them, let us know how!&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Report new bugs:&lt;/strong&gt; If you know of any bugs currently not listed in trac, please &lt;a rel="nofollow" target="_blank" href="https://trac.cakephp.org/newticket"&gt;open a new ticket&lt;/a&gt; with as much information as possible.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Help the docs team:&lt;/strong&gt; The better the docs, the better the framework. Help by submitting content to the &lt;a rel="nofollow" target="_blank" href="http://book.cakephp.org/"&gt;CakePHP Book&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;This is a great opportunity for everybody out there to get actively involved in open source development and steady contributors will be considered for the core team.&lt;/p&gt;
&lt;h3&gt;Join us in #cakephp-dv on freenode.net&lt;/h3&gt;
&lt;p&gt;We just opened a temporary channel called &lt;strong&gt;#cakephp-dv&lt;/strong&gt; on irc.freenode.net for pushing out the 1.2 release (code name "DV"). Everybody willing to help is welcome to join us there, we have plenty of stuff for you to work on!&lt;/p&gt;
&lt;p&gt;So lets bake folks!&lt;br /&gt;
-- Felix Geisendörfer aka the_undefined&lt;/p&gt;</description>
         <author>felix@debuggable.com</author>
         <guid isPermaLink="false">http://www.debuggable.com/posts/cakephp-1.2-stable-come-and-help:4829b3ac-903c-4f56-94dc-27af4834cda3</guid>
         <pubDate>Tue, 13 May 2008 08:55:26 PDT</pubDate>
      <feedburner:origLink>http://feeds.feedburner.com/~r/thinkingphp/~3/289532924/cakephp-1.2-stable-come-and-help:4829b3ac-903c-4f56-94dc-27af4834cda3</feedburner:origLink></item>
      <item>
         <title>CakePHP 1.2 stable coming soon</title>
         <link>http://feeds.feedburner.com/~r/cakephp/~3/289585532/cakephp-1-2-stable-coming-soon</link>
         <description>The Cake Team is working tirelessly to release the highly anticipated CakePHP 1.2 stable. Here's your chance to participate in this ground breaking version of the best and most popular framework for PHP.</description>
         <guid isPermaLink="false">http://bakery.cakephp.org/articles/view/cakephp-1-2-stable-coming-soon</guid>
         <pubDate>Tue, 13 May 2008 05:08:19 PDT</pubDate>
      <feedburner:origLink>http://bakery.cakephp.org/articles/view/cakephp-1-2-stable-coming-soon</feedburner:origLink></item>
      <item>
         <title>Bindable Behavior: control your model bindings</title>
         <link>http://feeds.feedburner.com/~r/cakephp/~3/283127253/bindable-behavior-control-your-model-bindings</link>
         <description>With the birth of CakePHP 1.2 pre-beta, here comes the newly, improved, and extended version of Bindable, a method to easily control what model relationships are obtained from a find operation, and even customize binding settings.</description>
         <guid isPermaLink="false">http://bakery.cakephp.org/articles/view/bindable-behavior-control-your-model-bindings</guid>
         <pubDate>Tue, 13 May 2008 03:01:18 PDT</pubDate>
      <feedburner:origLink>http://bakery.cakephp.org/articles/view/bindable-behavior-control-your-model-bindings</feedburner:origLink></item>
      <item>
         <title>Vendor Branching</title>
         <link>http://feeds.feedburner.com/~r/cakephp/~3/289498412/vendor-branching</link>
         <description>Vendor Branching provides a robust method of ensuring your application repository is always in a stable state with regards to third party libraries, even if these libraries have unique modifications. When your application keeps a local copy of all libraries - with the correct versions, in its own repository, you can confidently implement any revision to any system as well as expecting stable maintenance and support.</description>
         <guid isPermaLink="false">http://bakery.cakephp.org/articles/view/vendor-branching</guid>
         <pubDate>Tue, 13 May 2008 02:59:41 PDT</pubDate>
      <feedburner:origLink>http://bakery.cakephp.org/articles/view/vendor-branching</feedburner:origLink></item>
      <item>
         <title>markItUp! jQuery universal markup editor Helper</title>
         <link>http://feeds.feedburner.com/~r/cakephp/~3/289498414/markitup-jquery-universal-markup-editor-helper</link>
         <description>markItUp! is a JavaScript plugin built on the jQuery library. It allows you to turn any textarea into a markup editor. Html, Textile, Wiki Syntax, Markdown, BBcode or even your own Markup system can be easily implemented. Find here some helpers to create, remove, switch markItUp! editor in your CakePhp projects.</description>
         <guid isPermaLink="false">http://bakery.cakephp.org/articles/view/markitup-jquery-universal-markup-editor-helper</guid>
         <pubDate>Tue, 13 May 2008 02:37:47 PDT</pubDate>
      <feedburner:origLink>http://bakery.cakephp.org/articles/view/markitup-jquery-universal-markup-editor-helper</feedburner:origLink></item>
      <item>
         <title>Increment Behavior</title>
         <link>http://feeds.feedburner.com/~r/cakephp/~3/289498415/increment-behavior</link>
         <description>Increment Behavior is ideal for use when you want to increment a certain field by a delta increment such as adding votes, updating view counters, etc.</description>
         <guid isPermaLink="false">http://bakery.cakephp.org/articles/view/increment-behavior</guid>
         <pubDate>Tue, 13 May 2008 02:35:36 PDT</pubDate>
      <feedburner:origLink>http://bakery.cakephp.org/articles/view/increment-behavior</feedburner:origLink></item>
      <item>
         <title>Twitter Component</title>
         <link>http://feeds.feedburner.com/~r/cakephp/~3/269035832/twitter-component</link>
         <description>After searching for a suitable php Twitter component for cakephp I found none. So here is my attemp at it. This component implenets all of the twitter api found on http://groups.google.com/group/twitter-development-talk/web/api-documentation</description>
         <guid isPermaLink="false">http://bakery.cakephp.org/articles/view/twitter-component</guid>
         <pubDate>Tue, 13 May 2008 02:27:58 PDT</pubDate>
      <feedburner:origLink>http://bakery.cakephp.org/articles/view/twitter-component</feedburner:origLink></item>
      <item>
         <title>Tags cloud</title>
         <link>http://feeds.feedburner.com/~r/cakephp/~3/289247283/tags-cloud.html</link>
         <description>I suddenly had problem with my posts_tag table.&lt;br /&gt;&lt;br /&gt;I don't know why, but yesterday I found this talbe empty. Not so empty, but table must have around 400-500 record. She has 27.&lt;br /&gt;&lt;br /&gt;Yep I recover this table from field Post['tags']&lt;br /&gt;&lt;br /&gt;But why this table was empty? I don't understand ;-(&lt;br /&gt;&lt;br /&gt;You have any idea?</description>
         <author>Vlad</author>
         <guid isPermaLink="false">tag:blogger.com,1999:blog-34331783.post-7382627776863874845</guid>
         <pubDate>Mon, 12 May 2008 16:57:00 PDT</pubDate>
      <feedburner:origLink>http://cake-php.blogspot.com/2008/05/tags-cloud.html</feedburner:origLink></item>
      <item>
         <title>RoR 2,0 on-line book</title>
         <link>http://feeds.feedburner.com/~r/cakephp/~3/288296717/</link>
         <description>For all those, which are occupied also with the Rails Framework (quasi
the &amp;#8220;grossen Bruder&amp;#8221; from CakePHP), once the Openbook of
Galileo Computing looks at you:
http://www.galileocomputing.de/openbook/ruby_on_rails/ it is surely
not the best Railsbuch, but but it costs contrary to &amp;#8220;The Rails
Way&amp;#8221; and &amp;#8220;Agile Web development with Ruby on Rails&amp;#8221;
also no money, if one reads it on-line, or downloadet themselves.</description>
         <guid isPermaLink="false">http://blog.dievolution.net/allgemein/ror-20-online-buch/</guid>
         <pubDate>Sun, 11 May 2008 15:19:29 PDT</pubDate>
      <feedburner:origLink>http://feeds.feedburner.com/~r/dievolution/~3/288286936/</feedburner:origLink></item>
      <item>
         <title>Help! vendor() is deprecated.</title>
         <link>http://feeds.feedburner.com/~r/cakephp/~3/287462175/</link>
         <description>No, I don't need help - I am the one providing it Use of vendor() function to load third party libs in CakePHP has been deprecated for some time now... It has been replaced with the more generic App::import() the usage is simple PLAIN TEXT
PHP: App::import&amp;#40;'vendor', 'filename'&amp;#41;; And it works fine.... now now! I wouldn't [...]</description>
         <guid isPermaLink="false">http://www.sanisoft.com/blog/?p=44</guid>
         <pubDate>Sat, 10 May 2008 03:09:39 PDT</pubDate>
         <category>CakePHP</category>
      <feedburner:origLink>http://www.sanisoft.com/blog/2008/05/10/help-vendor-is-deprecated/</feedburner:origLink></item>
      <item>
         <title>Real Skill Ltd UK</title>
         <link>http://feeds.feedburner.com/~r/cakephp/~3/287299666/</link>
         <description>&lt;p class="url"&gt;&lt;a rel="nofollow" target="_blank" href="http://www.real-skill.co.uk"&gt;http://www.real-skill.co.uk&lt;/a&gt;&lt;/p&gt; &lt;p&gt;I am looking for experienced PHP Developers for two jobs in UK, who have at least 7 years of programming experience with minimum of 5 years in PHP, MySQL and has significant experience of CakePHP. These are two vacancies and the salary range is from 30 - 60K pounds per year. If you are interested please contact me at sheraz@real-skill.co.uk or call me at + 44 1274 900 332.&lt;/p&gt;</description>
         <guid isPermaLink="false">http://withcake.com/companies/#itm156</guid>
         <pubDate>Fri, 09 May 2008 21:38:42 PDT</pubDate>
         <category>Companies</category>
      <feedburner:origLink>http://withcake.com/companies/#itm156</feedburner:origLink></item>
      <item>
         <title>The dark side of failing tests</title>
         <link>http://feeds.feedburner.com/~r/cakephp/~3/287055175/</link>
         <description>[rant]
Yesterday, I opened some tickets because some core tests failed while I run them with the new testsuite shell. As I didn&amp;#8217;t attach any patches to the tickets I got &amp;#8220;attacked&amp;#8221; on twitter by some people from the core team, and I even got a nice mail from gwoo (the project manager of CakePHP) that [...]</description>
         <guid isPermaLink="false">http://cakebaker.42dh.com/?p=601</guid>
         <pubDate>Fri, 09 May 2008 11:18:26 PDT</pubDate>
         <content:encoded><![CDATA[<p>[rant]<br />
Yesterday, I opened some tickets because some core tests failed while I run them with the new testsuite shell. As I didn&#8217;t attach any patches to the tickets I got &#8220;attacked&#8221; on twitter by some people from the core team, and I even got a nice mail from gwoo (the project manager of CakePHP) that I should stop submitting tickets&#8230;<br />
[/rant]</p>
<p>Anyway, I think this is a good opportunity to think about failing tests (with tests I primarily mean unit tests).</p>
<p>Even though &#8220;failing tests&#8221; may sound quite negative, this is not the case, at least if you practice <a rel="nofollow" target="_blank" href="http://en.wikipedia.org/wiki/Test-driven_development">test driven development</a> (or a similar approach). There, failing tests are an integral part of the process. You start with a failing test, and then you implement the functionality so that the test no longer fails. Or if you make a change, and you break something by accident, then a failing test informs you about it. So, a failing test is quite positive.</p>
<p>On the other hand, failing tests also have a dark side. </p>
<p>The longer you wait to fix them, the higher the &#8220;costs&#8221;. If you fix a failing test immediately, then the costs are almost zero: you know what you changed, and so you can easily fix it. But if you wait a while, then the code is no longer present in your mind and it takes much more effort to fix the failing test. A side effect of this waiting is that it encourages others to do the same. If X doesn&#8217;t fix the tests he has broken, why should I care whether my tests run? As another side effect it may undermine the motivation of bug reporters to contribute tests if they see the project members don&#8217;t care about tests&#8230;</p>
<p>A special &#8220;behavior&#8221; of failing tests is that they don&#8217;t tell you whether they fail because of an incorrect test case or a bug in the code you test (in practice, this is sometimes obvious, sometimes not, depending on various factors). And they don&#8217;t tell you whether they only fail in your environment or everywhere. So, this means, if I run your tests and some of them fail, then all I can say may be: test X fails in my environment (the reason for saying &#8220;in my environment&#8221; is that I assume you don&#8217;t give me broken code, i.e. code with tests you know are failing). As it is an environment-specific issue, I will inform you about it, so it can get fixed. But if you provide broken code, then everyone using it will bother you with the same issue, at least theoretically ;-)</p>
<p>I think it is obvious what helps to deal with those dark sides: don&#8217;t provide code with tests you know are failing, it&#8217;s that simple!</p>
<p>I hope it wasn&#8217;t too confusing, and sorry about the rant at the beginning, but sometimes it&#8217;s necessary to vent one&#8217;s anger ;-)</p>]]></content:encoded>
         <category>testing</category>
      <feedburner:origLink>http://cakebaker.42dh.com/2008/05/09/the-dark-side-of-failing-tests/</feedburner:origLink></item>
      <item>
         <title>Running Tests from The Commandline in CakePHP</title>
         <link>http://feeds.feedburner.com/~r/cakephp/~3/285911201/running-tests-from-the-commandline-in-cakephp:4821f908-da38-4987-909a-25c74834cda3</link>
         <description>&lt;p&gt;Hey folks,&lt;/p&gt;
&lt;p&gt;I have contributed some new cool feature for you to the cake branch. A testsuite shell that allows you to run your tests from the commandline. It allows you to run all of the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;All core testcases at once&lt;/li&gt;
&lt;li&gt;All core test groups&lt;/li&gt;
&lt;li&gt;Each core test case individually&lt;/li&gt;
&lt;li&gt;All application-specific testcases at once&lt;/li&gt;
&lt;li&gt;All application-specific test groups&lt;/li&gt;
&lt;li&gt;Each core test case individually&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;It also supports plugins, which means you can run plugin cases and groups. &lt;/p&gt;
&lt;h3&gt;How does it work?&lt;/h3&gt;
&lt;p&gt;Actually it's very simple. You just call&lt;/p&gt;
&lt;pre class="terminal"&gt;
./cake testsuite category test_type file
&lt;/pre&gt;
&lt;p&gt;&lt;strong&gt;Category&lt;/strong&gt; can either be "core", "app" or the name of a plugin.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;The Test Type&lt;/strong&gt; can be "case", "group" or "all".&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;The file&lt;/strong&gt; is the name of the file with the folder prefix, but without the test.php / group.php suffix. Examples are: models/my_model, controllers/my_controller, etc.&lt;/p&gt;
&lt;h3&gt;Can you show me examples of valid calls to the testshell?&lt;/h3&gt;
&lt;p&gt;Yes, of course! Although I am going to directly copy this from the help screen from the testshell. Why should I reinvent the wheel? : P&lt;/p&gt;
&lt;pre class="terminal"&gt;
./cake testsuite app all
./cake testsuite core all
&lt;/pre&gt;
&lt;pre class="terminal"&gt;
./cake testsuite app case behaviors/debuggable
./cake testsuite app case models/my_model
./cake testsuite app case controllers/my_controller
&lt;/pre&gt;
&lt;pre class="terminal"&gt;
./cake testsuite core case file
./cake testsuite core case router
./cake testsuite core case set
&lt;/pre&gt;
&lt;pre class="terminal"&gt;
./cake testsuite app group mygroup
./cake testsuite core group acl
./cake testsuite core group socket
&lt;/pre&gt;
&lt;pre class="terminal"&gt;
./cake testsuite bugs case models/bug // for the plugin 'bugs' and its test case 'bug'
./cake testsuite bugs group bug // for the plugin bugs and its test group 'bug'
./cake testsuite bugs_me case models/bug // for the plugin 'bugs_me' and its test case 'bug'
./cake testsuite bugs_me group bug // for the plugin bugs_me and its test group 'bug'
&lt;/pre&gt;
&lt;h3&gt;What does the output look like?&lt;/h3&gt;
&lt;pre class="terminal"&gt;
Welcome to CakePHP v1.2.0.6311 beta Console
---------------------------------------------------------------
App : app
Path: /Applications/MAMP/htdocs/cakephp/branch/app
---------------------------------------------------------------
CakePHP Test Shell
---------------------------------------------------------------
Running core case router
Individual test case: libs/router.test.php
1/1 test cases complete: 190 passes. Macintosh-6:branch dakangelbge$ &lt;/pre&gt;
&lt;pre class="terminal"&gt;
elcome to CakePHP v1.2.0.6311 beta Console
---------------------------------------------------------------
App : app
Path: /Applications/MAMP/htdocs/cakephp/branch/app
---------------------------------------------------------------
CakePHP Test Shell
---------------------------------------------------------------
Running app all
All App Tests
2/2 test cases complete: 6 passes. Macintosh-6:branch dakangelbge$
&lt;/pre&gt;
&lt;p&gt;Got any questions? &lt;/p&gt;
&lt;p&gt;PS: There is some hidden feature in it, which I am not going to reveal until another thing got written about first. ; ) Anybody who knows already please do not spoil the fun. : P&lt;/p&gt;</description>
         <author>tim@debuggable.com</author>
         <guid isPermaLink="false">http://www.debuggable.com/posts/running-tests-from-the-commandline-in-cakephp:4821f908-da38-4987-909a-25c74834cda3</guid>
         <pubDate>Wed, 07 May 2008 23:53:23 PDT</pubDate>
      <feedburner:origLink>http://feeds.feedburner.com/~r/thinkingphp/~3/285902493/running-tests-from-the-commandline-in-cakephp:4821f908-da38-4987-909a-25c74834cda3</feedburner:origLink></item>
      <item>
         <title>Private</title>
         <link>http://feeds.feedburner.com/~r/cakephp/~3/285705207/</link>
         <description>&lt;p class="url"&gt;&lt;a rel="nofollow"&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;
We currently have a JRox Affiliate manager system: http://jrox.com/affiliate_software/ installed on our site and would like to hire a php/cake/jrox familiar consultant to perform some work for us. Our needs: a) Program Cake to read the jrox affiliate cookie into a cake variable. b) Add an "affiliate member" from our "add user form" function (created in cakephp) into the jrox affiliate member database with all data that is created via a Jrox "add new affiliate member" post. (We are currently adding new affiliate members manually using the built in jrox tool.) c) Look into some database errors that are shown on some sub pages. d) Ensure invites and downstream membership is functioning properly. Email for more details and we will get in touch. designtemp333@yahoo.com Thank you. Located in Los Angeles, CA &lt;/p&gt;</description>
         <guid isPermaLink="false">http://withcake.com/companies/#itm153</guid>
         <pubDate>Wed, 07 May 2008 15:50:03 PDT</pubDate>
         <category>Companies</category>
      <feedburner:origLink>http://withcake.com/companies/#itm153</feedburner:origLink></item>
   </channel>
</rss><!-- fe2.pipes.re3.yahoo.com uncompressed/chunked Sat May 17 04:58:09 PDT 2008 -->
