Forwarding this conversation to the Python Advocacy list...<br><br><div class="gmail_quote"><span style="font-size: large; font-weight: bold;">Forwarded conversation</span><br>Subject: <b class="gmail_sendername">[dfwPython] PHP more satisfying than Python? Splutter!</b><br>
------------------------<br><br><span class="undefined"><font color="#000000">From: <b class="undefined"></b> <span dir="ltr">&lt;<a href="mailto:martin@martinthomas.net">martin@martinthomas.net</a>&gt;</span><br>Date: Thu, Mar 5, 2009 at 8:53 AM<br>
To: dfwpython &lt;<a href="mailto:dfwpython@dfwpython.org">dfwpython@dfwpython.org</a>&gt;<br></font><br></span><br>I found this article while browsing the Register (&quot;biting the hand that feeds IT&quot;) and did a double-take:<br>

<br>
<a href="http://www.theregister.co.uk/2009/03/05/evans_data_gentlemen_prefer_php/" target="_blank">http://www.theregister.co.uk/2009/03/05/evans_data_gentlemen_prefer_php/</a><br>
<br>
Any thoughts?<br>
<br>
//M<br>
<br>
_______________________________________________<br>
dfwPython mailing list<br>
<a href="mailto:dfwPython@dfwpython.org" target="_blank">dfwPython@dfwpython.org</a><br>
<a href="https://www.dfwpython.org/mailman/listinfo/dfwpython" target="_blank">https://www.dfwpython.org/mailman/listinfo/dfwpython</a><br>
<br>----------<br><span class="undefined"><font color="#000000">From: <b class="undefined">Brad Allen</b> <span dir="ltr">&lt;<a href="mailto:brad@allendev.com">brad@allendev.com</a>&gt;</span><br>Date: Thu, Mar 5, 2009 at 10:22 AM<br>
To: <a href="mailto:martin@martinthomas.net">martin@martinthomas.net</a><br>Cc: dfwpython &lt;<a href="mailto:dfwpython@dfwpython.org">dfwpython@dfwpython.org</a>&gt;<br></font><br></span><br>I guess they didn&#39;t ask any developers working in engineering, scientific computing, system administration, health care industry, computer science instruction, etc. :-)<div>
<div></div></div><br>_______________________________________________<br>
dfwPython mailing list<br>
<a href="mailto:dfwPython@dfwpython.org">dfwPython@dfwpython.org</a><br>
<a href="https://www.dfwpython.org/mailman/listinfo/dfwpython" target="_blank">https://www.dfwpython.org/mailman/listinfo/dfwpython</a><br>
<br><br>----------<br><span class="undefined"><font color="#000000">From: <b class="undefined">John Taber</b> <span dir="ltr">&lt;<a href="mailto:john@tigernassau.com">john@tigernassau.com</a>&gt;</span><br>Date: Thu, Mar 5, 2009 at 8:50 PM<br>
To: Brad Allen &lt;<a href="mailto:brad@allendev.com">brad@allendev.com</a>&gt;<br>Cc: dfwpython &lt;<a href="mailto:dfwpython@dfwpython.org">dfwpython@dfwpython.org</a>&gt;<br></font><br></span><br>Brad Allen wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"></blockquote>
<br>
well, maybe not surprising.<br>
1) in the web world, many &quot;developers&quot; are actually web designers who really don&#39;t program a whole lot but can throw together some php scripts to make things happen<br>
2) PHP is probably still the #1 web development platform based on inertia (no small factor - look at bookstore shelves)<br>
3) python and ruby still have very small market shares - corporate penetration is still very small<br>
4) most hosting companies barely support python, hardly support ruby (ruby&#39;s former hosting problem was because it had required mongrel, nginx, yada, yada - this is now fixed with the simple passenger (mod_rails) but few are up to speed on this - not even WebFaction)<br>

5) more interesting might be: what are developers choosing to do new projects in ?<br>
6) hardly a good reason, but at UNT, PHP is taught, python or ruby is not (despite my advocacy). <br>
but the article might be total rubbish when it shows PHP is a major choice for security - huh?  PHP has some advantages but security is hardly one of them. <br>
<br>
<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
    //M<br>
