<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Coffee on the Keyboard &#187; microsoft</title>
	<atom:link href="http://coffeeonthekeyboard.com/tag/microsoft/feed/" rel="self" type="application/rss+xml" />
	<link>http://coffeeonthekeyboard.com</link>
	<description>by James Socol</description>
	<lastBuildDate>Mon, 06 Feb 2012 23:33:42 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<atom:link rel="hub" href="http://pubsubhubbub.appspot.com"/>		<item>
		<title>Google Loves Competition</title>
		<link>http://coffeeonthekeyboard.com/google-loves-competition-244/</link>
		<comments>http://coffeeonthekeyboard.com/google-loves-competition-244/#comments</comments>
		<pubDate>Thu, 09 Jul 2009 14:30:34 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[chrome]]></category>
		<category><![CDATA[competition]]></category>
		<category><![CDATA[economy]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[market]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[news]]></category>
		<category><![CDATA[operating system]]></category>
		<category><![CDATA[os]]></category>
		<category><![CDATA[reaction]]></category>

		<guid isPermaLink="false">http://coffeeonthekeyboard.com/?p=244</guid>
		<description><![CDATA[Google has announced a new Chrome-based operating system. Of course, if you read blogs like mine, there&#8217;s no way you didn&#8217;t already know that. It amazes me how many people assume Google wants to drive Microsoft out of business. From a ZDNet article: &#8220;The Chrome OS is a direct attack against Microsoft’s lucrative &#8211; albeit [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://news.google.com/news?q=google+os">Google has announced</a> a new Chrome-based operating system. Of course, if you read blogs like mine, there&#8217;s no way you didn&#8217;t already know that.</p>
<p>It amazes me how many people assume Google wants to drive Microsoft out of business. From <a href="http://blogs.zdnet.com/BTL/?p=20815">a ZDNet article</a>: &#8220;The Chrome OS is a direct attack against Microsoft’s lucrative &#8211; albeit vulnerable &#8211; Windows operating system.&#8221;</p>
<p>&#8220;Lucrative?&#8221; Isn&#8217;t Google&#8217;s OS free? &#8220;Vulerable?&#8221; Most people <a href="http://www.youtube.com/watch?v=o4MwTvtyrUQ">don&#8217;t know enough</a> to change browsers, let alone operating systems. <a href="http://linuxhaters.blogspot.com/2008/07/fallacy-of-choice.html">Most of them</a> want it to &#8220;just work,&#8221; not to be forced to learn new things.</p>
<p>Maybe, deep inside Google, in the minds of some of its most hardcore decision makers, Microsoft is the evil empire, to be vanquished heroically. But on a more realistic level, I think Google is happier when there&#8217;s <em>more</em> competition, not less. If you listen to many of the comments surrounding the release of Chrome and its source code, there is a distinct sense that Google itself is better off if there are a dozens major browsers, all competing and driving standards adoption and development.</p>
<p>So too, I think, with operating systems. Google is designing an open-source system that will, hopefully, lead to the creation of additional platforms and push others to make their user experiences better.</p>
<p>Google isn&#8217;t trying to take Microsoft down, but encouraging a more competitive marketplace, in the hope that competition will keep everyone innovative and honest.</p>
]]></content:encoded>
			<wfw:commentRss>http://coffeeonthekeyboard.com/google-loves-competition-244/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Connecting PHP, IIS 6, and SQL Server 2005</title>
		<link>http://coffeeonthekeyboard.com/connecting-php-iis-6-and-sql-server-2005-129/</link>
		<comments>http://coffeeonthekeyboard.com/connecting-php-iis-6-and-sql-server-2005-129/#comments</comments>
		<pubDate>Thu, 23 Oct 2008 16:33:20 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[Back-end]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[iis]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[pdo]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[sql server]]></category>

		<guid isPermaLink="false">http://coffeeonthekeyboard.com/?p=129</guid>
		<description><![CDATA[I know I will be accosted for this, but at work we needed to run PHP on IIS 6 (fairly simple) and connect it to a remote database server running SQL Server 2005 (not terrible, once I gave up the Microsoft way). Yeah yeah, do it in ASP.NET, I know. While I like C# as [...]]]></description>
			<content:encoded><![CDATA[<p>I know I will be accosted for this, but at work we needed to run PHP on IIS 6 (<a href="http://www.peterguy.com/php/install_IIS6.html">fairly simple</a>) and connect it to a remote database server running SQL Server 2005 (not terrible, once I gave up the Microsoft way).</p>
<p>Yeah yeah, do it in ASP.NET, I know. While I like C# as a language, I kind of hate ASP.NET as a framework, so what are you gonna do? Java was an option but the start-up time was too long for this project.</p>
<p>My first Google search for &#8220;PHP SQL Server 2005&#8243; turned up the Microsoft <a href="http://www.microsoft.com/sqlserver/2005/en/us/PHP-Driver.aspx">SQL Server 2005 Driver for PHP</a>. &#8220;Well great!&#8221; I thought. It&#8217;s just a PHP extension, very easy to install on Windows. But I didn&#8217;t know the horrid depths into which I was about to sink.</p>
<p>The Microsoft driver comes with an example application and database. The application assumes you are connecting to a local database. There is scant information about remote databases.</p>
<p>The driver defines this function:</p>
<pre>sqlsrv_connect($host[, $connectionOptions[, ...]]);</pre>
<p>The example application tells you to set <code>$host</code> to <var>(local)</var>. Supposedly this works. However, after scouring the internet for several days, and trying every permutation of hostname, Windows networking name, port, IP address, white space, and several other variables that shouldn&#8217;t have been in there, I&#8217;ve decided it doesn&#8217;t talk to remote servers nicely.</p>
<p><a href="http://us.php.net/manual/en/book.pdo.php">PDO</a>&#8216;s ODBC driver, on the other hand, and a quick visit to <a href="http://www.connectionstrings.com/">www.connectionstrings.com</a>, worked wonderfully.</p>
<p>Here is how I needed to create the PDO object. I hope this is useful for someone else:</p>
<p>(ed. The symbol « is a line break that&#8217;s not in the real code.)</p>
<pre>$host     = '1.2.3.4';
$port     = '1433';
$database = 'MyDatabase';
$user     = 'MyDatabaseUser';
$password = 'MyDatabasePassword';

$dsn = "odbc:DRIVER={SQL Server}; «
 SERVER=$server,$port;DATABASE=$database";

try {
  // connect
  $conn = new PDO($dsn,$user,$password);
} catch (PDOException $e) {
  // fancy error handling
}</pre>
]]></content:encoded>
			<wfw:commentRss>http://coffeeonthekeyboard.com/connecting-php-iis-6-and-sql-server-2005-129/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Microsoft Listened</title>
		<link>http://coffeeonthekeyboard.com/microsoft-listened-72/</link>
		<comments>http://coffeeonthekeyboard.com/microsoft-listened-72/#comments</comments>
		<pubDate>Mon, 07 Apr 2008 20:58:17 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[Standards]]></category>
		<category><![CDATA[8]]></category>
		<category><![CDATA[Browsers]]></category>
		<category><![CDATA[ie]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[version targeting]]></category>

		<guid isPermaLink="false">http://coffeeonthekeyboard.com/microsoft-listened-72/</guid>
		<description><![CDATA[We all complained, and Microsoft listened to the community: IE8 will now render in IE8-mode by default, and &#8220;developers who want their pages shown using IE8’s “IE7 Standards mode” will need to request that explicitly.&#8221; Obviously, this is good news for all forward-looking, standards-aware, progressively-enhancing developers out there. But even more important is the action [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://coffeeonthekeyboard.com/ie8-and-version-targeting-70/" title="We all complained">We all complained</a>, and Microsoft listened to the community: <a href="http://blogs.msdn.com/ie/archive/2008/03/03/microsoft-s-interoperability-principles-and-ie8.aspx">IE8 will now render in IE8-mode by default</a>, and &#8220;developers who want their pages shown using IE8’s “IE7 Standards mode” will need to request that explicitly.&#8221;</p>
<p>Obviously, this is good news for all forward-looking, standards-aware, progressively-enhancing developers out there.</p>
<p>But even more important is the action from Microsoft: the community voiced an opinion and Microsoft listened and responded. To see any major corporation rethink their position because of community pressure is rare enough, but to see a complete reversal is truly an occasion to celebrate.</p>
<p>Hopefully this is indicative of a new attitude at Microsoft, one that supports or even embraces standards and the goals of progressive enhancement.</p>
<p>Now that we&#8217;ve seen what community outrage can do, we should turn our attention to the closed platforms of the iPhone and PSP. It&#8217;s a long shot but we can try!</p>
]]></content:encoded>
			<wfw:commentRss>http://coffeeonthekeyboard.com/microsoft-listened-72/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

