<?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/"
	xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: CakePHP 1.2: The Romance Continues &#8230;</title>
	<atom:link href="http://ahsanity.wordpress.com/2007/08/29/cakephp-12-the-romance-continues/feed/" rel="self" type="application/rss+xml" />
	<link>http://ahsanity.wordpress.com/2007/08/29/cakephp-12-the-romance-continues/</link>
	<description></description>
	<lastBuildDate>Fri, 30 Oct 2009 07:52:29 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Bryan</title>
		<link>http://ahsanity.wordpress.com/2007/08/29/cakephp-12-the-romance-continues/#comment-1768</link>
		<dc:creator>Bryan</dc:creator>
		<pubDate>Thu, 11 Jun 2009 01:04:28 +0000</pubDate>
		<guid isPermaLink="false">http://ahsanity.wordpress.com/2007/08/29/cakephp-12-the-romance-continues/#comment-1768</guid>
		<description>Well you all seem knowledgeable so I was wondering if you could help me out! I am struggling with having the authComponent use email instead of username for login.  Cake Version 1.2

This is what I have in app_controller:
	var $components = array(&#039;Auth&#039;);
	
    function beforeFilter() {
        $this-&gt;Auth-&gt;fields = array(
            &#039;username&#039; =&gt; &#039;email&#039;, 
            &#039;password&#039; =&gt; &#039;password&#039;
            );
    }

This is what I have in  login.ctp:
    echo $form-&gt;create(&#039;User&#039;, array(&#039;action&#039; =&gt; &#039;login&#039;));
    echo $form-&gt;input(&#039;email&#039;);
    echo $form-&gt;input(&#039;password&#039;);
    echo $form-&gt;end(&#039;Login&#039;);

I have verified that the registration is working - db is storing users perfectly w/ hashed password. Even after changing the fields in the app_controller before filter, I am getting &quot;Login failed. Invalid username or password.&quot; as the auth flash message.

Someone please help! - I can not believe I am running into a roadblock so early on...</description>
		<content:encoded><![CDATA[<p>Well you all seem knowledgeable so I was wondering if you could help me out! I am struggling with having the authComponent use email instead of username for login.  Cake Version 1.2</p>
<p>This is what I have in app_controller:<br />
	var $components = array(&#8216;Auth&#8217;);</p>
<p>    function beforeFilter() {<br />
        $this-&gt;Auth-&gt;fields = array(<br />
            &#8216;username&#8217; =&gt; &#8216;email&#8217;,<br />
            &#8216;password&#8217; =&gt; &#8216;password&#8217;<br />
            );<br />
    }</p>
<p>This is what I have in  login.ctp:<br />
    echo $form-&gt;create(&#8216;User&#8217;, array(&#8216;action&#8217; =&gt; &#8216;login&#8217;));<br />
    echo $form-&gt;input(&#8216;email&#8217;);<br />
    echo $form-&gt;input(&#8216;password&#8217;);<br />
    echo $form-&gt;end(&#8216;Login&#8217;);</p>
<p>I have verified that the registration is working &#8211; db is storing users perfectly w/ hashed password. Even after changing the fields in the app_controller before filter, I am getting &#8220;Login failed. Invalid username or password.&#8221; as the auth flash message.</p>
<p>Someone please help! &#8211; I can not believe I am running into a roadblock so early on&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: links for 2008-12-09 &#171; undefined</title>
		<link>http://ahsanity.wordpress.com/2007/08/29/cakephp-12-the-romance-continues/#comment-1732</link>
		<dc:creator>links for 2008-12-09 &#171; undefined</dc:creator>
		<pubDate>Tue, 09 Dec 2008 12:05:02 +0000</pubDate>
		<guid isPermaLink="false">http://ahsanity.wordpress.com/2007/08/29/cakephp-12-the-romance-continues/#comment-1732</guid>
		<description>[...] CakePHP 1.2: The Romance Continues … « Ahsan’s Laboratory (tags: webdev resources tips reference tutorial howto php framework features links) [...]</description>
		<content:encoded><![CDATA[<p>[...] CakePHP 1.2: The Romance Continues … « Ahsan’s Laboratory (tags: webdev resources tips reference tutorial howto php framework features links) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ahsan</title>
		<link>http://ahsanity.wordpress.com/2007/08/29/cakephp-12-the-romance-continues/#comment-1694</link>
		<dc:creator>Ahsan</dc:creator>
		<pubDate>Mon, 21 Apr 2008 04:09:28 +0000</pubDate>
		<guid isPermaLink="false">http://ahsanity.wordpress.com/2007/08/29/cakephp-12-the-romance-continues/#comment-1694</guid>
		<description>@Hasan: thx Hasan bhia, I wud luv to do that :)</description>
		<content:encoded><![CDATA[<p>@Hasan: thx Hasan bhia, I wud luv to do that <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nhm tanveer hossain khan (hasan)</title>
		<link>http://ahsanity.wordpress.com/2007/08/29/cakephp-12-the-romance-continues/#comment-1691</link>
		<dc:creator>nhm tanveer hossain khan (hasan)</dc:creator>
		<pubDate>Sat, 19 Apr 2008 16:33:25 +0000</pubDate>
		<guid isPermaLink="false">http://ahsanity.wordpress.com/2007/08/29/cakephp-12-the-romance-continues/#comment-1691</guid>
		<description>nicely presented article. why not arrange seminar at your office and invite our php team too.
so we could have more collaboration, perhaps.

best wishes,</description>
		<content:encoded><![CDATA[<p>nicely presented article. why not arrange seminar at your office and invite our php team too.<br />
so we could have more collaboration, perhaps.</p>
<p>best wishes,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: irfan</title>
		<link>http://ahsanity.wordpress.com/2007/08/29/cakephp-12-the-romance-continues/#comment-1662</link>
		<dc:creator>irfan</dc:creator>
		<pubDate>Sat, 29 Mar 2008 18:29:20 +0000</pubDate>
		<guid isPermaLink="false">http://ahsanity.wordpress.com/2007/08/29/cakephp-12-the-romance-continues/#comment-1662</guid>
		<description>1. blog tutorial of cakephp1.2 implemented fine.
 2. Simple Form Authentication in 1.2.x.x  by sean callan i have implemented on my system perfectly.

the question i have is how to  protect all my pages(controllers) using this authentication mechanism
simply said is how do i check in my posts_controller or xyzController.


thanks

irfan</description>
		<content:encoded><![CDATA[<p>1. blog tutorial of cakephp1.2 implemented fine.<br />
 2. Simple Form Authentication in 1.2.x.x  by sean callan i have implemented on my system perfectly.</p>
<p>the question i have is how to  protect all my pages(controllers) using this authentication mechanism<br />
simply said is how do i check in my posts_controller or xyzController.</p>
<p>thanks</p>
<p>irfan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cakephptips</title>
		<link>http://ahsanity.wordpress.com/2007/08/29/cakephp-12-the-romance-continues/#comment-1654</link>
		<dc:creator>cakephptips</dc:creator>
		<pubDate>Tue, 11 Mar 2008 08:22:05 +0000</pubDate>
		<guid isPermaLink="false">http://ahsanity.wordpress.com/2007/08/29/cakephp-12-the-romance-continues/#comment-1654</guid>
		<description>Very nice overview! CakePHP is getting better and better... Well chosen title :)</description>
		<content:encoded><![CDATA[<p>Very nice overview! CakePHP is getting better and better&#8230; Well chosen title <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://ahsanity.wordpress.com/2007/08/29/cakephp-12-the-romance-continues/#comment-1601</link>
		<dc:creator>John</dc:creator>
		<pubDate>Wed, 30 Jan 2008 09:11:02 +0000</pubDate>
		<guid isPermaLink="false">http://ahsanity.wordpress.com/2007/08/29/cakephp-12-the-romance-continues/#comment-1601</guid>
		<description>Hi - I think you really capture the spirit of Cake here. Once you have grasped how everything works and start to get a bit of familiarity with the framework, you really don&#039;t want to go back to old fashioned ways of working. I started using Cake about a year ago and now I build pretty much everything using it. When I have to go back and work with sites built with random collections of functions etc. my heart sinks - bad enough with the code I have written myself, god forbid I have to work with what colleagues and ex-colleagues leave behind.

Last week I discovered 1.2 - and I am gutted - I cannot believe that I have been using 1.1 all this time. 1.1 is great but as you say here there are so many great things built into the core of 1.2 - pagination, improved validation, &#039;with&#039; support for HABTM relationships. Best of all the manual even in its half finished state is superb.

I just can&#039;t believe it took me so long to get to 1.2

Cheers

John</description>
		<content:encoded><![CDATA[<p>Hi &#8211; I think you really capture the spirit of Cake here. Once you have grasped how everything works and start to get a bit of familiarity with the framework, you really don&#8217;t want to go back to old fashioned ways of working. I started using Cake about a year ago and now I build pretty much everything using it. When I have to go back and work with sites built with random collections of functions etc. my heart sinks &#8211; bad enough with the code I have written myself, god forbid I have to work with what colleagues and ex-colleagues leave behind.</p>
<p>Last week I discovered 1.2 &#8211; and I am gutted &#8211; I cannot believe that I have been using 1.1 all this time. 1.1 is great but as you say here there are so many great things built into the core of 1.2 &#8211; pagination, improved validation, &#8216;with&#8217; support for HABTM relationships. Best of all the manual even in its half finished state is superb.</p>
<p>I just can&#8217;t believe it took me so long to get to 1.2</p>
<p>Cheers</p>
<p>John</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pere</title>
		<link>http://ahsanity.wordpress.com/2007/08/29/cakephp-12-the-romance-continues/#comment-1396</link>
		<dc:creator>Pere</dc:creator>
		<pubDate>Mon, 31 Dec 2007 15:39:26 +0000</pubDate>
		<guid isPermaLink="false">http://ahsanity.wordpress.com/2007/08/29/cakephp-12-the-romance-continues/#comment-1396</guid>
		<description>Thanks a lot for this compilation. Really useful!.

Pere.</description>
		<content:encoded><![CDATA[<p>Thanks a lot for this compilation. Really useful!.</p>
<p>Pere.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://ahsanity.wordpress.com/2007/08/29/cakephp-12-the-romance-continues/#comment-472</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Fri, 21 Sep 2007 10:44:56 +0000</pubDate>
		<guid isPermaLink="false">http://ahsanity.wordpress.com/2007/08/29/cakephp-12-the-romance-continues/#comment-472</guid>
		<description>hi
this is steve

I need the replace ment for this function
Digest::SHA256.hexdigest(password + user.password_salt) in php.
currently this is in Ruby on Rails.

Thanks
Steve</description>
		<content:encoded><![CDATA[<p>hi<br />
this is steve</p>
<p>I need the replace ment for this function<br />
Digest::SHA256.hexdigest(password + user.password_salt) in php.<br />
currently this is in Ruby on Rails.</p>
<p>Thanks<br />
Steve</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Neat slide on Cake 1.2 &#124; Web 2.0 Startup Entrepreneur</title>
		<link>http://ahsanity.wordpress.com/2007/08/29/cakephp-12-the-romance-continues/#comment-451</link>
		<dc:creator>Neat slide on Cake 1.2 &#124; Web 2.0 Startup Entrepreneur</dc:creator>
		<pubDate>Sun, 09 Sep 2007 14:35:47 +0000</pubDate>
		<guid isPermaLink="false">http://ahsanity.wordpress.com/2007/08/29/cakephp-12-the-romance-continues/#comment-451</guid>
		<description>[...] 1.2 has never ceased to amaze me ever since I started my romantic journey with her. Even though it is still marked as in &#8220;Alpha&#8221; development stage, I find it to be too [...]</description>
		<content:encoded><![CDATA[<p>[...] 1.2 has never ceased to amaze me ever since I started my romantic journey with her. Even though it is still marked as in &#8220;Alpha&#8221; development stage, I find it to be too [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