<br>
    _______________________________________________<br>
    dfwPython mailing list<br>
    <a href="mailto:dfwPython@dfwpython.org" target="_blank">dfwPython@dfwpython.org</a> &lt;mailto:<a href="mailto:dfwPython@dfwpython.org" target="_blank">dfwPython@dfwpython.org</a>&gt;
------------------------------------------------------------------------</blockquote><font color="#888888">
<br>
<br>
-- <br>
Tiger Nassau, Inc.<br>
<a href="http://www.tigernassau.com" target="_blank">www.tigernassau.com</a><br>
1501 South Loop 288 #104<br>
Denton, TX  76205<br>
940-206-9763</font><div><div></div></div><br>----------<br><span class="undefined"><font color="#000000">From: <b class="undefined">Kevin Horn</b> <span dir="ltr">&lt;<a href="mailto:kevin.horn@gmail.com">kevin.horn@gmail.com</a>&gt;</span><br>
Date: Thu, Mar 5, 2009 at 10:36 PM<br>To: dfwpython &lt;<a href="mailto:dfwpython@dfwpython.org">dfwpython@dfwpython.org</a>&gt;<br></font><br></span><br><br><br><div class="gmail_quote"><div><br>I do mostly web development for a living, and I get hired because I know PHP.  Corporate clients who go looking for web developers think they have 3 choices: Java, .NET, and PHP.  While I&#39;d certainly pick PHP out of those 3 options, I&#39;d much rather be using Python (I adore Turbogears).  However, the decision of which technology is to be used has usually been made by some non-technical higher-up who read something in a &quot;executive&quot; magazine long before I (or any other technical types) are consulted.  Sometimes I can sneak some Python in under the radar, though...I often use Python tools to do mass database migrations or even to generate PHP code.<br>

