<?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 Matt Mueller</title>
	<atom:link href="http://mattmueller.me/blog/comments/feed" rel="self" type="application/rss+xml" />
	<link>http://mattmueller.me/blog</link>
	<description></description>
	<lastBuildDate>Mon, 19 Dec 2011 08:06:42 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on Quick Tip: Node.js + Socket.io + Authentication by Andreas</title>
		<link>http://mattmueller.me/blog/quick-tip-node-js-socket-io-authentication/comment-page-1#comment-187</link>
		<dc:creator>Andreas</dc:creator>
		<pubDate>Mon, 19 Dec 2011 08:06:42 +0000</pubDate>
		<guid isPermaLink="false">http://mattmueller.me/blog/node-js-socket-io-authentication#comment-187</guid>
		<description>I&#039;d suggest you submit the sessionid by cookie (or in the template context and put it into the dom which avoids any cookie hassles). Then (client-side) on connection, you can emit the sessionid. Serverside the connection listens and does normal session-id authentication. It might drop the connection if the session id is invalid.

For some functions it will be easiest to sidestep socket.io, and just implement the &quot;authenticated&quot; part of the api as get/post requests.

And if that doesn&#039;t work you should probably not be using socket.io and just implement a socket on your own, which is not that difficult either.</description>
		<content:encoded><![CDATA[<p>I&#8217;d suggest you submit the sessionid by cookie (or in the template context and put it into the dom which avoids any cookie hassles). Then (client-side) on connection, you can emit the sessionid. Serverside the connection listens and does normal session-id authentication. It might drop the connection if the session id is invalid.</p>
<p>For some functions it will be easiest to sidestep socket.io, and just implement the &#8220;authenticated&#8221; part of the api as get/post requests.</p>
<p>And if that doesn&#8217;t work you should probably not be using socket.io and just implement a socket on your own, which is not that difficult either.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on PHPUnit Testing in the Browser by Matt Mueller</title>
		<link>http://mattmueller.me/blog/phpunit-test-report-unit-testing-in-the-browser/comment-page-1#comment-182</link>
		<dc:creator>Matt Mueller</dc:creator>
		<pubDate>Thu, 25 Aug 2011 07:50:15 +0000</pubDate>
		<guid isPermaLink="false">http://mattmueller.me/blog/?p=514#comment-182</guid>
		<description>It&#039;s the man himself! Haha, I don&#039;t like it either... The *only* reason I bundled it was because I couldn&#039;t get it working on the latest version of PHPUnit (at the time). It was a bad hack, but it worked for my purposes. This project needs an update, now that I&#039;m working with PHP &amp; PHPUnit again, I plan on dusting off the cobwebs.</description>
		<content:encoded><![CDATA[<p>It&#8217;s the man himself! Haha, I don&#8217;t like it either&#8230; The *only* reason I bundled it was because I couldn&#8217;t get it working on the latest version of PHPUnit (at the time). It was a bad hack, but it worked for my purposes. This project needs an update, now that I&#8217;m working with PHP &amp; PHPUnit again, I plan on dusting off the cobwebs.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on PHPUnit Testing in the Browser by Sebastian Bergmann</title>
		<link>http://mattmueller.me/blog/phpunit-test-report-unit-testing-in-the-browser/comment-page-1#comment-181</link>
		<dc:creator>Sebastian Bergmann</dc:creator>
		<pubDate>Thu, 25 Aug 2011 07:44:10 +0000</pubDate>
		<guid isPermaLink="false">http://mattmueller.me/blog/?p=514#comment-181</guid>
		<description>Looks nice, good job! However, I do not like the fact that you are bundling PHPUnit in your GitHub repository. It would be nice to just have a separate PHPUnit_WebUI package that can be installed in addition to PHPUnit. Please contact me via email in case you want to discuss this further.</description>
		<content:encoded><![CDATA[<p>Looks nice, good job! However, I do not like the fact that you are bundling PHPUnit in your GitHub repository. It would be nice to just have a separate PHPUnit_WebUI package that can be installed in addition to PHPUnit. Please contact me via email in case you want to discuss this further.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on PHPUnit Testing in the Browser by Greenbar: Browser-Based TDD for Python &#124; Yet Another Programming Blog</title>
		<link>http://mattmueller.me/blog/phpunit-test-report-unit-testing-in-the-browser/comment-page-1#comment-180</link>
		<dc:creator>Greenbar: Browser-Based TDD for Python &#124; Yet Another Programming Blog</dc:creator>
		<pubDate>Mon, 22 Aug 2011 01:30:48 +0000</pubDate>
		<guid isPermaLink="false">http://mattmueller.me/blog/?p=514#comment-180</guid>
		<description>[...] PHPUnit Test Report (PHP) [...]</description>
		<content:encoded><![CDATA[<p>[...] PHPUnit Test Report (PHP) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Quick Tip: Node.js + Socket.io + Authentication by Sam Lown</title>
		<link>http://mattmueller.me/blog/quick-tip-node-js-socket-io-authentication/comment-page-1#comment-179</link>
		<dc:creator>Sam Lown</dc:creator>
		<pubDate>Thu, 04 Aug 2011 09:40:31 +0000</pubDate>
		<guid isPermaLink="false">http://mattmueller.me/blog/node-js-socket-io-authentication#comment-179</guid>
		<description>This strikes me as a tad in-secure from the outset. Unless you&#039;re sending a password provided by the client to the socket with the user ID and authorizing again, it would be pretty trivial to set a breakpoint in your browser and put in a different user ID. The socket wouldn&#039;t know any better. (I guess this is called socket hijacking?).

Ruby on Rails for example gets around this problem by hashing (SHA512) the session information using a secret key on the server. This way we know that the user id hasn&#039;t been tampered with. (Unless your code has been stolen ;-)

Cheers, sam</description>
		<content:encoded><![CDATA[<p>This strikes me as a tad in-secure from the outset. Unless you&#8217;re sending a password provided by the client to the socket with the user ID and authorizing again, it would be pretty trivial to set a breakpoint in your browser and put in a different user ID. The socket wouldn&#8217;t know any better. (I guess this is called socket hijacking?).</p>
<p>Ruby on Rails for example gets around this problem by hashing (SHA512) the session information using a secret key on the server. This way we know that the user id hasn&#8217;t been tampered with. (Unless your code has been stolen <img src='http://mattmueller.me/blog/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>Cheers, sam</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on PHPUnit Testing in the Browser by Nick Turner</title>
		<link>http://mattmueller.me/blog/phpunit-test-report-unit-testing-in-the-browser/comment-page-1#comment-178</link>
		<dc:creator>Nick Turner</dc:creator>
		<pubDate>Mon, 18 Jul 2011 20:27:08 +0000</pubDate>
		<guid isPermaLink="false">http://mattmueller.me/blog/?p=514#comment-178</guid>
		<description>Thanks Matt,

Looking at your effort gave me the incentive to go off and write my own version. Although the source is completely different I based the HTML style on yours and gave you credit in the report footer and in the README files.

Instead of using the JSON listener and then deciphering its output, my version inserts a proper HTML printer object which derived from the base PHPUnit framework printer interface.

It also uses the normal &#039;runner&#039; object used by the command line version so that most command line options are available via URL parameters.

Once again to use it you just drop the example &#039;index.php&#039; file into your tests directory and point the browser at it. If the PHPUnit and PHPUnit_Html projects are not in the PHP include path then you need to either add them there or edit the &#039;index.php&#039; file to add the paths to the projects.

It also has the option to view the source code of each test in the report.

You can see a demo of the output generated at http://www.nickturner.co.uk/libs/PHPUnit_Html/demo/.

For more details read the README file at https://github.com/nickturner/PHPUnit_Html/

Thanks for the inspiration and hope you don&#039;t mind me reusing some of your ideas.

Nick</description>
		<content:encoded><![CDATA[<p>Thanks Matt,</p>
<p>Looking at your effort gave me the incentive to go off and write my own version. Although the source is completely different I based the HTML style on yours and gave you credit in the report footer and in the README files.</p>
<p>Instead of using the JSON listener and then deciphering its output, my version inserts a proper HTML printer object which derived from the base PHPUnit framework printer interface.</p>
<p>It also uses the normal &#8216;runner&#8217; object used by the command line version so that most command line options are available via URL parameters.</p>
<p>Once again to use it you just drop the example &#8216;index.php&#8217; file into your tests directory and point the browser at it. If the PHPUnit and PHPUnit_Html projects are not in the PHP include path then you need to either add them there or edit the &#8216;index.php&#8217; file to add the paths to the projects.</p>
<p>It also has the option to view the source code of each test in the report.</p>
<p>You can see a demo of the output generated at <a href="http://www.nickturner.co.uk/libs/PHPUnit_Html/demo/" rel="nofollow">http://www.nickturner.co.uk/libs/PHPUnit_Html/demo/</a>.</p>
<p>For more details read the README file at <a href="https://github.com/nickturner/PHPUnit_Html/" rel="nofollow">https://github.com/nickturner/PHPUnit_Html/</a></p>
<p>Thanks for the inspiration and hope you don&#8217;t mind me reusing some of your ideas.</p>
<p>Nick</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on PHPUnit Testing in the Browser by JKrems</title>
		<link>http://mattmueller.me/blog/phpunit-test-report-unit-testing-in-the-browser/comment-page-1#comment-174</link>
		<dc:creator>JKrems</dc:creator>
		<pubDate>Tue, 14 Jun 2011 14:20:55 +0000</pubDate>
		<guid isPermaLink="false">http://mattmueller.me/blog/?p=514#comment-174</guid>
		<description>Working on a yii-project and made a few minor changes to your script (for example *Test.php for filenames and running a bootstrap.php if present in the test directory). Now it &quot;just works&quot; when you set the path to your &quot;/protected/tests/&quot;-directory. :)

If someone could use it: https://github.com/JKrems/yii-report</description>
		<content:encoded><![CDATA[<p>Working on a yii-project and made a few minor changes to your script (for example *Test.php for filenames and running a bootstrap.php if present in the test directory). Now it &#8220;just works&#8221; when you set the path to your &#8220;/protected/tests/&#8221;-directory. <img src='http://mattmueller.me/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>If someone could use it: <a href="https://github.com/JKrems/yii-report" rel="nofollow">https://github.com/JKrems/yii-report</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on PHPUnit Testing in the Browser by NSinopoli</title>
		<link>http://mattmueller.me/blog/phpunit-test-report-unit-testing-in-the-browser/comment-page-1#comment-173</link>
		<dc:creator>NSinopoli</dc:creator>
		<pubDate>Mon, 04 Apr 2011 19:32:31 +0000</pubDate>
		<guid isPermaLink="false">http://mattmueller.me/blog/?p=514#comment-173</guid>
		<description>Hi Matt - thanks for the kind words.  I&#039;ve another project in mind if you&#039;d be interested in collaborating.  I&#039;d like to build a nice logging front-end (as an alternative to going through painfully verbose log files).  I&#039;m really impressed with your html/css skills and would love to have you cook up something akin to what you did with the PHPUnit project.  I doubt it would take very long - shoot me an email and we can discuss the details!  Thanks.</description>
		<content:encoded><![CDATA[<p>Hi Matt &#8211; thanks for the kind words.  I&#8217;ve another project in mind if you&#8217;d be interested in collaborating.  I&#8217;d like to build a nice logging front-end (as an alternative to going through painfully verbose log files).  I&#8217;m really impressed with your html/css skills and would love to have you cook up something akin to what you did with the PHPUnit project.  I doubt it would take very long &#8211; shoot me an email and we can discuss the details!  Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on PHPUnit Testing in the Browser by Matt Mueller</title>
		<link>http://mattmueller.me/blog/phpunit-test-report-unit-testing-in-the-browser/comment-page-1#comment-171</link>
		<dc:creator>Matt Mueller</dc:creator>
		<pubDate>Tue, 22 Mar 2011 15:14:34 +0000</pubDate>
		<guid isPermaLink="false">http://mattmueller.me/blog/?p=514#comment-171</guid>
		<description>Wow NSinopoli. Your fork looks fantastic! Thanks for taking the time to bring this project to the next level! I&#039;m going to take a look at your fork and test it out as soon as I can, then I&#039;ll either integrate it into the main project or just redirect to your project page. I also like the name &quot;Visual PHPUnit&quot; much better :-D.</description>
		<content:encoded><![CDATA[<p>Wow NSinopoli. Your fork looks fantastic! Thanks for taking the time to bring this project to the next level! I&#8217;m going to take a look at your fork and test it out as soon as I can, then I&#8217;ll either integrate it into the main project or just redirect to your project page. I also like the name &#8220;Visual PHPUnit&#8221; much better <img src='http://mattmueller.me/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':-D' class='wp-smiley' /> .</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on PHPUnit Testing in the Browser by NSinopoli</title>
		<link>http://mattmueller.me/blog/phpunit-test-report-unit-testing-in-the-browser/comment-page-1#comment-170</link>
		<dc:creator>NSinopoli</dc:creator>
		<pubDate>Tue, 22 Mar 2011 03:06:06 +0000</pubDate>
		<guid isPermaLink="false">http://mattmueller.me/blog/?p=514#comment-170</guid>
		<description>Hi Matt,

Thanks for releasing your code!  I found your project after searching for a front-end for PHPUnit on StackOverflow.  I ended up forking it and making a bunch of modifications - the most notable of which, I think, is the ability to log the unit test results (both visually and with JSON).  Check it out here:

https://github.com/NSinopoli/VisualPHPUnit

Thanks again!</description>
		<content:encoded><![CDATA[<p>Hi Matt,</p>
<p>Thanks for releasing your code!  I found your project after searching for a front-end for PHPUnit on StackOverflow.  I ended up forking it and making a bunch of modifications &#8211; the most notable of which, I think, is the ability to log the unit test results (both visually and with JSON).  Check it out here:</p>
<p><a href="https://github.com/NSinopoli/VisualPHPUnit" rel="nofollow">https://github.com/NSinopoli/VisualPHPUnit</a></p>
<p>Thanks again!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

