<?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>Wed, 19 Jun 2013 00:59:00 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[DZone.com: External processes and PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/19182</guid>
      <link>http://www.phpdeveloper.org/news/19182</link>
      <description><![CDATA[<p>
In a new tutorial over on DZone.com <i>Giorgio Sironi</i> talks about <a href="http://css.dzone.com/articles/external-processes-and-php">handling external processes</a> in PHP and how to work with <a href="http://php.net/streams">streams</a>.
</p>
<blockquote>
I've come to known a bit about spawning and monitoring new processes from PHP code, while working at Onebip and trying to contribute to Paratest. Here's what you need to know if you think exec() or executing everything in a single .php script is always enough.
</blockquote>
<p>
He starts with a look at the differences between using things like <a href="http://php.net/exec">exec</a> and streams for handling the spawning of other processes. He shows how you have more control when you go with the streams option and process handling with the "proc_*" methods. He also touches on some other things to think about like stream blocking, sleeping and dealing with multiple execution streams (and switching between them).
</p>]]></description>
      <pubDate>Thu, 14 Feb 2013 11:29:04 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[DZone.com: TravisCI Intro and PHP Example]]></title>
      <guid>http://www.phpdeveloper.org/news/17716</guid>
      <link>http://www.phpdeveloper.org/news/17716</link>
      <description><![CDATA[<p>
In <a href="http://css.dzone.com/articles/travisci-examples>this new article</a> on DZone today, <i>Giorgio Sirnoi</i> <a href="http://css.dzone.com/articles/travisci-examples">introduces you to using TravisCI</a> to provide continuous integration services for your project (externally). Continuous integration is a way to provide "quality control" of your code, making it easier to run testing, check syntax and more, small pieces at a time.
</p>
<blockquote>
Travis CI in fact works by tying itself to a particular project on Github, and by triggering a new build every time new commits are available on the chosen branch (master, usually). Your build shows up on the main page along with all the other projects in the newsfeed, so try to maintain it green. :) Travis CI adds this other aspect to Github's social coding.
</blockquote>
<p>
He talks a bit about how it works - builds running on VMs, some with advanced tools like Selenium - and includes an example based off a simple travis.yml file defining a script to run pre-build. He also points out a special caveat about databases - they support things like MySQL, Sqlite, MongoDB and CouchDB, but you'll have to generate them from scratch every time, sample data and all.
</p>]]></description>
      <pubDate>Thu, 22 Mar 2012 12:20:26 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[SkyTechGeek.com: 10 Exceptional Tools For Website Testing]]></title>
      <guid>http://www.phpdeveloper.org/news/16760</guid>
      <link>http://www.phpdeveloper.org/news/16760</link>
      <description><![CDATA[<p>
Sometimes a little (external) testing of your website is in order and <i>Gagan Chhatwal</i> has posted <a href="http://skytechgeek.com/2011/08/10-exceptional-tools-for-website-testing/">his list of ten tools</a> you can use to check everything from  how much load the site can take to what can be done to optimize the load time.
</p>
<blockquote>
When maintaining or running a website , Webmasters need to keep in mind that one of the pertinent issues they will need to focus on is :Website Testing, which is not only vital for the website itself but for the user as well and one should not overlook its importance. [We have] collected some vital and free website testing tools which will help Webmasters in testing their sites thus saving users to conduct time consuming needless searches in finding the best resources pertaining to Web related tools and info.
</blockquote>
<p>Among the tools on the list are services like:</p>
<ul>
<li><a href="http://loadimpact.com/">Load Impact</a>
<li><a href="https://browsermob.com/performance-testing">Browser Mob</a>
<li><a href="http://host-tracker.com/">Host Tracker</a>
<li><a href="http://builtwith.com/">Built With</a>
<li><a href="http://online.htmlvalidator.com/php/onlinevallite.php">CSE HTML validator</a>
</ul>
<p>
Most of these resources are free services, if not then they have a trial where you can see if it's a good fit.
</p>]]></description>
      <pubDate>Tue, 23 Aug 2011 13:25:22 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Juozas Kaziukenas' Blog: How to use external libraries in PHP?]]></title>
      <guid>http://www.phpdeveloper.org/news/12553</guid>
      <link>http://www.phpdeveloper.org/news/12553</link>
      <description><![CDATA[<p>
As a part of his work for the WinPHP Challenge <i>Juozas Kaziukenas</i> looks at some of the external library types that you can use with your (Windows) PHP applications.
</p>
<blockquote>
External libraries are useful for performance demanding tasks where PHP is simply too slow. Also PHP can work as front-end system for various back-end systems (where server doesn't provide any PHP supported communication types). I have written some posts about using <a href="http://dev.juokaz.com/winphp-2009/using-php-with-c-written-libraries">.Net libraries in PHP</a> so far, but there are some other choices available too.
</blockquote>
<p>
He looks at the three types of library choices - <a href="http://pecl.php.net/">PHP extensions</a>, <a href="http://uk.php.net/manual/en/class.com.php>COM obejcts</a> and running commands through something like an <a href="http://php.net/exec">exec</a> call. For what he wants to do, though, the COM objects are the best fit for the job.
</p>]]></description>
      <pubDate>Sat, 23 May 2009 20:26:09 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[CSS-Tricks.com: Using Weather Data to Change Your Website's Appearance through PHP and CSS]]></title>
      <guid>http://www.phpdeveloper.org/news/11974</guid>
      <link>http://www.phpdeveloper.org/news/11974</link>
      <description><![CDATA[<p>
On the CSS-Tricks.com site today there's a <a href="http://css-tricks.com/using-weather-data-to-change-your-websites-apperance-through-php-and-css/">quick tutorial</a> on changing up the look and feel of your site based on an external source. More specifically, they give the example of updating the graphics of your site depending on the weather in your area via PHP and CSS.
</p>
<blockquote>
Using a little magic and trickery (read: PHP and CSS), we can change the appearance of a website automatically based on the weather outside, in real time! In the <a href="http://css-tricks.com/examples/WeatherSwitcher/">example site</a> we have created, the header graphic will change to one of four different styles based on Sunny, Rain, Snow, and Cloudy.
</blockquote>
<p>
Their example makes a request to the Yahoo! weather data for a location and brings it in to PHP where the XML is parsed (via a regular expression) and the current conditions are parsed out. This condition is then passed out into the page as the class type on the header and, based on the CSS already defined, the correct image is pulled in as the background.
</p>]]></description>
      <pubDate>Wed, 18 Feb 2009 12:08:03 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPBuilder.com: PHP Developer Resources]]></title>
      <guid>http://www.phpdeveloper.org/news/11437</guid>
      <link>http://www.phpdeveloper.org/news/11437</link>
      <description><![CDATA[<p>
PHPBuilder.com has posted a <a href="http://www.phpbuilder.com/columns/php_resources20081120.php3">list of resources</a> that they offer to help both beginning and experienced PHP developers to further their knowledge:
</p>
<blockquote>
PHP is one of the most popular scripting languages used to develop applications on the web today. As a result, internet.com has a multitude of PHP resources throughout our network of websites. Here are some of our best PHP resources, along with some featured tutorials and out-of-network resources that you may not know about.
</blockquote>
<p>
The grouping of links also include external resources like the <a href="http://www.php.net/">main PHP site</a> and <a href="http://www.zend.com">Zend's website</a>.
</p>]]></description>
      <pubDate>Fri, 21 Nov 2008 08:07:39 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Stubbles Blog: State of annotations in the PHP world]]></title>
      <guid>http://www.phpdeveloper.org/news/11380</guid>
      <link>http://www.phpdeveloper.org/news/11380</link>
      <description><![CDATA[<p>
In <A href="http://www.stubbles.org/archives/54-State-of-annotations-in-the-PHP-world.html">this new post</a> to the Stubbles blog <i>Frank Kleine</i> looks at the current state of annotations in the PHP language and applications.
</p>
<blockquote>
Annotations are a really helpful feature in present-day development. An annotation is a special form of syntactic metadata that can be added to source code elements such as classes, methods, properties and parameters. They do not affect the program semantic directly, but can be used by tools and libraries to handle such annotated code in a certain way.
</blockquote>
<p>
He notes that, as of right now, PHP doesn't naively support anything like this but that there are additional libraries that can be used to augment the standard PHP performance and use them (like a feature in <a href="http://www.phpunit.de">PHPUnit</a> with @assert and @test). He also go through several of the other libraries that make it possible including <a href="http://www.stubbles.org/exit.php?url_id=358&entry_id=54">Addendum</a>, <a href="http://www.stubbles.org/exit.php?url_id=363&entry_id=54">FLOW3</a> and the <a href="http://www.stubbles.org/exit.php?url_id=368&entry_id=54">XP-Framework</a>.
</p>]]></description>
      <pubDate>Mon, 10 Nov 2008 13:32:59 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Dokeos Blog: mbstring vs iconv]]></title>
      <guid>http://www.phpdeveloper.org/news/10034</guid>
      <link>http://www.phpdeveloper.org/news/10034</link>
      <description><![CDATA[<p>
In <a href="http://dokeoslead.wordpress.com/2008/04/22/mbstring-vs-iconv/">this post</a> on the Dokeos blog, there's a comparison of the <a href="http://www.php.net/mbstring">mbstring</a> function and the <a href="http://php.net/iconv">iconv</a> library as it pertains to their use on multi-byte strings.
</p>
<blockquote>
I was wondering today why use mbstring rather than iconv in Dokeos, and honestly I didn't remember exactly why I had chosen mbstring in the past, but finding information about the *differences* between the two. [...] Searching a bit more, I found a <a href="http://www.nyphp.org/content/presentations/smallworld/April2006-nyphp-Presentation.ppt">PPT presentation</a> from Carlos Hoyos on Google.
</blockquote>
<p>
Essentially, it boils down to how the library is integrated - mbstring is bundled and iconv is pulled from an external source. So, if you're looking for maximum portability, he recommends mbstring.
</p>]]></description>
      <pubDate>Thu, 24 Apr 2008 11:18:08 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Stubbles Blog: Do not trust the reflection API]]></title>
      <guid>http://www.phpdeveloper.org/news/9507</guid>
      <link>http://www.phpdeveloper.org/news/9507</link>
      <description><![CDATA[<p>
On the Stubbles blog, <i>Frank Kleine</i> <a href="http://www.stubbles.org/archives/40-Do-not-trust-the-reflection-API.html">offers some advice</a> to developers looking to use the Reflection API - "don't trust it".
</p>
<blockquote>
If you try to get informations about parameters from methods of internal classes - forget that. Examining several internal classes my key findings are: either there is no information about parameters available and the reflection API says the method does not have any parameters, or the information about the parameter is wrong.
</blockquote>
<p>
He <a href="http://www.stubbles.org/archives/40-Do-not-trust-the-reflection-API.html">includes code examples</a> along side the output from the script to illustrate his point. 
</p>]]></description>
      <pubDate>Mon, 28 Jan 2008 13:07:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Internet Super Hero Blog: Debugging ext/mysqli and mysqlnd]]></title>
      <guid>http://www.phpdeveloper.org/news/8571</guid>
      <link>http://www.phpdeveloper.org/news/8571</link>
      <description><![CDATA[<p>
With all of the good news they've posted about the mysqlnd driver, the developers behind the Internet Super Hero blog know that there will be bugs that come up in the driver. So, they've <a href="http://blog.ulf-wendel.de/?p=159">addressed the right way</a> to find and deal with these issues in a new blog entry.
</p>
<blockquote>
he bad news: mysqlnd might have bugs. How to report and debug these bugs - using mysqli_debug() - is subject of this posting.
</blockquote>
<p>
They <a href="http://blog.ulf-wendel.de/?p=159">step you through</a> the process for finding out what's causing the problems (internal versus external debugging) and how to make client traces with the mysqi extension to make it even easier for the developers to track down the problem. They also suggest a few things to send along with your bug report - like the PHP code calling it or the SQL you're using to select/update/insert/delete the data from your database.
</p>]]></description>
      <pubDate>Mon, 03 Sep 2007 08:56:00 -0500</pubDate>
    </item>
  </channel>
</rss>
