<?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 for beau.frusetta.com</title>
	<atom:link href="http://beau.frusetta.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://beau.frusetta.com</link>
	<description>PHP Web Developer, Photographer, &#38; Automotive Enthusiast &#124; Phoenix, AZ</description>
	<lastBuildDate>Thu, 11 Apr 2013 23:10:43 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
	<item>
		<title>Comment on Dominic&#8217;s Surgery Explained by Leticia</title>
		<link>http://beau.frusetta.com/2009/07/17/dominics-surgery-explained/#comment-1821</link>
		<dc:creator>Leticia</dc:creator>
		<pubDate>Thu, 11 Apr 2013 23:10:43 +0000</pubDate>
		<guid isPermaLink="false">http://beau.frusetta.com/?p=307#comment-1821</guid>
		<description><![CDATA[my daughter is now 22 and had brain surgery at pch also, great care, she was 9 when she had her brain tumor removed.]]></description>
		<content:encoded><![CDATA[<p>my daughter is now 22 and had brain surgery at pch also, great care, she was 9 when she had her brain tumor removed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Codeigniter 2, Capistrano, &amp; Phake by Jean-Pierre</title>
		<link>http://beau.frusetta.com/2010/11/16/codeigniter-2-capistrano-phake/#comment-1820</link>
		<dc:creator>Jean-Pierre</dc:creator>
		<pubDate>Thu, 11 Apr 2013 15:04:52 +0000</pubDate>
		<guid isPermaLink="false">http://beau.frusetta.com/?p=669#comment-1820</guid>
		<description><![CDATA[Hi,

I&#039;ve discovered phake and it&#039;s great. But I cannot get it to work with code igniter. You seems te be the only response to that conundrum for google. Hurray! But alas, your links do not work. Could you provide some help for my problem?

PS: greetings from France.]]></description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I&#8217;ve discovered phake and it&#8217;s great. But I cannot get it to work with code igniter. You seems te be the only response to that conundrum for google. Hurray! But alas, your links do not work. Could you provide some help for my problem?</p>
<p>PS: greetings from France.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Learning About Lighting by Justin</title>
		<link>http://beau.frusetta.com/2013/03/09/learning-about-lighting/#comment-1773</link>
		<dc:creator>Justin</dc:creator>
		<pubDate>Sun, 10 Mar 2013 03:05:21 +0000</pubDate>
		<guid isPermaLink="false">http://beau.frusetta.com/?p=2634#comment-1773</guid>
		<description><![CDATA[OMG that shirt is SO old! You&#039;re killing me! ; ) Let&#039;s fix this, PLEASE]]></description>
		<content:encoded><![CDATA[<p>OMG that shirt is SO old! You&#8217;re killing me! ; ) Let&#8217;s fix this, PLEASE</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Codeigniter &amp; PHP ActiveRecord by sherwin</title>
		<link>http://beau.frusetta.com/2011/07/07/codeigniter-php-activerecord/#comment-1747</link>
		<dc:creator>sherwin</dc:creator>
		<pubDate>Wed, 27 Feb 2013 16:16:46 +0000</pubDate>
		<guid isPermaLink="false">http://beau.frusetta.com/?p=1208#comment-1747</guid>
		<description><![CDATA[awesome! you&#039;re a big help. i&#039;ll give that a try. thanks.]]></description>
		<content:encoded><![CDATA[<p>awesome! you&#8217;re a big help. i&#8217;ll give that a try. thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Codeigniter &amp; PHP ActiveRecord by Beau Frusetta</title>
		<link>http://beau.frusetta.com/2011/07/07/codeigniter-php-activerecord/#comment-1746</link>
		<dc:creator>Beau Frusetta</dc:creator>
		<pubDate>Wed, 27 Feb 2013 16:00:38 +0000</pubDate>
		<guid isPermaLink="false">http://beau.frusetta.com/?p=1208#comment-1746</guid>
		<description><![CDATA[It depends on how you&#039;ve declared the function inside your model. If you&#039;ve declared the function as static, as in &quot;public static function authenticate()&quot;, then you&#039;d call it, from within your model functions, as self::authenticate(). If you&#039;ve just declared it as a standard public function, &quot;public function authenticate()&quot;, you&#039;d call it like self-&gt;authenticate(). Static functions can be called on an object, the model, without an object instantiated - you just have to make sure you don&#039;t reference any variables or functions that require an instantiated object.

For an authentication function, let&#039;s say it&#039;s attached to a User model (I&#039;d assume). You could setup your function as a static function - public static function authenticate(). Then, in the controller that processes the post from your form, you could call &quot;if (!empty($_POST))&quot; and then include the static call to authenticate - &quot;User::authenticate()&quot; - inside that if/then block. 

When your model executes the authenticate() function, you will have access to your post variables, just make sure to use codeigniter&#039;s input class by declaring a variable that references the CI instance at the beginning of the authenticate() function - &quot;$CI =&amp; get_instance();&quot; - then referencing &quot;$CI-&gt;input-&gt;post()&quot; to grab your posted variables.]]></description>
		<content:encoded><![CDATA[<p>It depends on how you&#8217;ve declared the function inside your model. If you&#8217;ve declared the function as static, as in &#8220;public static function authenticate()&#8221;, then you&#8217;d call it, from within your model functions, as self::authenticate(). If you&#8217;ve just declared it as a standard public function, &#8220;public function authenticate()&#8221;, you&#8217;d call it like self->authenticate(). Static functions can be called on an object, the model, without an object instantiated &#8211; you just have to make sure you don&#8217;t reference any variables or functions that require an instantiated object.</p>
<p>For an authentication function, let&#8217;s say it&#8217;s attached to a User model (I&#8217;d assume). You could setup your function as a static function &#8211; public static function authenticate(). Then, in the controller that processes the post from your form, you could call &#8220;if (!empty($_POST))&#8221; and then include the static call to authenticate &#8211; &#8220;User::authenticate()&#8221; &#8211; inside that if/then block. </p>
<p>When your model executes the authenticate() function, you will have access to your post variables, just make sure to use codeigniter&#8217;s input class by declaring a variable that references the CI instance at the beginning of the authenticate() function &#8211; &#8220;$CI =&#038; get_instance();&#8221; &#8211; then referencing &#8220;$CI->input->post()&#8221; to grab your posted variables.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Codeigniter &amp; PHP ActiveRecord by sherwin</title>
		<link>http://beau.frusetta.com/2011/07/07/codeigniter-php-activerecord/#comment-1745</link>
		<dc:creator>sherwin</dc:creator>
		<pubDate>Wed, 27 Feb 2013 15:44:18 +0000</pubDate>
		<guid isPermaLink="false">http://beau.frusetta.com/?p=1208#comment-1745</guid>
		<description><![CDATA[thanks, it does make sense except the self::find(). just need a little more info. currently i do have fatter models and skinny controllers. so if i had a function called authenticate() in my model, i would call it in my controller as self::authenticate()? usually it&#039;s $this-&gt;users_model-&gt;authenticate(). and in the controller, do i put that inside a if ($this-&gt;input-&gt;post()) conditional statement? right now CI is handling my validation so my model is inside the validation-&gt;run().]]></description>
		<content:encoded><![CDATA[<p>thanks, it does make sense except the self::find(). just need a little more info. currently i do have fatter models and skinny controllers. so if i had a function called authenticate() in my model, i would call it in my controller as self::authenticate()? usually it&#8217;s $this-&gt;users_model-&gt;authenticate(). and in the controller, do i put that inside a if ($this-&gt;input-&gt;post()) conditional statement? right now CI is handling my validation so my model is inside the validation-&gt;run().</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Codeigniter &amp; PHP ActiveRecord by Beau Frusetta</title>
		<link>http://beau.frusetta.com/2011/07/07/codeigniter-php-activerecord/#comment-1734</link>
		<dc:creator>Beau Frusetta</dc:creator>
		<pubDate>Mon, 25 Feb 2013 20:53:49 +0000</pubDate>
		<guid isPermaLink="false">http://beau.frusetta.com/?p=1208#comment-1734</guid>
		<description><![CDATA[For this &quot;example&quot;, I was just showing how to setup the model and access the data quickly.

If you have a need to access information over the basic queries that PHP ActiveRecord gives you, I&#039;d say build out functions in your model to handle that. 

To do that, you&#039;d just create a standard public function, and then reference the model using self::find(&lt;params&gt;) or something to that effect. 

I&#039;m a firm believer in Skinny Controllers/Fat Models, so all of your processing/logic should go in to your models when necessary and your controllers should only act as routers of requests and information to the views.

Does that make sense?]]></description>
		<content:encoded><![CDATA[<p>For this &#8220;example&#8221;, I was just showing how to setup the model and access the data quickly.</p>
<p>If you have a need to access information over the basic queries that PHP ActiveRecord gives you, I&#8217;d say build out functions in your model to handle that. </p>
<p>To do that, you&#8217;d just create a standard public function, and then reference the model using self::find(
<params>) or something to that effect. </p>
<p>I&#8217;m a firm believer in Skinny Controllers/Fat Models, so all of your processing/logic should go in to your models when necessary and your controllers should only act as routers of requests and information to the views.</p>
<p>Does that make sense?</params>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Codeigniter &amp; PHP ActiveRecord by sherwin</title>
		<link>http://beau.frusetta.com/2011/07/07/codeigniter-php-activerecord/#comment-1733</link>
		<dc:creator>sherwin</dc:creator>
		<pubDate>Mon, 25 Feb 2013 20:48:36 +0000</pubDate>
		<guid isPermaLink="false">http://beau.frusetta.com/?p=1208#comment-1733</guid>
		<description><![CDATA[looks like you&#039;re doing the query in the controller, not the model. are you no longer using the model? i&#039;ve been trying to see examples of how the model is implemented. from the activerecord site, they aren&#039;t using methods in the model class. if you are using the model class with, could you share a controller and model example? thanks.]]></description>
		<content:encoded><![CDATA[<p>looks like you&#8217;re doing the query in the controller, not the model. are you no longer using the model? i&#8217;ve been trying to see examples of how the model is implemented. from the activerecord site, they aren&#8217;t using methods in the model class. if you are using the model class with, could you share a controller and model example? thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on No Flicker All CSS Image Hover State Trick by Tom</title>
		<link>http://beau.frusetta.com/2008/06/16/no-flicker-all-css-image-hover-state-trick/#comment-1675</link>
		<dc:creator>Tom</dc:creator>
		<pubDate>Mon, 31 Dec 2012 00:13:17 +0000</pubDate>
		<guid isPermaLink="false">http://beau.frusetta.com/?p=57#comment-1675</guid>
		<description><![CDATA[Thanks!]]></description>
		<content:encoded><![CDATA[<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on 100 Day Challenge by Freemon Sandlewould</title>
		<link>http://beau.frusetta.com/2011/07/17/100-day-challenge/#comment-1603</link>
		<dc:creator>Freemon Sandlewould</dc:creator>
		<pubDate>Thu, 20 Dec 2012 00:35:57 +0000</pubDate>
		<guid isPermaLink="false">http://beau.frusetta.com/?p=1297#comment-1603</guid>
		<description><![CDATA[You been doing Squaw Peak?   Great strength + Aerobic.]]></description>
		<content:encoded><![CDATA[<p>You been doing Squaw Peak?   Great strength + Aerobic.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached
Database Caching using memcached

 Served from: beau.frusetta.com @ 2013-05-25 20:15:59 by W3 Total Cache -->