<?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>Tim Anderson's ITWriting &#187; php</title>
	<atom:link href="http://www.itwriting.com/blog/category/php/feed" rel="self" type="application/rss+xml" />
	<link>http://www.itwriting.com/blog</link>
	<description>Tech writing blog</description>
	<lastBuildDate>Thu, 09 Feb 2012 17:17:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>PHP Developer survey shows dominance of mobile, social media and cloud</title>
		<link>http://www.itwriting.com/blog/5337-php-developer-survey-shows-dominance-of-mobile-social-media-and-cloud.html</link>
		<comments>http://www.itwriting.com/blog/5337-php-developer-survey-shows-dominance-of-mobile-social-media-and-cloud.html#comments</comments>
		<pubDate>Thu, 12 Jan 2012 12:08:11 +0000</pubDate>
		<dc:creator>tim</dc:creator>
				<category><![CDATA[cloud computing]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[professional]]></category>
		<category><![CDATA[software development]]></category>
		<category><![CDATA[zend]]></category>
		<category><![CDATA[amazon]]></category>
		<category><![CDATA[azure]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[social media]]></category>

		<guid isPermaLink="false">http://www.itwriting.com/blog/?p=5337</guid>
		<description><![CDATA[<p>Zend, a company which specialises in PHP frameworks and tools, has released the results of a developer survey from November 2011. </p> <p>The survey attracted 3,335 respondents drawn, it says, from “enterprise, SMB and independent developers worldwide.” I have a quibble with this, since I believe the survey should state that these were PHP <p><i>...continue reading</i> <a href="http://www.itwriting.com/blog/5337-php-developer-survey-shows-dominance-of-mobile-social-media-and-cloud.html">PHP Developer survey shows dominance of mobile, social media and cloud</a></p>


Related posts:<ol><li><a href='http://www.itwriting.com/blog/1490-cloud-computing-survey-more-fog-than-cloud.html' rel='bookmark' title='Permanent Link: Cloud Computing survey: more fog than cloud'>Cloud Computing survey: more fog than cloud</a></li>
<li><a href='http://www.itwriting.com/blog/1568-eclipse-survey-shows-windows-decline.html' rel='bookmark' title='Permanent Link: Eclipse survey shows Windows decline'>Eclipse survey shows Windows decline</a></li>
<li><a href='http://www.itwriting.com/blog/4865-which-microsoft-cloud-windows-server-8-shows-azure-is-not-everything.html' rel='bookmark' title='Permanent Link: Which Microsoft cloud? Windows Server 8 shows Azure is not everything'>Which Microsoft cloud? Windows Server 8 shows Azure is not everything</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.zend.com/en/" target="_blank">Zend</a>, a company which specialises in PHP frameworks and tools, has released the results of a <a href="http://www.zend.com/en/company/news/press/339_zend-takes-the-pulse-of-developers-in-the-app-economy" target="_blank">developer survey</a> from November 2011. </p>
<p>The survey attracted 3,335 respondents drawn, it says, from “enterprise, SMB and independent developers worldwide.” I have a quibble with this, since I believe the survey should state that these were PHP developers. Why? Because I have an email from November which asked me to participate and said:</p>
<blockquote><p>Zend is taking the pulse of PHP developers. What&#8217;s hot and what matters most in your view of PHP?</p>
</blockquote>
<p>There is a difference between “developers” and “PHP developers”, and much though I love PHP the survey should make this clear. Nevertheless, If you participated, but mainly use Java or some other language, your input is still included. Later the survey states that “more than 50% of enterprise developers and more than 65% of SMB developers surveyed report spending more than half of their time working in PHP.” But if they are already identified as PHP developers, that is not a valuable statistic.</p>
<p>Caveat aside, the results make good reading. Some highlights:</p>
<ul>
<li>66% of those surveyed are working on mobile development. </li>
<li>45% are integrating with social media </li>
<li>41% are doing cloud-based development </li>
</ul>
<p>Those are huge figures, and demonstrate how far in the past was the era when mobile was some little niche compared to mainstream development. It is the mainstream now – though you would get a less mobile-oriented picture if you surveyed enterprise developers alone. Similar thoughts apply to social media and cloud deployment.</p>
<p>The next figures that caught my eye relate to cloud deployment specifically.</p>
<ul>
<li>30% plan to use Amazon</li>
<li>28% will use cloud but are undecided which to use</li>
<li>10% plan to use Rackspace</li>
<li>6% plan to use Microsoft Azure</li>
<li>5% have another public cloud in mind (Google? Heroku?)</li>
<li>3% plan to use IBM Smart Cloud</li>
</ul>
<p>The main message here is: look how much business Amazon is getting, and how little is going to giants like Microsoft, IBM and Google. Then again, these are PHP developers, in which light 6% for Microsoft Azure is not bad – or are these PHP developer who also work in .NET? </p>
<p>I was also interested in the “other languages used” section. 82% use JavaScript, which is no surprise given that PHP is a web technology, but more striking is that 24% also use Java, well ahead of C/C++ at 17%, C# at 15% and Python at 11%.</p>
<p>Finally, the really important stuff. 86% of developers listen to music while coding, and the most popular artists are:</p>
<ol>
<li>Metallica</li>
<li>= Pink Floyd and Linkin Park</li>
</ol>
<p> Wow.</p>


<p>Related posts:<ol><li><a href='http://www.itwriting.com/blog/1490-cloud-computing-survey-more-fog-than-cloud.html' rel='bookmark' title='Permanent Link: Cloud Computing survey: more fog than cloud'>Cloud Computing survey: more fog than cloud</a></li>
<li><a href='http://www.itwriting.com/blog/1568-eclipse-survey-shows-windows-decline.html' rel='bookmark' title='Permanent Link: Eclipse survey shows Windows decline'>Eclipse survey shows Windows decline</a></li>
<li><a href='http://www.itwriting.com/blog/4865-which-microsoft-cloud-windows-server-8-shows-azure-is-not-everything.html' rel='bookmark' title='Permanent Link: Which Microsoft cloud? Windows Server 8 shows Azure is not everything'>Which Microsoft cloud? Windows Server 8 shows Azure is not everything</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.itwriting.com/blog/5337-php-developer-survey-shows-dominance-of-mobile-social-media-and-cloud.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Top languages on Github: JavaScript reigns, Ruby and Python next</title>
		<link>http://www.itwriting.com/blog/5317-top-languages-on-github-javascript-reigns-ruby-and-python-next.html</link>
		<comments>http://www.itwriting.com/blog/5317-top-languages-on-github-javascript-reigns-ruby-and-python-next.html#comments</comments>
		<pubDate>Mon, 09 Jan 2012 14:03:59 +0000</pubDate>
		<dc:creator>tim</dc:creator>
				<category><![CDATA[development]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[software development]]></category>
		<category><![CDATA[github]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://www.itwriting.com/blog/?p=5317</guid>
		<description><![CDATA[<p>I cloned a github repository today, and while browsing the site noticed the language stats:</p> <p></p> <p>Git was originally developed for the Linux kernel and is mainly for the open source community. I was interested to see JavaScript, the language of HTML 5, riding so high. PHP, C and C++ are lower than I <p><i>...continue reading</i> <a href="http://www.itwriting.com/blog/5317-top-languages-on-github-javascript-reigns-ruby-and-python-next.html">Top languages on Github: JavaScript reigns, Ruby and Python next</a></p>


Related posts:<ol><li><a href='http://www.itwriting.com/blog/3322-pycharm-jetbrains-ide-for-python-and-django.html' rel='bookmark' title='Permanent Link: PyCharm: JetBRAINS IDE for Python and Django'>PyCharm: JetBRAINS IDE for Python and Django</a></li>
<li><a href='http://www.itwriting.com/blog/5134-what-is-the-best-programming-language-for-a-child-progressing-from-scratch.html' rel='bookmark' title='Permanent Link: What is the best programming language for a child progressing from Scratch?'>What is the best programming language for a child progressing from Scratch?</a></li>
<li><a href='http://www.itwriting.com/blog/3755-no-more-ruby-support-in-netbeans-the-feature-was-little-used-say-oracle.html' rel='bookmark' title='Permanent Link: No more Ruby support in NetBeans &#8211; the feature was little used, says Oracle'>No more Ruby support in NetBeans &#8211; the feature was little used, says Oracle</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I cloned a github repository today, and while browsing the site noticed the <a href="https://github.com/languages" target="_blank">language stats</a>:</p>
<p><a href="http://www.itwriting.com/blog/wp-content/uploads/2012/01/image7.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.itwriting.com/blog/wp-content/uploads/2012/01/image_thumb7.png" width="320" height="396" /></a></p>
<p>Git was originally developed for the Linux kernel and is mainly for the open source community. I was interested to see JavaScript, the language of HTML 5, riding so high. PHP, C and C++ are lower than I would have guessed, Ruby and Python higher.</p>
<p>Here are some figures for the venerable <a href="http://sourceforge.net/directory/" target="_blank">Sourceforge</a>:</p>
<p>
<table cellspacing="0" cellpadding="0">
<colgroup>
<col width="64" /></colgroup>
<tbody>
<tr>
<td width="200" colspan="2">Java (7,163)</td>
<td width="64" align="right">19%</td>
</tr>
<tr>
<td colspan="2">C++ (6,449)</td>
<td align="right">17%</td>
</tr>
<tr>
<td>C (4,752)</td>
<td></td>
<td align="right">13%</td>
</tr>
<tr>
<td colspan="2">PHP (3,521)</td>
<td align="right">10%</td>
</tr>
<tr>
<td colspan="2">Python (2,694)</td>
<td align="right">7%</td>
</tr>
<tr>
<td colspan="2">C# (2,481)</td>
<td align="right">7%</td>
</tr>
<tr>
<td colspan="2">JavaScript (2,011)</td>
<td align="right">5%</td>
</tr>
<tr>
<td colspan="2">Perl (1,138)</td>
<td align="right">3%</td>
</tr>
<tr>
<td colspan="2">Shell (757)</td>
<td align="right">2%</td>
</tr>
<tr>
<td colspan="2">Visual Basic NET (688)</td>
<td align="right">2%</td>
</tr>
<tr>
<td colspan="2">Delphi/Kylix (581)</td>
<td align="right">2%</td>
</tr>
</tbody>
</table>
<p>This comes with a health warning. I have taken the figures from the what you get if you browse the directory and drop down Programming Languages; but the total is only about 37,000, whereas Sourceforge hosts around 324,000 projects. I am not sure what accounts for the discrepancy; it could be that language is not specified for the other projects, or they are dormant, or some other reason. But I hope the proportions indicate something of value.</p>
<p>Github is madly trendy, and Sourceforge ancient, so this tells us something about how open source activity has shifted towards JavaScript, Ruby and Python, and away from Java, C/C++ and C#.</p>
<p>Of course the overall picture of programming language usage is quite different. For example, you can get some kind of clue about commercial activity from a job board like <a href="http://www.indeed.com" target="_blank">indeed.com</a>, which currently has 77,457 US vacancies for Java, 22,413 for JavaScript, and only 5030 for Ruby.</p>
<p>Nevertheless, interesting to see what languages developers on Github are choosing to work with, and perhaps an indicator of what may be most in demand on the job boards a few years from now.</p>
<p>Finally, looking at these figures I cannot help thinking how short-sighted Microsoft was in <a href="http://www.itwriting.com/blog/3361-microsoft-lets-go-of-ironpython-and-ironruby.html" target="_blank">abandoning</a> IronPython and IronRuby back in 2010.</p>


<p>Related posts:<ol><li><a href='http://www.itwriting.com/blog/3322-pycharm-jetbrains-ide-for-python-and-django.html' rel='bookmark' title='Permanent Link: PyCharm: JetBRAINS IDE for Python and Django'>PyCharm: JetBRAINS IDE for Python and Django</a></li>
<li><a href='http://www.itwriting.com/blog/5134-what-is-the-best-programming-language-for-a-child-progressing-from-scratch.html' rel='bookmark' title='Permanent Link: What is the best programming language for a child progressing from Scratch?'>What is the best programming language for a child progressing from Scratch?</a></li>
<li><a href='http://www.itwriting.com/blog/3755-no-more-ruby-support-in-netbeans-the-feature-was-little-used-say-oracle.html' rel='bookmark' title='Permanent Link: No more Ruby support in NetBeans &#8211; the feature was little used, says Oracle'>No more Ruby support in NetBeans &#8211; the feature was little used, says Oracle</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.itwriting.com/blog/5317-top-languages-on-github-javascript-reigns-ruby-and-python-next.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Zend&#8217;s PHP cloud: develop in the cloud, deploy anywhere</title>
		<link>http://www.itwriting.com/blog/5030-zends-php-cloud-develop-in-the-cloud-deploy-anywhere.html</link>
		<comments>http://www.itwriting.com/blog/5030-zends-php-cloud-develop-in-the-cloud-deploy-anywhere.html#comments</comments>
		<pubDate>Wed, 19 Oct 2011 07:47:06 +0000</pubDate>
		<dc:creator>tim</dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[professional]]></category>
		<category><![CDATA[software development]]></category>
		<category><![CDATA[zend]]></category>
		<category><![CDATA[phpcloud]]></category>

		<guid isPermaLink="false">http://www.itwriting.com/blog/5030-zends-php-cloud-develop-in-the-cloud-deploy-anywhere.html</guid>
		<description><![CDATA[<p>Zend has announced Zend Studio 9 beta, the latest version of its IDE for PHP. The feature that caught my eye is integrated support for the Zend Developer Cloud, currently in technical preview. Setting up a PHP development environment is not too difficult, but can be a hassle to maintain, and the idea of <p><i>...continue reading</i> <a href="http://www.itwriting.com/blog/5030-zends-php-cloud-develop-in-the-cloud-deploy-anywhere.html">Zend&#8217;s PHP cloud: develop in the cloud, deploy anywhere</a></p>


Related posts:<ol><li><a href='http://www.itwriting.com/blog/583-mvn-cloudtoolsdeploy.html' rel='bookmark' title='Permanent Link: mvn cloudtools:deploy'>mvn cloudtools:deploy</a></li>
<li><a href='http://www.itwriting.com/blog/2886-openstack-takes-on-amazon-with-open-source-cloud-computing.html' rel='bookmark' title='Permanent Link: OpenStack takes on Amazon with open source cloud computing'>OpenStack takes on Amazon with open source cloud computing</a></li>
<li><a href='http://www.itwriting.com/blog/2538-vmforce-salesforce-partners-vmware-to-run-java-in-the-cloud.html' rel='bookmark' title='Permanent Link: VMforce: Salesforce partners VMware to run Java in the cloud'>VMforce: Salesforce partners VMware to run Java in the cloud</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Zend has announced <a href="http://www.zend.com/en/products/studio/downloads-beta" target="_blank">Zend Studio 9 beta</a>, the latest version of its IDE for PHP. The feature that caught my eye is integrated support for the <a href="http://www.phpcloud.com" target="_blank">Zend Developer Cloud</a>, currently in technical preview. Setting up a PHP development environment is not too difficult, but can be a hassle to maintain, and the idea of being able to fire up an IDE anywhere and start coding is attractive.</p>
<p>You do not need Zend Studio to use the Developer Cloud; they are independent projects, and you can use the free Eclipse <a href="http://www.eclipse.org/projects/project.php?id=tools.pdt" target="_blank">PHP Development Tools</a> (PDT) or another IDE or editor.</p>
<p>The PHP Developer Cloud is not just a shared hosting environment for PHP applications:</p>
<blockquote><p>All applications are housed within a container on the Zend Application Fabric. This container is separate from all other containers and has its own database instance and is easily connected to your IDE.</p>
</blockquote>
<p>The Zend Application Fabric is for deployment as well as development. It is a server framework that includes the Zend Framework and also the capability of scaling on demand. </p>
<p>Once you have developed your app, you can deploy to any cloud provider that supports the Zend Application Fabric, including <a href="http://aws.amazon.com/cloudformation/" target="_blank">Amazon Web Services</a>, <a href="http://www.ibm.com/cloud-computing/" target="_blank">IBM SmartCloud</a>,&#160; a private “custom cloud”, or a resilient multiple cloud option which Zend calls <a href="http://www.phpcloud.com/deploy/rightscale" target="_blank">RightScale</a>. You can deploy to RightScale using both Amazon and Rackspace together, which I presume means your app will keep on going even if one of these providers were to fail.</p>
<p>Details on the site are sketchy, but if Zend has got this right it ticks a lot of boxes for enterprise PHP developers.</p>
<p><a href="http://www.itwriting.com/blog/wp-content/uploads/2011/10/image28.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.itwriting.com/blog/wp-content/uploads/2011/10/image_thumb28.png" width="404" height="202" /></a></p>


<p>Related posts:<ol><li><a href='http://www.itwriting.com/blog/583-mvn-cloudtoolsdeploy.html' rel='bookmark' title='Permanent Link: mvn cloudtools:deploy'>mvn cloudtools:deploy</a></li>
<li><a href='http://www.itwriting.com/blog/2886-openstack-takes-on-amazon-with-open-source-cloud-computing.html' rel='bookmark' title='Permanent Link: OpenStack takes on Amazon with open source cloud computing'>OpenStack takes on Amazon with open source cloud computing</a></li>
<li><a href='http://www.itwriting.com/blog/2538-vmforce-salesforce-partners-vmware-to-run-java-in-the-cloud.html' rel='bookmark' title='Permanent Link: VMforce: Salesforce partners VMware to run Java in the cloud'>VMforce: Salesforce partners VMware to run Java in the cloud</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.itwriting.com/blog/5030-zends-php-cloud-develop-in-the-cloud-deploy-anywhere.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Would you consider running PHP on Azure? Microsoft faces uphill battle to convince customers.</title>
		<link>http://www.itwriting.com/blog/4406-would-you-consider-running-php-on-azure-microsoft-faces-uphill-battle-to-convince-customers.html</link>
		<comments>http://www.itwriting.com/blog/4406-would-you-consider-running-php-on-azure-microsoft-faces-uphill-battle-to-convince-customers.html#comments</comments>
		<pubDate>Fri, 27 May 2011 17:11:02 +0000</pubDate>
		<dc:creator>tim</dc:creator>
				<category><![CDATA[.net]]></category>
		<category><![CDATA[cloud computing]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[professional]]></category>
		<category><![CDATA[software development]]></category>
		<category><![CDATA[web authoring]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[amazon]]></category>
		<category><![CDATA[azure]]></category>

		<guid isPermaLink="false">http://www.itwriting.com/blog/4406-would-you-consider-running-php-on-azure-microsoft-faces-uphill-battle-to-convince-customers.html</guid>
		<description><![CDATA[<p>Yesterday Microsoft announced Windows Azure SDK for PHP version 3.0, an update to its open source SDK for PHP on Windows Azure. The SDK wraps Azure storage, diagnostics and management services with a PHP API.</p> <p>Microsoft has been working for years on making IIS a good platform for PHP. FastCGI for IIS was introduced <p><i>...continue reading</i> <a href="http://www.itwriting.com/blog/4406-would-you-consider-running-php-on-azure-microsoft-faces-uphill-battle-to-convince-customers.html">Would you consider running PHP on Azure? Microsoft faces uphill battle to convince customers.</a></p>


Related posts:<ol><li><a href='http://www.itwriting.com/blog/4326-microsofts-azure-toolkit-for-apple-ios-and-android-is-a-start-but-nothing-like-enough.html' rel='bookmark' title='Permanent Link: Microsoft&rsquo;s Azure toolkit for Apple iOS and Android is a start, but nothing like enough'>Microsoft&rsquo;s Azure toolkit for Apple iOS and Android is a start, but nothing like enough</a></li>
<li><a href='http://www.itwriting.com/blog/3749-how-is-windows-azure-doing-few-mission-critical-apps-says-microsoft.html' rel='bookmark' title='Permanent Link: How is Windows Azure doing? Few mission critical apps says Microsoft'>How is Windows Azure doing? Few mission critical apps says Microsoft</a></li>
<li><a href='http://www.itwriting.com/blog/3386-microsoft-pdc-big-on-azure-quiet-on-silverlight.html' rel='bookmark' title='Permanent Link: Microsoft PDC big on Azure, quiet on Silverlight'>Microsoft PDC big on Azure, quiet on Silverlight</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Yesterday Microsoft announced <a href="http://phpazure.codeplex.com/" target="_blank">Windows Azure SDK for PHP version 3.0</a>, an update to its open source SDK for PHP on Windows Azure. The SDK wraps Azure storage, diagnostics and management services with a PHP API.</p>
<p>Microsoft has been working for years on making IIS a good platform for PHP. <a href="http://www.iis.net/download/FastCGI" target="_blank">FastCGI for IIS</a> was introduced partly, I guess, with PHP in mind; and Microsoft runs a dedicated site for <a href="http://php.iis.net/" target="_blank">PHP on IIS</a>. The <a href="http://www.microsoft.com/web/downloads/platform.aspx" target="_blank">Web Platform Installer</a> installs a number of PHP applications including WordPress, Joomla and Drupal. </p>
<p>It is good to see Microsoft making an effort to support this important open source platform, and I am sure it has been welcomed by Microsoft-platform organisations who want to run WordPress, say, on their existing infrastructure.</p>
<p>Attracting PHP developers to Azure may be harder though. I asked Nick Hines, CTO for Innovation at <a href="http://www.thoughtworks.com/" target="_blank">Thoughtworks</a>, a global IT consultancy and developer, what he thought of the idea.</p>
<blockquote><p>I’d struggle to see any reason. Even if you had it in your datacentre, I certainly wouldn’t advise a client, unless there was some corporate mandate to the contrary, and especially if they wanted scale, to be running a Java or a PHP application on Windows.</p>
<p>Microsoft&#8217;s scaling and availability story around windows hasn’t had the penetration of the datacentre that Java and Linux has. If you look at some of the heavy users of all kinds of technology that we come across , such as some of the investment banks, what they’re tending to do is to build front and middle tier applications using C# and taking advantage of things like Silverlight to get the fancy front ends that they want, but the back end services and heavy lifting and number crunching predominantly is Java or some sort of Java variant running on Linux. </p>
</blockquote>
<p>Hine also said that he had not realised running PHP on Azure was something Microsoft was promoting, and voiced his suspicion that PHP would be at a disadvantage to C# and .NET when it came to calling Azure APIs.</p>
<p>His remarks do not surprise me, and Microsoft will have to work hard to persuade a broad range of customers that Azure is as good a platform for PHP as Linux and Apache – even leaving aside the question of whether that is the case.</p>
<p>The new PHP SDK is on Codeplex and developed partly by a third-party, <a href="http://www.realdolmen.com/" target="_blank">ReadDolmen</a>, sponsored by Microsoft. While I understand why Microsoft is using a third-party, this kind of approach troubles me in that you have to ask, what will happen to the project if Microsoft stops sponsoring it? It is not an organic open source project driven by its users, and there are examples of similar exercises that have turned out to be more to do with PR than with real commitment.</p>
<p>I was trying to think of important open source projects from Microsoft and the best I could come up with is ASP.NET MVC. This is also made available <a href="http://aspnet.codeplex.com/releases/view/58781" target="_blank">on CodePlex</a>, and is clearly a critical and popular project. </p>
<p>However the two are not really comparable. The SDK for PHP is licensed under the <a href="http://phpazure.codeplex.com/license" target="_blank">New BSD License</a>; whereas ASP.NET MVC has the restrictive <a href="http://aspnet.codeplex.com/license" target="_blank">Microsoft Source License for ASP.NET Pre-Release Components</a> (even though it is now RTM – Released to manufacturing). ASP.NET MVC 1.0 was licensed under the Microsoft Public License, but I do not know if this will eventually also be the case for ASP.NET MVC 3.0. </p>
<p>Further, ASP.NET MVC is developed by Microsoft itself, and has its <a href="http://www.asp.net/mvc" target="_blank">own web site</a> as part of the official ASP.NET site. Many users may not realise that the source is published.</p>
<p>My reasoning, then, is that if Microsoft really want to make PHP a first-class citizen on Azure, it should hire a crack PHP team and develop its own supporting libraries; as well as coming up with some solid evidence for its merits versus, say, Linux on Amazon EC2, that might persuade someone like Nick Hine that it is worth a look.</p>


<p>Related posts:<ol><li><a href='http://www.itwriting.com/blog/4326-microsofts-azure-toolkit-for-apple-ios-and-android-is-a-start-but-nothing-like-enough.html' rel='bookmark' title='Permanent Link: Microsoft&rsquo;s Azure toolkit for Apple iOS and Android is a start, but nothing like enough'>Microsoft&rsquo;s Azure toolkit for Apple iOS and Android is a start, but nothing like enough</a></li>
<li><a href='http://www.itwriting.com/blog/3749-how-is-windows-azure-doing-few-mission-critical-apps-says-microsoft.html' rel='bookmark' title='Permanent Link: How is Windows Azure doing? Few mission critical apps says Microsoft'>How is Windows Azure doing? Few mission critical apps says Microsoft</a></li>
<li><a href='http://www.itwriting.com/blog/3386-microsoft-pdc-big-on-azure-quiet-on-silverlight.html' rel='bookmark' title='Permanent Link: Microsoft PDC big on Azure, quiet on Silverlight'>Microsoft PDC big on Azure, quiet on Silverlight</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.itwriting.com/blog/4406-would-you-consider-running-php-on-azure-microsoft-faces-uphill-battle-to-convince-customers.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Adobe announces Flash Builder for PHP, PhoneGap integration in Dreamweaver</title>
		<link>http://www.itwriting.com/blog/4166-adobe-announces-flash-builder-for-php-phonegap-integration-in-dreamweaver.html</link>
		<comments>http://www.itwriting.com/blog/4166-adobe-announces-flash-builder-for-php-phonegap-integration-in-dreamweaver.html#comments</comments>
		<pubDate>Mon, 11 Apr 2011 04:06:39 +0000</pubDate>
		<dc:creator>tim</dc:creator>
				<category><![CDATA[adobe]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[asus]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[professional]]></category>
		<category><![CDATA[software development]]></category>
		<category><![CDATA[web authoring]]></category>
		<category><![CDATA[creative suite 5.5]]></category>
		<category><![CDATA[flash builder]]></category>
		<category><![CDATA[phonegap]]></category>

		<guid isPermaLink="false">http://www.itwriting.com/blog/4166-adobe-announces-flash-builder-for-php-phonegap-integration-in-dreamweaver.html</guid>
		<description><![CDATA[<p>Adobe has stepped up its support for mobile and Flash development with a couple of announcements today. The first is that Dreamweaver 5.5, part of the new Creative Suite 5.5, has integrated support for PhoneGap. PhoneGap lets you build apps for Apple iOS and Google Android using HTML and JavaScript, taking advantage of the <p><i>...continue reading</i> <a href="http://www.itwriting.com/blog/4166-adobe-announces-flash-builder-for-php-phonegap-integration-in-dreamweaver.html">Adobe announces Flash Builder for PHP, PhoneGap integration in Dreamweaver</a></p>


Related posts:<ol><li><a href='http://www.itwriting.com/blog/4174-adobe-announces-flash-builder-for-php-phonegap-integration-in-dreamweaver-2.html' rel='bookmark' title='Permanent Link: Adobe announces Flash Builder for PHP, PhoneGap integration in Dreamweaver'>Adobe announces Flash Builder for PHP, PhoneGap integration in Dreamweaver</a></li>
<li><a href='http://www.itwriting.com/blog/4271-dreamweaver-cs5-5-phonegap-apps-performance-issues-on-android.html' rel='bookmark' title='Permanent Link: Dreamweaver CS5.5 PhoneGap apps: performance issues on Android'>Dreamweaver CS5.5 PhoneGap apps: performance issues on Android</a></li>
<li><a href='http://www.itwriting.com/blog/1434-adobes-flex-builder-to-flash-builder-name-change-does-not-go-far-enough.html' rel='bookmark' title='Permanent Link: Adobe&rsquo;s Flex Builder to Flash Builder name change does not go far enough'>Adobe&rsquo;s Flex Builder to Flash Builder name change does not go far enough</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Adobe has stepped up its support for mobile and Flash development with a couple of announcements today.<br />
The first is that Dreamweaver 5.5, part of the new Creative Suite 5.5, has integrated support for PhoneGap. PhoneGap lets you build apps for Apple iOS and Google Android using HTML and JavaScript, taking advantage of the WebKit runtime that is present in these devices. The apps are packaged as native apps and also have access to some device-specific features. This does not mean Adobe is abandoning Flash, but is part of a both/and strategy, which makes sense to me.<br />
Adobe has also announced Flash Builder 4.5 for PHP, in partnership with Zend. A great feature is that you can debug seamlessly from PHP code on the server to Flex code running in a Flash client, provided you are using Zend server.<br />
Flex 4.5 compiles to AIR apps on Android, Blackberry and iOS, as well as  desktop Mac, Windows and Linux.<br />
The new Flash Builder products will ship within 30 days. The premium edition is part of the Creative Suite bundle or available separately, while Flash Builder for PHP is a separate purchase at $399 or €319 for Standard, and $799 or €629 for Premium.<br />
More news on this and screenshots soon.</p>


<p>Related posts:<ol><li><a href='http://www.itwriting.com/blog/4174-adobe-announces-flash-builder-for-php-phonegap-integration-in-dreamweaver-2.html' rel='bookmark' title='Permanent Link: Adobe announces Flash Builder for PHP, PhoneGap integration in Dreamweaver'>Adobe announces Flash Builder for PHP, PhoneGap integration in Dreamweaver</a></li>
<li><a href='http://www.itwriting.com/blog/4271-dreamweaver-cs5-5-phonegap-apps-performance-issues-on-android.html' rel='bookmark' title='Permanent Link: Dreamweaver CS5.5 PhoneGap apps: performance issues on Android'>Dreamweaver CS5.5 PhoneGap apps: performance issues on Android</a></li>
<li><a href='http://www.itwriting.com/blog/1434-adobes-flex-builder-to-flash-builder-name-change-does-not-go-far-enough.html' rel='bookmark' title='Permanent Link: Adobe&rsquo;s Flex Builder to Flash Builder name change does not go far enough'>Adobe&rsquo;s Flex Builder to Flash Builder name change does not go far enough</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.itwriting.com/blog/4166-adobe-announces-flash-builder-for-php-phonegap-integration-in-dreamweaver.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>JetBrains WebStorm 2.0 and PHPStorm 2.0 First Look</title>
		<link>http://www.itwriting.com/blog/3967-jetbrains-webstorm-2-0-and-phpstorm-2-0-first-look.html</link>
		<comments>http://www.itwriting.com/blog/3967-jetbrains-webstorm-2-0-and-phpstorm-2-0-first-look.html#comments</comments>
		<pubDate>Wed, 02 Mar 2011 11:25:49 +0000</pubDate>
		<dc:creator>tim</dc:creator>
				<category><![CDATA[design]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[professional]]></category>
		<category><![CDATA[software development]]></category>
		<category><![CDATA[web authoring]]></category>
		<category><![CDATA[html 5]]></category>
		<category><![CDATA[jetbrains]]></category>
		<category><![CDATA[phpstorm]]></category>
		<category><![CDATA[web applications]]></category>
		<category><![CDATA[webstorm]]></category>

		<guid isPermaLink="false">http://www.itwriting.com/blog/3967-jetbrains-webstorm-2-0-and-phpstorm-2-0-first-look.html</guid>
		<description><![CDATA[<p>I respect JetBrains, an IDE company which survives despite intense competition from free tools such as Eclipse and NetBeans. It does so because developers like the products, especially the IntelliJ IDEA Java IDE. The tools are focused on coding; there are few visual designers but lots of coding help, such as code completion, refactoring, <p><i>...continue reading</i> <a href="http://www.itwriting.com/blog/3967-jetbrains-webstorm-2-0-and-phpstorm-2-0-first-look.html">JetBrains WebStorm 2.0 and PHPStorm 2.0 First Look</a></p>


Related posts:<ol><li><a href='http://www.itwriting.com/blog/3973-jetbrains-announces-ide-for-objective-c-to-compete-with-xcode.html' rel='bookmark' title='Permanent Link: JetBrains announces IDE for Objective C to compete with Xcode'>JetBrains announces IDE for Objective C to compete with Xcode</a></li>
<li><a href='http://www.itwriting.com/blog/3322-pycharm-jetbrains-ide-for-python-and-django.html' rel='bookmark' title='Permanent Link: PyCharm: JetBRAINS IDE for Python and Django'>PyCharm: JetBRAINS IDE for Python and Django</a></li>
<li><a href='http://www.itwriting.com/blog/75-jetbrains-omea-going-free-and-open-source.html' rel='bookmark' title='Permanent Link: JetBrains OMEA going free and open source'>JetBrains OMEA going free and open source</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I respect <a href="http://www.jetbrains.com" target="_blank">JetBrains</a>, an IDE company which survives despite intense competition from free tools such as Eclipse and NetBeans. It does so because developers like the products, especially the IntelliJ IDEA Java IDE. The tools are focused on coding; there are few visual designers but lots of coding help, such as code completion, refactoring, find usages, and fast navigation. The tools are also relatively lightweight, so start up quickly, and generally run on Windows, Mac OS X and Linux.</p>
<p>The latest from JetBrains is two related web development IDEs. <a href="http://www.jetbrains.com/webstorm/" target="_blank">WebStorm 2.0</a> is for general HTML/CSS/JavaScript work, and <a href="http://www.jetbrains.com/phpstorm/" target="_blank">PHPStorm 2.0</a> is a superset of WebStorm which adds PHP editing and debugging. There is also some support for Adobe’s Flex and ActionScript code.</p>
<p>New in PHPStorm is PHP 5.3 support, Zend Debugger support, improved SQL editing, support for the <a href="http://mercurial.selenic.com/" target="_blank">Mercurial</a> source code management system, and updates for HTML 5 and EcmaScript 5.</p>
<p>I am interested in these tools since HTML development is increasingly important. Browsers are getting increasingly powerful, with HTML 5 and fast JavaScript engines challenging plugins as rich application runtimes, and PHP is less well served by IDEs than you would expect considering its popularity.</p>
<p>My first impressions though are mixed. I noticed a lot to like, in particular the work JetBrains has done on supporting mixed languages: HTML, JavaScript, CSS, SQL,XML and so on. One of its features is that code completion works even within quotes. For example, if your PHP is outputting HTML to the browser, code completion still works. Most editors treat anything within quotes as plain text rather than as code.</p>
<p><a href="http://www.itwriting.com/blog/wp-content/uploads/2011/03/image.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.itwriting.com/blog/wp-content/uploads/2011/03/image_thumb.png" width="244" height="108" /></a></p>
<p>The IDE is highly configurable and also supports plugins. Live templates let you expand abbreviations to code fragments. There is support for generating documentation with JSDoc, ASDoc and PHPDoc. Testing with PHPUnit is integrated. These are products that will appeal to developers who are code-oriented – are there any others? – and who like the ability to fine-tune their tools to improve productivity.</p>
<p>That said, I did not find it easy to get started with PHPStorm. The main challenge is configuring your PHP environment to support debugging. I have not yet succeeded, though I have not spent all that long on it. Difficulty getting PHP debugging working seems to be the biggest single topic on the <a href="http://devnet.jetbrains.net/community/wi?view=overview" target="_blank">support forums</a> currently. </p>
<p>I know this is tricky and it <a href="http://www.itwriting.com/blog/714-debugging-php-code-to-fix-a-wordpress-problem.html" target="_blank">took me a while</a> to get it working with Eclipse. It is important though, and anything the tools vendors can do to make this easier to setup would be welcome. There is a case for simply installing a dedicated LAMP or WAMP server with the product so that developers get immediate and reliable support for PHP debugging, with the option to configure for their own PHP server later.</p>
<p>Another thing I found annoying was the over-zealous spell checker, which seems inclined to check variable names as well as being unaware of PHP extensions like mysqli:</p>
<p><a href="http://www.itwriting.com/blog/wp-content/uploads/2011/03/image1.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.itwriting.com/blog/wp-content/uploads/2011/03/image_thumb1.png" width="244" height="62" /></a></p>
<p>I expect there is a way to fix both issues by configuring the product.</p>
<p>In general JetBrains does not seem to suffer from the “not invented here” syndrome and uses open source libraries and tools; in fact it depends on Firefox for JavaScript debugging, and automatically installs its own plugin to improve integration.</p>
<p><a href="http://www.itwriting.com/blog/wp-content/uploads/2011/03/image2.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.itwriting.com/blog/wp-content/uploads/2011/03/image_thumb2.png" width="244" height="62" /></a></p>
<p>However I picked up a note of disapproval in the description on the <a href="http://code.google.com/p/zen-coding/" target="_blank">Zen Coding site</a> about the way JetBrains has chosen to implement Zen Coding abbreviations:</p>
<blockquote><p>These plugins are developed by third-party and has their own ZC engine implementation, which leads to different feature set and abbreviation syntax. Zen Coding team has no relation to this projects</p>
</blockquote>
<p>WebStorm is modestly priced at £54.00 for individual developers or £115 per concurrent user for organisations.&#160; PHPStorm is £77 or £154 on the same basis. Free licenses are available for education or for open source projects, on application.</p>
<p>Competing products include the free <a href="http://www.eclipse.org/pdt/" target="_blank">Eclipse PDT</a> and <a href="http://netbeans.org/features/php/" target="_blank">NetBeans</a>, the commercial <a href="http://www.zend.com/en/products/studio/" target="_blank">Zend Studio</a>, and for a more designer-friendly approach to PHP, Adobe <a href="http://www.adobe.com/products/dreamweaver/" target="_blank">Dreamweaver CS5</a>.</p>


<p>Related posts:<ol><li><a href='http://www.itwriting.com/blog/3973-jetbrains-announces-ide-for-objective-c-to-compete-with-xcode.html' rel='bookmark' title='Permanent Link: JetBrains announces IDE for Objective C to compete with Xcode'>JetBrains announces IDE for Objective C to compete with Xcode</a></li>
<li><a href='http://www.itwriting.com/blog/3322-pycharm-jetbrains-ide-for-python-and-django.html' rel='bookmark' title='Permanent Link: PyCharm: JetBRAINS IDE for Python and Django'>PyCharm: JetBRAINS IDE for Python and Django</a></li>
<li><a href='http://www.itwriting.com/blog/75-jetbrains-omea-going-free-and-open-source.html' rel='bookmark' title='Permanent Link: JetBrains OMEA going free and open source'>JetBrains OMEA going free and open source</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.itwriting.com/blog/3967-jetbrains-webstorm-2-0-and-phpstorm-2-0-first-look.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>No more Ruby support in NetBeans &#8211; the feature was little used, says Oracle</title>
		<link>http://www.itwriting.com/blog/3755-no-more-ruby-support-in-netbeans-the-feature-was-little-used-say-oracle.html</link>
		<comments>http://www.itwriting.com/blog/3755-no-more-ruby-support-in-netbeans-the-feature-was-little-used-say-oracle.html#comments</comments>
		<pubDate>Thu, 27 Jan 2011 17:01:42 +0000</pubDate>
		<dc:creator>tim</dc:creator>
				<category><![CDATA[development]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[professional]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[software development]]></category>
		<category><![CDATA[web authoring]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[netbeans]]></category>
		<category><![CDATA[oracle]]></category>

		<guid isPermaLink="false">http://www.itwriting.com/blog/3755-no-more-ruby-support-in-netbeans-the-feature-was-little-used-say-oracle.html</guid>
		<description><![CDATA[<p>Oracle has announced the discontinuation of Ruby support in the NetBeans IDE. The reason? First, to free resources for JDK 7 support; but second (and more significant) – hardly anyone was using it.</p> <p>There is hardly a shortage of Ruby IDEs. Ones that come to mind are the Eclipse-based Aptana, JetBrains RubyMine, the Visual <p><i>...continue reading</i> <a href="http://www.itwriting.com/blog/3755-no-more-ruby-support-in-netbeans-the-feature-was-little-used-say-oracle.html">No more Ruby support in NetBeans &#8211; the feature was little used, says Oracle</a></p>


Related posts:<ol><li><a href='http://www.itwriting.com/blog/5317-top-languages-on-github-javascript-reigns-ruby-and-python-next.html' rel='bookmark' title='Permanent Link: Top languages on Github: JavaScript reigns, Ruby and Python next'>Top languages on Github: JavaScript reigns, Ruby and Python next</a></li>
<li><a href='http://www.itwriting.com/blog/692-ruby-interpreter-flaws-make-the-case-for-jruby.html' rel='bookmark' title='Permanent Link: Ruby interpreter flaws make the case for JRuby?'>Ruby interpreter flaws make the case for JRuby?</a></li>
<li><a href='http://www.itwriting.com/blog/5259-android-good-or-bad-for-java-oracle-claims-harm-but-i-am-sceptical.html' rel='bookmark' title='Permanent Link: Android: good or bad for Java? Oracle claims harm but I am sceptical'>Android: good or bad for Java? Oracle claims harm but I am sceptical</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Oracle has <a href="http://netbeans.org/community/news/show/1507.html" target="_blank">announced</a> the discontinuation of Ruby support in the NetBeans IDE. The reason? First, to free resources for JDK 7 support; but second (and more significant) – hardly anyone was using it.</p>
<p>There is hardly a shortage of Ruby IDEs. Ones that come to mind are the Eclipse-based <a href="http://www.aptana.com/products/radrails" target="_blank">Aptana</a>, <a href="http://www.jetbrains.com/ruby/" target="_blank">JetBrains RubyMine</a>, the Visual Studio based <a href="http://www.sapphiresteel.com/Products/Ruby-In-Steel/Ruby-In-Steel-Developer-Overview" target="_blank">Ruby in Steel</a>, and Embarcardero’s <a href="http://www.embarcadero.com/products/3rdrail" target="_blank">3rd Rail</a>. Further, some Ruby developers prefer to work without an IDE.</p>
<p>I also suspect that Ruby has not quite hit the mainstream in the way it seemed that it might a few years back. Its influence has been huge, but in practice many developers still fall back to PHP, Java and C#.</p>


<p>Related posts:<ol><li><a href='http://www.itwriting.com/blog/5317-top-languages-on-github-javascript-reigns-ruby-and-python-next.html' rel='bookmark' title='Permanent Link: Top languages on Github: JavaScript reigns, Ruby and Python next'>Top languages on Github: JavaScript reigns, Ruby and Python next</a></li>
<li><a href='http://www.itwriting.com/blog/692-ruby-interpreter-flaws-make-the-case-for-jruby.html' rel='bookmark' title='Permanent Link: Ruby interpreter flaws make the case for JRuby?'>Ruby interpreter flaws make the case for JRuby?</a></li>
<li><a href='http://www.itwriting.com/blog/5259-android-good-or-bad-for-java-oracle-claims-harm-but-i-am-sceptical.html' rel='bookmark' title='Permanent Link: Android: good or bad for Java? Oracle claims harm but I am sceptical'>Android: good or bad for Java? Oracle claims harm but I am sceptical</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.itwriting.com/blog/3755-no-more-ruby-support-in-netbeans-the-feature-was-little-used-say-oracle.html/feed</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Accelerating PHP with the Alternative PHP Cache</title>
		<link>http://www.itwriting.com/blog/3698-accelerating-php-with-alternative-php-cache.html</link>
		<comments>http://www.itwriting.com/blog/3698-accelerating-php-with-alternative-php-cache.html#comments</comments>
		<pubDate>Fri, 21 Jan 2011 16:57:55 +0000</pubDate>
		<dc:creator>tim</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[software development]]></category>
		<category><![CDATA[web authoring]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[apc]]></category>

		<guid isPermaLink="false">http://www.itwriting.com/blog/3698-accelerating-php-with-alternative-php-cache.html</guid>
		<description><![CDATA[<p>I decided to install the open source Alternative PHP Cache on this server in order to improve performance. Interesting exercise. This server runs Debian Linux, and there are several ways to install APC:</p> <p>1. Install the official package with apt-get install php-apc or similar</p> <p>2. Install with the PHP Extension Community Library which goes <p><i>...continue reading</i> <a href="http://www.itwriting.com/blog/3698-accelerating-php-with-alternative-php-cache.html">Accelerating PHP with the Alternative PHP Cache</a></p>


Related posts:<ol><li><a href='http://www.itwriting.com/blog/727-test-your-dns-server-for-cache-poisoning-susceptibility.html' rel='bookmark' title='Permanent Link: Test your DNS server for cache poisoning susceptibility'>Test your DNS server for cache poisoning susceptibility</a></li>
<li><a href='http://www.itwriting.com/blog/1081-amethyst-from-sapphiresteel-develop-flex-in-visual-studio-an-alternative-to-tofino.html' rel='bookmark' title='Permanent Link: Amethyst from SapphireSteel: Develop Flex in Visual Studio, an alternative to Tofino'>Amethyst from SapphireSteel: Develop Flex in Visual Studio, an alternative to Tofino</a></li>
<li><a href='http://www.itwriting.com/blog/78-installing-xna-game-studio-express-on-vista.html' rel='bookmark' title='Permanent Link: Installing XNA Game Studio Express on Vista'>Installing XNA Game Studio Express on Vista</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I decided to install the open source <a href="http://pecl.php.net/package/APC" target="_blank">Alternative PHP Cache</a> on this server in order to improve performance. Interesting exercise. This server runs Debian Linux, and there are several ways to install APC:</p>
<p>1. Install the official package with apt-get install php-apc or similar</p>
<p>2. Install with the <a href="http://pecl.php.net/" target="_blank">PHP Extension Community Library</a> which goes something like:</p>
<p>apt-get install apache2   <br />apt-get install libapache2-mod-php5    <br />apt-get install php-pear    <br />apt-get install php5-dev    <br />apt-get install make    <br />apt-get install apache2-prefork-dev    <br />pecl install apc</p>
<p>The advantage over (1) is that you get the latest stable build, version 3.1.6, instead of the Debian package which is 3.0.19</p>
<p>3. Download the source and do <a href="http://www.phpbuilder.com/manual/install.pecl.phpize.php" target="_blank">something like this</a> to install.</p>
<p>I started with option (2) though I came to regret it. The first problem is that the pecl installer will build with your currently-installed Apache, and if you later upgrade Apache it might break. Sticking with the official package is safer, even though it is very out of date.</p>
<p>I could live with the idea of re-installing APC every time Apache was updated if necessary, but I had another problem. I was up and running with APC 3.1.6 and pleased with the results, until after a while everything stopped working and my blog became a screen full of messages saying “Unable to allocate memory for pool”.</p>
<p>It looks like <a href="http://pecl.php.net/bugs/bug.php?id=16966" target="_blank">this bug</a>, which was said to be fixed in version 3.1.5, but if you look to the end of the comments there is one from today with the same issue, and no suggestions about how to fix it.</p>
<p>The ancient version, on the other hand, has performed perfectly so far.</p>
<p>Another point of interest: I found it challenging to discover the best settings for APC. By default the install does no more than to enable the extension; but the default setting is unlikely to be the best one. The documentation tells you <a href="http://www.php.net/manual/en/apc.configuration.php" target="_blank">what each setting</a> does, but not how to choose the best values for those settings. Should the cache be the default 32MB, or something much greater? Another thing to note: if you compile with MMAP support, which is the default, the value of apc.shm_segments is ignored, and the value in apc.shm_size will solely determine the size of the cache.</p>
<p>I found this Moodle article on <a href="http://docs.moodle.org/en/Installing_APC_in_Windows" target="_blank">installing APC in Windows</a> helpful. What you do is first to find the file apc.php which the install put somewhere like /usr/share/doc/php-apc &#8211; in my case it was also compressed -&#160; and put this on your website, preferably in a password-protected folder. This tells you the status of the cache. The aim is to have the cache just big enough that it does not become full and highly fragmented. Here is what I get after a short run with 128MB, which may be a little too much:</p>
<p><a href="http://www.itwriting.com/blog/wp-content/uploads/2011/01/image32.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.itwriting.com/blog/wp-content/uploads/2011/01/image_thumb35.png" width="404" height="401" /></a></p>
<p>Another tip is to set apc.stat to 0. This means APC will not check for changes in PHP files since they were last compiled and cached. The downside is that every time you change a file you have to restart the web server; but the benefit is better performance, which is the goal after all.</p>


<p>Related posts:<ol><li><a href='http://www.itwriting.com/blog/727-test-your-dns-server-for-cache-poisoning-susceptibility.html' rel='bookmark' title='Permanent Link: Test your DNS server for cache poisoning susceptibility'>Test your DNS server for cache poisoning susceptibility</a></li>
<li><a href='http://www.itwriting.com/blog/1081-amethyst-from-sapphiresteel-develop-flex-in-visual-studio-an-alternative-to-tofino.html' rel='bookmark' title='Permanent Link: Amethyst from SapphireSteel: Develop Flex in Visual Studio, an alternative to Tofino'>Amethyst from SapphireSteel: Develop Flex in Visual Studio, an alternative to Tofino</a></li>
<li><a href='http://www.itwriting.com/blog/78-installing-xna-game-studio-express-on-vista.html' rel='bookmark' title='Permanent Link: Installing XNA Game Studio Express on Vista'>Installing XNA Game Studio Express on Vista</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.itwriting.com/blog/3698-accelerating-php-with-alternative-php-cache.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Microsoft WebMatrix released: a simple editor for ASP.NET Razor and more, but who is the target user?</title>
		<link>http://www.itwriting.com/blog/3666-microsoft-webmatrix-released-a-simple-editor-for-asp-net-razor-and-more-but-who-is-the-target-user.html</link>
		<comments>http://www.itwriting.com/blog/3666-microsoft-webmatrix-released-a-simple-editor-for-asp-net-razor-and-more-but-who-is-the-target-user.html#comments</comments>
		<pubDate>Thu, 13 Jan 2011 11:40:01 +0000</pubDate>
		<dc:creator>tim</dc:creator>
				<category><![CDATA[.net]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[professional]]></category>
		<category><![CDATA[software development]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[web authoring]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[windows 7]]></category>
		<category><![CDATA[asp.net]]></category>
		<category><![CDATA[iis]]></category>
		<category><![CDATA[razor]]></category>
		<category><![CDATA[webmatrix]]></category>

		<guid isPermaLink="false">http://www.itwriting.com/blog/3666-microsoft-webmatrix-released-a-simple-editor-for-asp-net-razor-and-more-but-who-is-the-target-user.html</guid>
		<description><![CDATA[<p>Microsoft has released WebMatrix, a free tool for creating web sites for Microsoft’s web server. It uses the Web Platform Installer and installed smoothly on my Windows 7 64-bit box. What you get is a cleanly-designed tool which lets you start web sites from templates or from standard installs of popular applications including WordPress, <p><i>...continue reading</i> <a href="http://www.itwriting.com/blog/3666-microsoft-webmatrix-released-a-simple-editor-for-asp-net-razor-and-more-but-who-is-the-target-user.html">Microsoft WebMatrix released: a simple editor for ASP.NET Razor and more, but who is the target user?</a></p>


Related posts:<ol><li><a href='http://www.itwriting.com/blog/3641-how-microsoft-sharepoint-makes-simple-things-hard.html' rel='bookmark' title='Permanent Link: How Microsoft SharePoint makes simple things hard'>How Microsoft SharePoint makes simple things hard</a></li>
<li><a href='http://www.itwriting.com/blog/4274-microsofts-scott-guthrie-moving-to-windows-azure.html' rel='bookmark' title='Permanent Link: Microsoft&rsquo;s Scott Guthrie moving to Windows Azure'>Microsoft&rsquo;s Scott Guthrie moving to Windows Azure</a></li>
<li><a href='http://www.itwriting.com/blog/4913-a-simple-example-of-async-and-await-in-c-5.html' rel='bookmark' title='Permanent Link: A simple example of async and await in C# 5'>A simple example of async and await in C# 5</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Microsoft has released <a href="http://www.microsoft.com/web/webmatrix/" target="_blank">WebMatrix</a>, a free tool for creating web sites for Microsoft’s web server. It uses the <a href="http://www.microsoft.com/web/platform/default.aspx" target="_blank">Web Platform Installer</a> and installed smoothly on my Windows 7 64-bit box. What you get is a cleanly-designed tool which lets you start web sites from templates or from standard installs of popular applications including WordPress, Drupal and Moodle. </p>
<p><a href="http://www.itwriting.com/blog/wp-content/uploads/2011/01/image25.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.itwriting.com/blog/wp-content/uploads/2011/01/image_thumb28.png" width="404" height="297" /></a></p>
<p>Yes, you can use PHP and MySQL as well as .NET web applications, though the common factor is that all are configured for IIS, Microsoft’s web server.</p>
<p>With many ISPs already offering instant installs of apps like WordPress, it is more interesting to look at the site templates in WebMatrix, though the selection is smaller.</p>
<p><a href="http://www.itwriting.com/blog/wp-content/uploads/2011/01/image26.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.itwriting.com/blog/wp-content/uploads/2011/01/image_thumb29.png" width="404" height="297" /></a></p>
<p>What is interesting about these is that they create sites based on Razor, an alternative view engine for ASP.NET. Microsoft VP Scott Guthrie describes Razor <a href="http://weblogs.asp.net/scottgu/archive/2010/07/02/introducing-razor.aspx" target="_blank">here</a>. It is odd though: Razor is a feature of <a href="http://www.asp.net/mvc/mvc3" target="_blank">ASP.NET MVC 3</a>, currently in release candidate phase, but you cannot create ASP.NET MVC sites in Web Matrix.</p>
<p>Once a site is created, you can modify it in the WebMatrix editor.</p>
<p><a href="http://www.itwriting.com/blog/wp-content/uploads/2011/01/image27.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.itwriting.com/blog/wp-content/uploads/2011/01/image_thumb30.png" width="404" height="371" /></a></p>
<p>You can run the site on IIS Express with one click. WebMatrix will show you all the requests as you run, which could be handy for tracing problems. There is also a database management workspace which uses SQL Server Compact Edition, a reporting workspace which will analyse your site for problems, and the ability to publish a site using&#160; FTP or Microsoft’s <a href="http://www.iis.net/download/WebDeploy" target="_blank">Web Deploy</a>.</p>
<p>I like the clean look of WebMatrix, and that it is lightweight and fast; but who is the target user? It appears to be aimed at non-professionals; but this is a techie product that will not appeal to users looking for an easy to use web site builder. There is no visual editor; users are just chucked in at the deep end editing raw HTML and C#. There is not even any intellisense code completion. Clicking Online Help just brings up a Microsoft search form. There is no debugger to speak of; you are expected to upgrade to Visual Studio. Which raises the question, why not just get <a href="http://www.microsoft.com/express/Web/" target="_blank">Visual Web Developer 2010 Express</a>, which is also free, and has a better editor and debugging features? Of course you could use the two together; but Web Matrix is not adding much value. Features like the SEO analysis seem to be be based on the existing <a href="http://www.iis.net/download/SEOToolkit" target="_blank">Search Engine Optimization Toolkit</a>, which you can install without Web Matrix.</p>
<p>WebMatrix has been available in beta for six months, but its <a href="http://forums.iis.net/1166.aspx" target="_blank">forum</a> is relatively quiet.</p>
<p>Still, if nothing else Web Matrix is a handy way to take a look at Razor, which deserves attention. Shay Friedman has a technical introduction <a href="http://www.ironshay.com/post/The-Razor-View-Engine-Basics.aspx" target="_blank">here</a>.</p>
<p>Guthrie has a detailed look at the WebMatrix beta <a href="http://weblogs.asp.net/scottgu/archive/2010/07/06/introducing-webmatrix.aspx" target="_blank">here</a>.</p>


<p>Related posts:<ol><li><a href='http://www.itwriting.com/blog/3641-how-microsoft-sharepoint-makes-simple-things-hard.html' rel='bookmark' title='Permanent Link: How Microsoft SharePoint makes simple things hard'>How Microsoft SharePoint makes simple things hard</a></li>
<li><a href='http://www.itwriting.com/blog/4274-microsofts-scott-guthrie-moving-to-windows-azure.html' rel='bookmark' title='Permanent Link: Microsoft&rsquo;s Scott Guthrie moving to Windows Azure'>Microsoft&rsquo;s Scott Guthrie moving to Windows Azure</a></li>
<li><a href='http://www.itwriting.com/blog/4913-a-simple-example-of-async-and-await-in-c-5.html' rel='bookmark' title='Permanent Link: A simple example of async and await in C# 5'>A simple example of async and await in C# 5</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.itwriting.com/blog/3666-microsoft-webmatrix-released-a-simple-editor-for-asp-net-razor-and-more-but-who-is-the-target-user.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Single sign-on from Active Directory to Windows Azure: big feature, still challenging</title>
		<link>http://www.itwriting.com/blog/3528-single-sign-on-from-active-directory-to-windows-azure-big-feature-still-challenging.html</link>
		<comments>http://www.itwriting.com/blog/3528-single-sign-on-from-active-directory-to-windows-azure-big-feature-still-challenging.html#comments</comments>
		<pubDate>Wed, 22 Dec 2010 09:11:10 +0000</pubDate>
		<dc:creator>tim</dc:creator>
				<category><![CDATA[azure]]></category>
		<category><![CDATA[cloud computing]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[professional]]></category>
		<category><![CDATA[software development]]></category>
		<category><![CDATA[.net]]></category>
		<category><![CDATA[active directory]]></category>
		<category><![CDATA[adfs]]></category>
		<category><![CDATA[facebook connect]]></category>
		<category><![CDATA[single sign-on]]></category>
		<category><![CDATA[windows identity foundation]]></category>

		<guid isPermaLink="false">http://www.itwriting.com/blog/3528-single-sign-on-from-active-directory-to-windows-azure-big-feature-still-challenging.html</guid>
		<description><![CDATA[<p>Microsoft has posted a white paper setting out what you need to do in order to have users who are signed on to a local Windows domain seamlessly use an Azure-hosted application, without having to sign in again.</p> <p>I think this is a huge feature. Maintaining a single user directory is more secure and <p><i>...continue reading</i> <a href="http://www.itwriting.com/blog/3528-single-sign-on-from-active-directory-to-windows-azure-big-feature-still-challenging.html">Single sign-on from Active Directory to Windows Azure: big feature, still challenging</a></p>


Related posts:<ol><li><a href='http://www.itwriting.com/blog/3807-restoring-an-old-small-business-server-2008-backup-beware-expired-active-directory.html' rel='bookmark' title='Permanent Link: Restoring an old Small Business Server 2008 backup: beware expired Active Directory'>Restoring an old Small Business Server 2008 backup: beware expired Active Directory</a></li>
<li><a href='http://www.itwriting.com/blog/3386-microsoft-pdc-big-on-azure-quiet-on-silverlight.html' rel='bookmark' title='Permanent Link: Microsoft PDC big on Azure, quiet on Silverlight'>Microsoft PDC big on Azure, quiet on Silverlight</a></li>
<li><a href='http://www.itwriting.com/blog/2161-windows-azure-is-too-expensive-for-small-apps.html' rel='bookmark' title='Permanent Link: Windows Azure is too expensive for small apps'>Windows Azure is too expensive for small apps</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Microsoft has posted a <a href="http://www.microsoft.com/downloads/en/details.aspx?FamilyID=1296e52c-d869-4f73-a112-8a37314a1632" target="_blank">white paper</a> setting out what you need to do in order to have users who are signed on to a local Windows domain seamlessly use an Azure-hosted application, without having to sign in again.</p>
<p>I think this is a huge feature. Maintaining a single user directory is more secure and more robust than efforts to synchronise a local directory with a cloud-hosted directory, and this is a point of friction when it comes to adopting services such as Google Apps or Salesforce.com. Single sign-on with federated directory services takes that away. As an application developer, you can write code that looks the same as it would for a locally deployed application, but host it on Azure. </p>
<p>There is also a usability issue. Users hate having to sign in multiple times, and hate it even more if they have to maintain separate username/password combinations for different applications (though we all do).</p>
<p>The white paper explains how to use Active Directory Federation Services (ADFS) and Windows Identity Foundation (WIF, part of the .NET Framework) to achieve both single sign-on and access to user data across local network and cloud.</p>
<p><a href="http://www.itwriting.com/blog/wp-content/uploads/2010/12/image8.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.itwriting.com/blog/wp-content/uploads/2010/12/image_thumb8.png" width="419" height="238" /></a></p>
<p>The snag? It is a complex process. The white paper has a walk-through, though to complete it you also need this <a href="http://www.microsoft.com/downloads/en/details.aspx?displaylang=en&amp;familyid=bb9ab270-473b-4852-b26e-031a88edd113" target="_blank">guide</a> on setting up ADFS and WIF. There are numerous steps, some of which are not obvious. Did you know that “.NET 4.0 has new behavior that, by default, will cause an error condition on a page request that contains a WS-Federation authentication token”?</p>
<p>Of course dealing with complexity is part of the job of a developer or system administrator. Then again, complexity also means more to remember and more to troubleshoot, and less incentive to try it out.</p>
<p>One of the reasons I am enthusiastic about Windows <a href="http://www.microsoft.com/sbs/en/us/beta.aspx" target="_blank">Small Business Server Essentials</a> (codename Aurora) is that it promises to do single sign-on to the cloud in a truly user-friendly manner. According to a briefing I had from SBS technical product manager Michael Leworthy, cloud application vendors will supply “cloud integration modules,” connectors that you install into your SBS to get instant single sign-on integration.</p>
<p>SBS Essentials does run ADFS under the covers, but you will not need a 35-page guide to get it working, or so we are promised. I admit, I have not been able to test this feature yet, and aside from Microsoft’s BPOS/Office 365 I do not know how many online applications will support it. </p>
<p>Still, this is the kind of thing that will get single sign-on with Active Directory widely adopted.</p>
<p>Consider <a href="http://developers.facebook.com/docs/guides/web" target="_blank">FaceBook Connect</a>. Register your app with Facebook; write a few lines of JavaScript and PHP; and you can achieve the same results: single sign-on and access to user account information. Facebook knows that to get wide adoption for its identity platform it has to be easy to implement.</p>
<p>On Microsoft’s platform, another option is to <a href="http://blogs.msdn.com/b/plankytronixx/archive/2010/11/02/you-can-now-join-your-azure-instances-to-your-local-ad.aspx" target="_blank">join your Azure instance to the local domain</a>. This is a feature of Azure Connect, currently in beta.</p>
<p>Are you using ADFS, with Azure or another platform? I would be interested to hear how it is going.</p>


<p>Related posts:<ol><li><a href='http://www.itwriting.com/blog/3807-restoring-an-old-small-business-server-2008-backup-beware-expired-active-directory.html' rel='bookmark' title='Permanent Link: Restoring an old Small Business Server 2008 backup: beware expired Active Directory'>Restoring an old Small Business Server 2008 backup: beware expired Active Directory</a></li>
<li><a href='http://www.itwriting.com/blog/3386-microsoft-pdc-big-on-azure-quiet-on-silverlight.html' rel='bookmark' title='Permanent Link: Microsoft PDC big on Azure, quiet on Silverlight'>Microsoft PDC big on Azure, quiet on Silverlight</a></li>
<li><a href='http://www.itwriting.com/blog/2161-windows-azure-is-too-expensive-for-small-apps.html' rel='bookmark' title='Permanent Link: Windows Azure is too expensive for small apps'>Windows Azure is too expensive for small apps</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.itwriting.com/blog/3528-single-sign-on-from-active-directory-to-windows-azure-big-feature-still-challenging.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

