<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: initialize() callback for components</title>
	<atom:link href="http://cakebaker.42dh.com/2007/04/10/initialize-callback-for-components/feed/" rel="self" type="application/rss+xml" />
	<link>http://cakebaker.42dh.com/2007/04/10/initialize-callback-for-components/</link>
	<description>baking cakes with CakePHP</description>
	<lastBuildDate>Tue, 31 Jan 2012 15:12:14 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: cakebaker</title>
		<link>http://cakebaker.42dh.com/2007/04/10/initialize-callback-for-components/comment-page-1/#comment-6214</link>
		<dc:creator>cakebaker</dc:creator>
		<pubDate>Wed, 11 Apr 2007 15:41:52 +0000</pubDate>
		<guid isPermaLink="false">http://cakebaker.42dh.com/2007/04/10/initialize-callback-for-components/#comment-6214</guid>
		<description>@Dieter, nate: Thanks for your comments and your additional information.</description>
		<content:encoded><![CDATA[<p>@Dieter, nate: Thanks for your comments and your additional information.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nate</title>
		<link>http://cakebaker.42dh.com/2007/04/10/initialize-callback-for-components/comment-page-1/#comment-6212</link>
		<dc:creator>nate</dc:creator>
		<pubDate>Tue, 10 Apr 2007 20:08:28 +0000</pubDate>
		<guid isPermaLink="false">http://cakebaker.42dh.com/2007/04/10/initialize-callback-for-components/#comment-6212</guid>
		<description>Nope, this callback was a planned addition for a while, it&#039;s not going anywhere.  In fact, there are a couple more component callbacks planned for 1.2, as well as some new ones for helpers.

As far as the reason why it is there, it was added, as the name implies, so components could do basic initialization.  It should not be used for taking any automatic actions (like startup()), but simply so the component can make itself available for use, specifically in beforeFilter().

This way, if a component needs to initialize itself with data from the controller before being used in beforeFilter, it can do this automatically, rather than forcing users to add redundant code to their beforeFilter() methods.</description>
		<content:encoded><![CDATA[<p>Nope, this callback was a planned addition for a while, it&#8217;s not going anywhere.  In fact, there are a couple more component callbacks planned for 1.2, as well as some new ones for helpers.</p>
<p>As far as the reason why it is there, it was added, as the name implies, so components could do basic initialization.  It should not be used for taking any automatic actions (like startup()), but simply so the component can make itself available for use, specifically in beforeFilter().</p>
<p>This way, if a component needs to initialize itself with data from the controller before being used in beforeFilter, it can do this automatically, rather than forcing users to add redundant code to their beforeFilter() methods.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dieter@be</title>
		<link>http://cakebaker.42dh.com/2007/04/10/initialize-callback-for-components/comment-page-1/#comment-6210</link>
		<dc:creator>Dieter@be</dc:creator>
		<pubDate>Tue, 10 Apr 2007 18:29:26 +0000</pubDate>
		<guid isPermaLink="false">http://cakebaker.42dh.com/2007/04/10/initialize-callback-for-components/#comment-6210</guid>
		<description>well it could always disappear again off course, maybe this is just temporary or something.  I found this accidentally when &lt;a href=&quot;http://dieter.plaetinck.be/figuring_out_cakephp_new_authcomponent&quot; rel=&quot;nofollow&quot;&gt;researching cake&#039;s new auth component&lt;/a&gt;

bake on !</description>
		<content:encoded><![CDATA[<p>well it could always disappear again off course, maybe this is just temporary or something.  I found this accidentally when <a href="http://dieter.plaetinck.be/figuring_out_cakephp_new_authcomponent" rel="nofollow">researching cake&#8217;s new auth component</a></p>
<p>bake on !</p>
]]></content:encoded>
	</item>
</channel>
</rss>