<br>but going point by point over their various criterion:<br><br><ul><li>
<b>Ease of Use:</b> Ruby, PHP, Flex  (obviously I disagree here)<br></li><li>
<b>Exception Handling:</b> Ruby, Python, Powershell (Powershell? are they serious?)<br></li><li>
<b>Extensibility:</b> Python, PHP, Perl  (damn straight Python wins here)<br></li><li>
<b>Maintainability/Readability:</b> Ruby, PHP, Python  (I weep to think that I live in a world where anyone considers PHP more readable than Python)<br></li><li>
<b>Cross-platform Portability:</b> PHP, Ruby, Python  (I don&#39;t see how Ruby beats Python here, and PHP is mostly married to the Apache &quot;platform&quot;, so while it runs on lots of OSs, you&#39;re stuck with the one web server, and sometimes Apache is overkill)<br>

</li><li>
<b>Community:</b> Ruby, PHP, Javascript  (ick...don&#39;t know what to say to that)<br></li><li>
<b>Availability of Tools:</b> PHP, Ruby, VB Script  (with Python you don&#39;t need much in the way of tools, though I guess it depends on what they mean by tools)<br></li><li>
<b>Quality of Tools:</b> PHP, Flex, Python  (ditto)<br></li><li>
<b>Performance:</b> PHP, Perl, Python  (no way PHP beats Python in a web application of any significant size)<br></li><li>
<b>Memory Management:</b> Python, Perl, Flex  (???)<br></li><li>
<b>Client-side Scripting:</b> Javascript, Ruby, Windows Powershell  (again, how did Powershell get into this survey at all?)<br></li><li>
<b>Security:</b> Microsoft F#, PHP, Ruby  (PHP should be dead last when it comes to security...yes, you CAN write secure code in PHP, but it&#39;s not easy)</li></ul>On the subject of the &quot;overall satisfaction&quot; rating...I wonder how much of PHP&#39;s win comes from the fact that there are really no serious negatives (or at least negative perceptions) to it.  In other words maybe the survey doesn&#39;t indicate the developer community&#39;s &quot;favorite&quot; language, but rather the &quot;least hated&quot;.<br>

<br>Kevin Horn<br><br></div></div>
<br>_______________________________________________<br>
dfwPython mailing list<br>
<a href="mailto:dfwPython@dfwpython.org">dfwPython@dfwpython.org</a><br>
<a href="https://www.dfwpython.org/mailman/listinfo/dfwpython" target="_blank">https://www.dfwpython.org/mailman/listinfo/dfwpython</a><br>
<br><br>----------<br><span class="undefined"><font color="#000000">From: <b class="undefined">Jeff Rush</b> <span dir="ltr">&lt;<a href="mailto:jeff@taupro.com">jeff@taupro.com</a>&gt;</span><br>Date: Fri, Mar 6, 2009 at 3:57 AM<br>
To: dfwpython &lt;<a href="mailto:dfwpython@dfwpython.org">dfwpython@dfwpython.org</a>&gt;<br></font><br></span><br>(repost from a message that got caught in the anti-spam mechanism)<br>
<br>
Subject: Re: [dfwPython] PHP more satisfying than Python? Splutter!<br>
From: Sam Rangaswamy &lt;<a href="mailto:sam@zeomega.com">sam@zeomega.com</a>&gt;<br>
Date: Thu, 5 Mar 2009 10:32:10 -0600 (CST)<br>
To: Brad Allen &lt;<a href="mailto:brad@allendev.com">brad@allendev.com</a>&gt;<br>
CC: dfwpython &lt;<a href="mailto:dfwpython@dfwpython.org">dfwpython@dfwpython.org</a>&gt;, <a href="mailto:martin@martinthomas.net">martin@martinthomas.net</a><br>
<br>
looking at this<br>
I think they also surveyed programmers walking out of  a pub , PHP is more<br>
maintainable or readable than Python ?<br>
<div><div></div></div><br>----------<br><span class="undefined"><font color="#000000">From: <b class="undefined">Jeff Rush</b> <span dir="ltr">&lt;<a href="mailto:jeff@taupro.com">jeff@taupro.com</a>&gt;</span><br>Date: Fri, Mar 6, 2009 at 4:00 AM<br>
To: dfwpython &lt;<a href="mailto:dfwpython@dfwpython.org">dfwpython@dfwpython.org</a>&gt;<br></font><br></span><br>From: Broadus Jones &lt;<a href="mailto:broadus.jones@gmail.com">broadus.jones@gmail.com</a>&gt;<br>
Date: Thu, 05 Mar 2009 12:01:37 -0600<br>
To: <a href="mailto:martin@martinthomas.net">martin@martinthomas.net</a><br>
We were robbed! :)<br>
<br>
The results look skewed by market share and media coverage.  Using both Python<br>
and PHP, I was surprised to see that they were equally ranked in readability /<br>
maintainability.<br>
<div><div></div></div><br>----------<br><span class="undefined"><font color="#000000">From: <b class="undefined">Jason Galyon</b> <span dir="ltr">&lt;<a href="mailto:jtgalyon@gmail.com">jtgalyon@gmail.com</a>&gt;</span><br>
Date: Fri, Mar 6, 2009 at 8:56 AM<br>To: John Taber &lt;<a href="mailto:john@tigernassau.com">john@tigernassau.com</a>&gt;<br>Cc: dfwpython &lt;<a href="mailto:dfwpython@dfwpython.org">dfwpython@dfwpython.org</a>&gt;<br></font><br>
</span><br><br>
I have heard PHP referred to as the &quot;VB of Open Source&quot; :)<br>
<br>
Regardless of any truth in that subjective statement (yes, I see the<br>
contradiction there) it goes without saying that many antipatterns are<br>
introduced in teaching PHP to beginners.<br>
<br>
Working with a PHP shop that is adopting Python I hear a lot about how<br>
it is so much better in many regards.<br>
<font color="#888888"><br>
Jason<br>
</font><div><div></div></div><br>----------<br><span class="undefined"><font color="#000000">From: <b class="undefined">Paul Kippes</b> <span dir="ltr">&lt;<a href="mailto:kippesp@gmail.com">kippesp@gmail.com</a>&gt;</span><br>
Date: Fri, Mar 6, 2009 at 6:11 PM<br>To: dfwpython &lt;<a href="mailto:dfwpython@dfwpython.org">dfwpython@dfwpython.org</a>&gt;<br></font><br></span><br>The readability of PHP beating Python is interesting and I generally<br>

disagree.  The PHP code I&#39;ve written is okay and easy to read, the<br>
Python does a much better job in directing one to break up large<br>
scripts into modules and files.  (Did PHP ever implement namespaces?)<br>
<br>
Tools must also mean programming editors and debuggers.<br>
<br>
I think PHP and Python work equally well across platforms.  It is<br>
trivial to install PHP and Python on Windows and Linux distributions<br>
such as Fedora and Red Hat provide the php-cli RPM.  However even with<br>
Red Hat, the PHP RPM is not required unlike the Python RPM.  Close<br>
tie, perhaps?  One wonders why Perl doesn&#39;t beat them all in this<br>
category.<br>
<div><div></div></div><br>----------<br><span class="undefined"><font color="#000000">From: <b class="undefined">Jason Galyon</b> <span dir="ltr">&lt;<a href="mailto:jtgalyon@gmail.com">jtgalyon@gmail.com</a>&gt;</span><br>
Date: Fri, Mar 6, 2009 at 7:15 PM<br>To: Paul Kippes &lt;<a href="mailto:kippesp@gmail.com">kippesp@gmail.com</a>&gt;, dfwpython &lt;<a href="mailto:dfwpython@dfwpython.org">dfwpython@dfwpython.org</a>&gt;<br></font><br></span><br>
Doesn&#39;t red hat, suse, debian, gentoo, and ubuntu use python for most<br>
of their infrastructure and tools?<br>
<div><div></div></div><font color="#888888">--<br>
Sent from Gmail for mobile | <a href="http://mobile.google.com" target="_blank">mobile.google.com</a><br>
</font><div><div></div></div><br>----------<br><span class="undefined"><font color="#000000">From: <b class="undefined">Martin Thomas</b> <span dir="ltr">&lt;<a href="mailto:martin@martinthomas.net">martin@martinthomas.net</a>&gt;</span><br>
Date: Fri, Mar 6, 2009 at 8:47 PM<br>To: Jason Galyon &lt;<a href="mailto:jtgalyon@gmail.com">jtgalyon@gmail.com</a>&gt;<br>Cc: dfwpython &lt;<a href="mailto:dfwpython@dfwpython.org">dfwpython@dfwpython.org</a>&gt;<br></font><br>
</span><br>
Certainly Redhat use a lot of Python in their tools.<div><div></div></div><br>----------<br><span class="undefined"><font color="#000000">From: <b class="undefined">Jeff Rush</b> <span dir="ltr">&lt;<a href="mailto:jeff@taupro.com">jeff@taupro.com</a>&gt;</span><br>
Date: Fri, Mar 6, 2009 at 10:23 PM<br>To: dfwpython &lt;<a href="mailto:dfwpython@dfwpython.org">dfwpython@dfwpython.org</a>&gt;<br></font><br></span><br>
And the package management facilities of Gentoo are built completely on top of Python.<br><font color="#888888">
<br>
-Jeff</font><div><div></div></div><br>----------<br><span class="undefined"><font color="#000000">From: <b class="undefined">John Taber</b> <span dir="ltr">&lt;<a href="mailto:john@tigernassau.com">john@tigernassau.com</a>&gt;</span><br>
Date: Fri, Mar 6, 2009 at 11:18 PM<br>To: Martin Thomas &lt;<a href="mailto:martin@martinthomas.net">martin@martinthomas.net</a>&gt;<br>Cc: dfwpython &lt;<a href="mailto:dfwpython@dfwpython.org">dfwpython@dfwpython.org</a>&gt;<br>
</font><br></span><br>
And Ubuntu uses a lot of Python as well.    Let&#39;s see, Ruby has GitHub and Python has BitBucket, Launchpad and PHP has er, what?  And connect to the cloud with PHP ?  That&#39;s why I said it would be interesting to compare the newer projects to see if there&#39;s a big difference - and where the momentum is.<div>
<div></div></div><br></div><br>