<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Sat, 18 May 2013 06:11:14 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Volker Dusch's Blog: Never trust other peoples benchmarks - A recent example (exceptions)]]></title>
      <guid>http://www.phpdeveloper.org/news/17417</guid>
      <link>http://www.phpdeveloper.org/news/17417</link>
      <description><![CDATA[<p>
In response to a <a href="http://phpdeveloper.org/news/17403">previous post</a> benchmarking exceptions, <i>Volker Dusch</i> has posted <a href="http://edorian.posterous.com/never-trust-other-peoples-benchmarks-a-recent">some of his own thoughts</a> and benchmarking results on the same topic.
</p>
<blockquote>
Some days ago there was a blog post regarding php exception performance in 5.4 and the numbers got reported all over the place. The actually numbers are secondary. The main point is: Don't trust "random" stuff on the Internet when thinking about improving your application performance. You always need to measure things for your self and take care doing so! I've initially trusted the benchmark myself and disgraced the whole post saying: "Well yes, exceptions are slower than if statements but nice that they got faster".
</blockquote>
<p>
He includes some results with a bit more standardized testing - one run with both 5.3 and 5.4 using XDebug and another with it turned off for both. His results make sense, if you think about them:
</p>
<blockquote>
So what we learn from that? Running stuff with debugging tools is slower than not doing that. That's why we don't use xDebug in production.
</blockquote>]]></description>
      <pubDate>Thu, 19 Jan 2012 09:20:32 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Brian Teeman's Blog: Can you trust your Joomla extensions?]]></title>
      <guid>http://www.phpdeveloper.org/news/13488</guid>
      <link>http://www.phpdeveloper.org/news/13488</link>
      <description><![CDATA[<p>
In <a href="http://brian.teeman.net/extensions/can-you-trust-your-joomla-extensions.html">a recent post</a> to his blog <i>Brian Teeman</i> asks the question of Joomla users and developers - "can you trust your Joomla extensions?"
</p>
<blockquote>
Sadly in the last 6 months there have been two published circumstances where an extension provider has been hacked and malicious code inserted into the extensions that they offer. This meant that as soon as you installed the extension your site was vulnerable to defacement etc. If there have been two published cases perhaps there have been more that we don't know about. So is there anything we can do to prevent this?
</blockquote>
<p>
There is a sort of checking system in place with the <a href="http://en.wikipedia.org/wiki/Md5sum">md5sum</a> matching but it's not widely supported currently. Sites like the <http://extensions.joomla.org/">Joomla Extension Directory</a> would be prime candidates for sharing this sort of information to help protect those with Joomla installs all across the web. 
</p>
<p>
<i>Brian</i> also suggests a way to make it even more seamless - integrate the md5sum checking into the Joomla code itself to make it even simpler for users to verify they they've gotten the write package from the right source (with the right code inside).
</p>]]></description>
      <pubDate>Thu, 05 Nov 2009 11:01:57 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Chris Hartjes' Blog: So You Want To Telecommute? Part 1 - Building Trust]]></title>
      <guid>http://www.phpdeveloper.org/news/12973</guid>
      <link>http://www.phpdeveloper.org/news/12973</link>
      <description><![CDATA[<p>
As finding good, qualified local PHP developers becomes harder and harder for some companies, they're slowly realizing that they might need to look outside their area for good talent. If you're a developer and are wanting to promote yourself as someone who can work as a remote employee, you might want to <a href="http://www.littlehart.net/atthekeyboard/2009/07/29/so-you-want-to-telecommute-part-1-building-trust/">read this post</a> (the first of a series) from <i>Chris Hartjes</i> on telecommuting.
</p>
<blockquote>
My current position as a "software engineer" for <a href="http://www.xmlteam.com/">XML Team Solutions</a> is a 100% telecommuting job. [...] Now, when you have a company where none of your fellow employees works in the same city, let alone the same country, you quickly find out what the key issue really is: trust
</blockquote>
<p>
He goes on to talk about how to build up that trust, not just with the other developers on your team but with the manager you're working with to show them you're the qualified employee they think you are. He also points out one of the big hindrances some companies take issue with on not having all their people in one place - easy meetings/collaboration. 
</p>
<p>
This post was inspired by <a href="http://blog.calevans.com/2009/07/29/remote-developers/">these thoughts</a> from <i>Cal Evans</i>.
</p>]]></description>
      <pubDate>Fri, 31 Jul 2009 09:41:30 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Cal Evans' Blog: Microsoft and PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/12465</guid>
      <link>http://www.phpdeveloper.org/news/12465</link>
      <description><![CDATA[<p>
In some of his research into PHP and Windows recently, <i>Cal Evans</i> has <a href="http://blog.calevans.com/2009/05/05/microsoft-and-php/">come across two surprising things</a> about the (usually dismissed) combination of the two:
</p>
<ul>
<li>It actually runs well if setup properly
<blockquote>
I don't have a spare computer so I'm not going to discuss performance or show benchmarks. I am talking about ease of use in getting things setup. [...] No, I'm not nearly ready to give up my Linux servers in production and despite Sam Ramji's recent pleas to their open source vendors <a href="http://blogs.zdnet.com/microsoft/?p=2353">not to compete on price but compete on value</a>, I can still <a href="http://www.businessweek.com/magazine/content/07_26/b4040436.htm">fail fast and cheap</a> using open source software and operating systems.
</blockquote>
<li>A lot of open source developers just don't trust Microsoft, just because.
<blockquote>
I am, however, willing to give them the benefit of the doubt. I am part of the slim majority on the above poll who thinks they are sincere. The reason I am willing to give them the benefit of the doubt is not because I believe that the core of Microsoft has changed in any way [...] but because I believe that inside of Microsoft, there are pockets of brilliance.
</blockquote>
</ul>
<p>
Check out more of <i>Cal</i>'s thoughts on the matter and the results of his "unscientific" polls he mentions in the rest of <a href="http://blog.calevans.com/2009/05/05/microsoft-and-php/">the post</a>.
</p>]]></description>
      <pubDate>Wed, 06 May 2009 10:26:33 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Keith Casey's Blog: The First Rule for Software Development]]></title>
      <guid>http://www.phpdeveloper.org/news/12456</guid>
      <link>http://www.phpdeveloper.org/news/12456</link>
      <description><![CDATA[<p>
<i>Keith Casey</i> has <a href="http://caseysoftware.com/blog/the-first-rule-software-development">a suggestion</a> for budding (PHP) developers out there looking to jump head first into their first project: "Don't trust the users."
</p>
<blockquote>
Recently I taught a class of bright-eyed, bushy-tailed PHP'ers just getting their start in the world.  They haven't done their first production application and we were working in the "safe" confines of a classroom, but there was one concept that I pounded into their heads: Don't Trust the Users.
</blockquote>
<p>
Generally, as <i>Keith</i> mentions, users aren't malicious/incompetent/ignorant 99 percent of the time, but there's always that off chance that they are and you need to protect you and your application from it by <a href="http://shiflett.org/blog/2005/feb/my-top-two-php-security-practices">filtering input and escaping all output</a> to prevent any mishaps.
</p>]]></description>
      <pubDate>Tue, 05 May 2009 10:25:25 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Chris Hartjes' Blog: Protecting Your PHP Code]]></title>
      <guid>http://www.phpdeveloper.org/news/8302</guid>
      <link>http://www.phpdeveloper.org/news/8302</link>
      <description><![CDATA[<p>
In a <a href="http://www.littlehart.net/atthekeyboard/2007/07/20/protecting-your-php-code/">new post</a> to his blog, <i>Chris Hartjes</i>, spurred on by an article in the latest edition of php|architect magazine (covering protecting your code), has shared a few opinions starting with a certain paragraph near the end.
</p>
<blockquote>
To start, I will focus on the paragraph above. What I get out of that is that if only your source was closed and hidden from prying eyes, it would not have bugs in it. Which is, of course, total nonsense. Code has bugs because it's open and they feel safer? There are two kinds of bugs: application bugs (which is the code I would write) and system bugs (in this case, bugs that that appear from PHP itself). I'm sorry, but there is nothing I can do if there is a bug in PHP that causes my application to crash except to point this bug out to the people who have the ability to fix it.
</blockquote>
<p>
He <a href="http://www.littlehart.net/atthekeyboard/2007/07/20/protecting-your-php-code/">goes on</a> to talk more about how protection like this (the article talks about using the IonCube Encoder) will not stop someone if they're really determine to get at the code underneath the encryption. His only suggestion is to make an application good enough that people wouldn't want to try to steal it as much and would rather pay for their version.
</p>
<blockquote>
Encode your stuff if you want, but be aware that the minute you choose to do that you are telling your customers "I don't trust you" and I have a hard time understanding a business model that assumes people are going to want to steal the stuff you sell.
</blockquote>]]></description>
      <pubDate>Mon, 23 Jul 2007 07:55:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPHacks.com: Security in PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/6239</guid>
      <link>http://www.phpdeveloper.org/news/6239</link>
      <description><![CDATA[<p>
One can never be too secure when it comes to online applications. PHP has its problems, making it a bit too easy sometimes to write back code that makes for insecure applications, but, thankfully, there are some simple steps to be taken to greatly reduce these risks. <a href="http://www.phphacks.com/content/view/30/33/">This article</a> from PHPHacks.com shares some of the easiest.
</p>
<p>
Their <a href="http://www.phphacks.com/content/view/30/33/">recommendations</a> are:
<ul>
<li>Never, Ever, Trust Your Users
<li>Using Golbal Variables Correctly
<li>Handling Error Reporting
<li>Preventing SQL Injection
<li>Avoiding File Manipulation
<li>Avoiding Using Defaults
<li>Not Leaving Installation Files Online
<li>Avoiding Predictability
</ul>
Oh, and my personal favorite, which is funny at first glance but seriously true when you really think about it "Be Completely and Utterly Paranoid".
</p>]]></description>
      <pubDate>Mon, 11 Sep 2006 08:26:59 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Tobias Schlitt's Blog: Thoughts on trackback spam]]></title>
      <guid>http://www.phpdeveloper.org/news/4805</guid>
      <link>http://www.phpdeveloper.org/news/4805</link>
      <description><![CDATA[Related to his work on the <a href="http://pear.php.net/package/Services_Trackback">Services_Trackback</a> PEAR Package he worked on, <i>Tobias Schlitt</i> looks today in <a href="http://www.schlitt.info/applications/blog/index.php?/archives/413-Thoughts-on-trackback-spam.html">this new blog post</a> at some of his more recent thoughts on trackback spam.
<p>
<quote>
<i>
It's been a long while since I worked on my PEAR package <a href="http://pear.php.net/package/Services_Trackback">Services_Trackback</a>, mainly because I was much too busy with work and university. Nevertheless I made up my mind about how to solve the problem of the so-called trackback spam.
<p>
Taking for granted, that the idea should work, there are 2 main questions to answer: "How can a sender of a trackback be identified?" and "If and how must the trackback standard be changed to support the identification?" For question #1 there is a simple answer (IMHO): <a href="http://www.pgpi.org/">PGP</a>/<a href="http://www.gnupg.org/">GPG</a> (further on referred to as GPG, for simplicity). 
</i>
</quote>
<p>
<a href="http://www.schlitt.info/applications/blog/index.php?/archives/413-Thoughts-on-trackback-spam.html">He suggests</a> that since there is already a "trust relationship" inherent in the system, a PGP/GPG setup might be the most flexible, easy-to-use, constantly adapting method for preventing one of the banes of bloggers' existences...]]></description>
      <pubDate>Tue, 07 Feb 2006 06:53:10 -0600</pubDate>
    </item>
  </channel>
</rss>
