<?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"
	>
<channel>
	<title>Comments for NickAWilliams.com</title>
	<atom:link href="http://www.nickawilliams.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.nickawilliams.com</link>
	<description>For everything Nick!</description>
	<pubDate>Tue, 06 Jan 2009 04:15:05 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
		<item>
		<title>Comment on The New .phar PHP Package by Pablo Viquez</title>
		<link>http://www.nickawilliams.com/2008/09/04/the-new-phar-php-package/#comment-41</link>
		<dc:creator>Pablo Viquez</dc:creator>
		<pubDate>Tue, 30 Sep 2008 00:12:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.nickawilliams.com/?p=29#comment-41</guid>
		<description>I did a presentation about PHAR for the office. I made available my slides here: http://www.pabloviquez.com/2008/09/phar-files/

In case you're interested.</description>
		<content:encoded><![CDATA[<p>I did a presentation about PHAR for the office. I made available my slides here: <a href="http://www.pabloviquez.com/2008/09/phar-files/" rel="nofollow">http://www.pabloviquez.com/2008/09/phar-files/</a></p>
<p>In case you&#8217;re interested.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on The New .phar PHP Package by Nick Williams&#8217; Blog: The New .phar PHP Package : Dragonfly Networks</title>
		<link>http://www.nickawilliams.com/2008/09/04/the-new-phar-php-package/#comment-40</link>
		<dc:creator>Nick Williams&#8217; Blog: The New .phar PHP Package : Dragonfly Networks</dc:creator>
		<pubDate>Thu, 25 Sep 2008 10:30:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.nickawilliams.com/?p=29#comment-40</guid>
		<description>[...] a quick post to his blog, Nick Williams points out a very handy extension for PHP - [...]</description>
		<content:encoded><![CDATA[<p>[...] a quick post to his blog, Nick Williams points out a very handy extension for PHP - [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on The New .phar PHP Package by nick</title>
		<link>http://www.nickawilliams.com/2008/09/04/the-new-phar-php-package/#comment-39</link>
		<dc:creator>nick</dc:creator>
		<pubDate>Wed, 24 Sep 2008 21:28:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.nickawilliams.com/?p=29#comment-39</guid>
		<description>That's great to hear! I've been thinking about using this package in my next project, and it's sounding more and more viable given how flexible it seems to be.</description>
		<content:encoded><![CDATA[<p>That&#8217;s great to hear! I&#8217;ve been thinking about using this package in my next project, and it&#8217;s sounding more and more viable given how flexible it seems to be.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on The New .phar PHP Package by Pablo</title>
		<link>http://www.nickawilliams.com/2008/09/04/the-new-phar-php-package/#comment-38</link>
		<dc:creator>Pablo</dc:creator>
		<pubDate>Wed, 24 Sep 2008 21:22:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.nickawilliams.com/?p=29#comment-38</guid>
		<description>Acctually, the performance is pretty good, there's no big impact, and you can use with APC to do some code cache.

BTW, the PEAR package now comes as a Phar.

Regarding the the phar over http, it's very easy, just add the application type to your apache configuration, the phars are designed to run out of the box, more if you use Phar::webphar on your stub.</description>
		<content:encoded><![CDATA[<p>Acctually, the performance is pretty good, there&#8217;s no big impact, and you can use with APC to do some code cache.</p>
<p>BTW, the PEAR package now comes as a Phar.</p>
<p>Regarding the the phar over http, it&#8217;s very easy, just add the application type to your apache configuration, the phars are designed to run out of the box, more if you use Phar::webphar on your stub.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on PHP Patterns, Part I by xrado</title>
		<link>http://www.nickawilliams.com/2007/09/16/hello-world/#comment-37</link>
		<dc:creator>xrado</dc:creator>
		<pubDate>Wed, 24 Sep 2008 20:59:25 +0000</pubDate>
		<guid isPermaLink="false">#comment-37</guid>
		<description>i see, so if i have defined $DB for a global db connection and this a know rule anyone should stick to it, that wont be a problem? ..maybe bad pratice but shorter code  ...or there are other bad sides?</description>
		<content:encoded><![CDATA[<p>i see, so if i have defined $DB for a global db connection and this a know rule anyone should stick to it, that wont be a problem? ..maybe bad pratice but shorter code  &#8230;or there are other bad sides?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on The New .phar PHP Package by nick</title>
		<link>http://www.nickawilliams.com/2008/09/04/the-new-phar-php-package/#comment-36</link>
		<dc:creator>nick</dc:creator>
		<pubDate>Wed, 24 Sep 2008 20:51:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.nickawilliams.com/?p=29#comment-36</guid>
		<description>From what I've been able to find, there isn't any mention of a way to do that. I'll update my post if I run across anything though.

As a workaround, if you're using Apache you could do a mod_rewrite and watch for URLs with .phar in them. Then you could pass the URL contents to a PHP script that could in-turn open the file for you.</description>
		<content:encoded><![CDATA[<p>From what I&#8217;ve been able to find, there isn&#8217;t any mention of a way to do that. I&#8217;ll update my post if I run across anything though.</p>
<p>As a workaround, if you&#8217;re using Apache you could do a mod_rewrite and watch for URLs with .phar in them. Then you could pass the URL contents to a PHP script that could in-turn open the file for you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on PHP Patterns, Part I by nick</title>
		<link>http://www.nickawilliams.com/2007/09/16/hello-world/#comment-35</link>
		<dc:creator>nick</dc:creator>
		<pubDate>Wed, 24 Sep 2008 20:43:05 +0000</pubDate>
		<guid isPermaLink="false">#comment-35</guid>
		<description>The problem with using global variables is that for larger applications you are opening yourself up to problems that are very difficult to trace (specifically, naming collisions).Declaring a global $DB variable means that from that point forward, nowhere else in your entire application can you use the variable $DB for anything else. If you do by mistake, you could very easily run into problems that aren't immediately apparrent.

You won't get an error, but what happens if another piece of code uses it expecting a string but getting a database connection instead?  This is especially a problem when more than one person is writing code for the same project. While you might remember that you've already used $DB, someone else on your dev team might not know that and  create $DB for their own purposes. This problem also results from the re-use of variables, which is also generally a big no-no.</description>
		<content:encoded><![CDATA[<p>The problem with using global variables is that for larger applications you are opening yourself up to problems that are very difficult to trace (specifically, naming collisions).Declaring a global $DB variable means that from that point forward, nowhere else in your entire application can you use the variable $DB for anything else. If you do by mistake, you could very easily run into problems that aren&#8217;t immediately apparrent.</p>
<p>You won&#8217;t get an error, but what happens if another piece of code uses it expecting a string but getting a database connection instead?  This is especially a problem when more than one person is writing code for the same project. While you might remember that you&#8217;ve already used $DB, someone else on your dev team might not know that and  create $DB for their own purposes. This problem also results from the re-use of variables, which is also generally a big no-no.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on PHP Patterns, Part I by xrado</title>
		<link>http://www.nickawilliams.com/2007/09/16/hello-world/#comment-34</link>
		<dc:creator>xrado</dc:creator>
		<pubDate>Wed, 24 Sep 2008 20:26:17 +0000</pubDate>
		<guid isPermaLink="false">#comment-34</guid>
		<description>what if u say global $DB; and you can have connection available any where, is something wrong with that?</description>
		<content:encoded><![CDATA[<p>what if u say global $DB; and you can have connection available any where, is something wrong with that?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on The New .phar PHP Package by Vincent</title>
		<link>http://www.nickawilliams.com/2008/09/04/the-new-phar-php-package/#comment-33</link>
		<dc:creator>Vincent</dc:creator>
		<pubDate>Wed, 24 Sep 2008 19:29:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.nickawilliams.com/?p=29#comment-33</guid>
		<description>Can you call a specific file within the Phar archive from HTTP? Is there some kind of URL mechanism?</description>
		<content:encoded><![CDATA[<p>Can you call a specific file within the Phar archive from HTTP? Is there some kind of URL mechanism?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Make PHP Growl by nick</title>
		<link>http://www.nickawilliams.com/2008/03/26/make-php-growl/#comment-28</link>
		<dc:creator>nick</dc:creator>
		<pubDate>Sat, 06 Sep 2008 20:09:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.nickawilliams.com/2008/06/04/make-php-growl/#comment-28</guid>
		<description>Growl itself actually provides password authentication for notifications received over the network. I'm not sure how secure it is though, but it should have things covered for most cases.

One thing that would be nice on the Growl side is if it would allow for things like custom icons. Then if you had more than one web app sending them you could more easily differentiate between their notifications.</description>
		<content:encoded><![CDATA[<p>Growl itself actually provides password authentication for notifications received over the network. I&#8217;m not sure how secure it is though, but it should have things covered for most cases.</p>
<p>One thing that would be nice on the Growl side is if it would allow for things like custom icons. Then if you had more than one web app sending them you could more easily differentiate between their notifications.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
