<?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 17:44:12 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Iwan Luijks: E-mailing with PHP on Windows using Apache James]]></title>
      <guid>http://www.phpdeveloper.org/news/19280</guid>
      <link>http://www.phpdeveloper.org/news/19280</link>
      <description><![CDATA[<p>
<i>Iwan Luijks</i> has a recent post looking at how you can <a href="http://blog.iwanluijks.nl/#e-mailing-with-php-on-windows-using-apache-james">send email through PHP on Windows</a> via the <a href="http://james.apache.org/">Apache James</a> server.
</p>
<blockquote>
eveloping in PHP on Windows? Yep me too! Unfortunatly in opposite to developing on Linux, sending e-mail from PHP on Windows requires some more setup than just a bit of sendmail configuration. In this post I explain how to setup an Apache James Server and use it for e-mailing from PHP, all from and to your localhost.
</blockquote>
<p>
He walks you through the <a href="http://james.apache.org/download.cgi#Apache_James_2.3.2_is_the_stable_version">download</a> and installation and includes the changes you'll need to make to get it up and running correctly. He helps you test it's working correctly and how to get PHP set up and pointing to it for mail delivery. Finally, he has a line of PHP (using <a href="http://php.net/mail">mail</a>) to test the install and send a sample message.
</p>]]></description>
      <pubDate>Wed, 06 Mar 2013 12:02:48 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Maarten Balliauw: Working with Windows Azure SQL Database in PhpStorm]]></title>
      <guid>http://www.phpdeveloper.org/news/19231</guid>
      <link>http://www.phpdeveloper.org/news/19231</link>
      <description><![CDATA[<p>
<i>Maarten Balliauw</i> has a new post to his site showing how you can work with a Azure SQL database <a href="http://blog.maartenballiauw.be/post/2013/02/25/Working-with-Windows-Azure-SQL-Database-in-PhpStorm.aspx">directly from the UI</a> of the popular PHP IDE, <a href="http://www.jetbrains.com/phpstorm/">phpStorm</a>.
</p>
<blockquote>
PhpStorm provides us the possibility to connect to Windows Azure SQL Database right from within the IDE. In this post, we'll explore several options that are available for working with Windows Azure SQL Database: Setting up a database connection, creating a table, inserting and updating data, using the database console, generating a database diagram and database refactoring.
</blockquote>
<p>
He includes the instructions and several screenshots showing each step of the above mentioned steps. The database diagram gives you a good overall view of your database structure and allows you to show a visualization of how the tables relate to each other. Note that, though this particular example shows it connecting to an Azure SQL database, the same setup can be used with lots of popular RDBMS out there.
</p>]]></description>
      <pubDate>Mon, 25 Feb 2013 09:13:20 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Ruslan Yakushev: PHP Troubleshooting in Windows Azure Web Sites]]></title>
      <guid>http://www.phpdeveloper.org/news/19116</guid>
      <link>http://www.phpdeveloper.org/news/19116</link>
      <description><![CDATA[<p>
In the <a href="http://ruslany.net/2013/01/php-troubleshooting-in-windows-azure-web-sites/">latest post to his site</a>, <i>Ruslan Yakushev</i> looks at some simple ways you can debug your PHP-based applications running on a Windows Azure platform. 
</p>
<blockquote>
The need to diagnose and troubleshoot application's failures often comes up during deployment to a hosting environment. Some configuration settings in hosting server may differ from what application expects. Often it is not as easy to figure out the cause of the problem in a hosting environment as it is on a development machine.  I found the following techniques useful when troubleshooting errors in PHP applications hosted in Windows Azure Web Sites.
</blockquote>
<p>
He shares seven different tips, some pretty simple, others a bit more difficult requiring other software to be up and working:
</p>
<ul>
<li>Using <a href="http://php.net/phpinfo">phpinfo()</a>
<li>Checking the <a href="http://svn.php.net/viewvc/pecl/wincache/tags/1.1.0stable/wincache.php?view=co">wincache</a> settings
<li>Looking at your error logs
<li>Turning on the <a href="http://www.php.net/manual/en/errorfunc.configuration.php#ini.display-errors">display_errors</a> setting
<li>Turning on HTTP logging, detailed errors and failed request tracking in the control panel
<li>Using <a href="http://xdebug.org">XDebug</a>
<li>Getting the statistics for your ClearDB instance
</ul>]]></description>
      <pubDate>Thu, 31 Jan 2013 10:19:16 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Maarten Balliauw: Running unit tests when deploying to Windows Azure Web Sites]]></title>
      <guid>http://www.phpdeveloper.org/news/19110</guid>
      <link>http://www.phpdeveloper.org/news/19110</link>
      <description><![CDATA[<p>
<i>Maarten Balliauw</i> has a new post to his site showing you how to <a href="http://blog.maartenballiauw.be/post/2013/01/30/Running-unit-tests-when-deploying-to-Windows-Azure-Web-Sites.aspx">execute your unit tests</a> (in this case PHPUnit) when you deploy your instance out to the Windows Azure platform.
</p>
<blockquote>
When deploying an application to Windows Azure Web Sites, a number of deployment steps are executed. For .NET projects, msbuild is triggered. For node.js applications, a list of dependencies is restored. For PHP applications, files are copied from source control to the actual web root which is served publicly. Wouldn't it be cool if Windows Azure Web Sites refused to deploy fresh source code whenever unit tests fail? In this post, I'll show you how.
</blockquote>
<p>
He creates a super basic script using <a href="http://silex.sensiolabs.org/">Silex</a> and writes up a test with some dummy assertions, checking if true equals true. He then steps you through updating the current "deploy.sh" script to add in a call to execute PHPUnit and an "exitWithMessageOnError" statement. This statement kicks it back and causes the deployment to fail when tests don't pass (as seen <a href="http://blog.maartenballiauw.be/image.axd?picture=image_257.png">here</a>).
</p>]]></description>
      <pubDate>Wed, 30 Jan 2013 10:25:20 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Maarten Balliauw: Working with Windows Azure from within PhpStorm]]></title>
      <guid>http://www.phpdeveloper.org/news/18984</guid>
      <link>http://www.phpdeveloper.org/news/18984</link>
      <description><![CDATA[<p>
<i>Maarten Balliauw</i> has a new post today showing you how to <a href="http://blog.maartenballiauw.be/post/2013/01/03/Working-with-Windows-Azure-from-within-PhpStorm.aspx">work with your Azure site</a> from inside the popular PHP IDE <a href="http://www.jetbrains.com/phpstorm/">phpStorm</a>.
</p>
<blockquote>
Working with Windows Azure and my new toy (<a href="http://www.jetbrains.com/phpstorm/">PhpStorm</a>), I wanted to have support for doing specific actions like creating a new web site or a new database in the IDE. Since I'm not a Java guy, writing a plugin was not an option. Fortunately, PhpStorm (or <a href="http://www.jetbrains.com/webstorm/">WebStorm</a> for that matter) provide support for issuing commands from the IDE. Which led me to think that it may be possible to hook up the Windows Azure Command Line Tools in my IDE.
</blockquote>
<p>
He shows how to add a new "framework" to the IDE for the Azure CLI tools and how to get to a command line from inside the editor. From there you can execute any of the Azure CLI calls just as you would outside of the IDE (like his example, creating a new site called "GroovyBaby").
</p>]]></description>
      <pubDate>Thu, 03 Jan 2013 09:54:47 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[PHP.net: PHP 5.4.10 and PHP 5.3.20 released!]]></title>
      <guid>http://www.phpdeveloper.org/news/18936</guid>
      <link>http://www.phpdeveloper.org/news/18936</link>
      <description><![CDATA[<p>
The PHP project has <a href="http://php.net/index.php#id2012-12-20-1">officially released</a> versions 5.4.10 and 5.3.20 if the language:
</p>
<blockquote>
The PHP development team announces the immediate availability of PHP 5.4.10 and PHP 5.3.20. These releases fix about 15 bugs. Please note that the PHP 5.3 series will enter an end of life cycle and receive only critical fixes as of March 2013. All users of PHP are encouraged to upgrade to PHP 5.4.
</blockquote>
<p>
Downloads are <a href="http://php.net/downloads.php">available here</a> (source) or <a href="http://windows.php.net/download/">here</a> for Windows installations. The <a href="http://php.net/ChangeLog-5.php">Changelog</a> has the full list of bugs fixed these two releases. If you're interested in the migration from PHP 5.3 to 5.4 and are wondering what changes you can expect, check out <a href="http://php.net/manual/en/migration54.new-features.php">this migration guide</a> with a list of the new features and changes.
</p>]]></description>
      <pubDate>Fri, 21 Dec 2012 06:57:21 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[PHP.net: PHP 5.4.9 and PHP 5.3.19 released!]]></title>
      <guid>http://www.phpdeveloper.org/news/18796</guid>
      <link>http://www.phpdeveloper.org/news/18796</link>
      <description><![CDATA[<p>
On PHP.net site today, they've <a href="http://www.php.net/index.php#id2012-11-22-1">announced the latest releases</a> in the PHP 5.3.x and 5.4.x series - PHP 5.3.19 and PHP 5.4.9:
</p>
<blockquote>
The PHP development team announces the immediate availability of PHP 5.4.9 and PHP 5.3.19. These releases fix over 15 bugs. All users of PHP are encouraged to upgrade to PHP 5.4.9, or at least 5.3.19. For source downloads of PHP 5.4.9 and PHP 5.3.19 please visit our <a href="http://www.php.net/downloads.php">downloads page</a>, Windows binaries can be found on <a href="http://windows.php.net/download/">windows.php.net/download/</a>.
</blockquote>
<p>
You can view a complete list of changes in this edition's <a href="http://www.php.net/ChangeLog-5.php">Changelog</a> (including references to both core and extension bugfixes).
</p>]]></description>
      <pubDate>Fri, 23 Nov 2012 08:58:50 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Gonzalo Ayuso: Managing Windows services with Symfony/Process and PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/18681</guid>
      <link>http://www.phpdeveloper.org/news/18681</link>
      <description><![CDATA[<p>
In his <a href="http://gonzalo123.com/2012/10/29/managing-windows-services-with-symfonyprocess-and-php/">recent post</a> <i>Gonzalo Ayuso</i> shows how to use Symfony to work with Windows services on the server.
</p>
<blockquote>
Sometimes I need to stop/start remote Windows services with PHP. It's quite easy to do it with net commnand. This command is a tool for administration of Samba and remote CIFS servers. [...] Today we are going to create a PHP wrapper for [net rpc service].
</blockquote>
<p>
He uses <a href="http://behat.org/">Behat</a> to create a feature (test) file, the code behind the features and a service class that handles the actual work of interacting with the service (with methods to do things like stop, start and list running services). Examples of its use are also included.
</p>]]></description>
      <pubDate>Thu, 01 Nov 2012 10:49:09 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Do It Yourself Web Development: Setting Up Composer PHP Dependencies Manager in Windows]]></title>
      <guid>http://www.phpdeveloper.org/news/18621</guid>
      <link>http://www.phpdeveloper.org/news/18621</link>
      <description><![CDATA[<p>
New on the "Do It Yourself!" web development site, there's a post showing you how to <a href="http://diywebdev.com/setting-up-composer-php-dependencies-manager-in-windows/">setup Composer on Windows</a> to manage the dependencies in your applications.
</p>
<blockquote>
Composer exists to overcome the problem [with PECL and PEAR being system-wide], composer is a dependencies manager that come in a form of command utilities, composer make it possible to 'plug and play' PHP packages across application no matter what frameworks we are using as long as the packages follow the shared format. With composer we can define our project dependencies simply in a 'composer.json' file, and later on we can install and update these dependencies automatically.
</blockquote>
<p>
He introduces the <a href="http://getcomposer.org">Composer</a> tool and then shows how to set it up via the <a href="https://github.com/johnstevenson/composer-setup/raw/master/Composer-Setup.exe">Windows installer</a> (with screenshots). There's two ways to set it up - "Basic" that does the install in one project and "Global" that installs it somewhere outside of the current project, available to all projects.
</p>]]></description>
      <pubDate>Wed, 17 Oct 2012 11:23:47 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Silver Lining Blog: How to Enable XDebug in Windows Azure Web Sites]]></title>
      <guid>http://www.phpdeveloper.org/news/18528</guid>
      <link>http://www.phpdeveloper.org/news/18528</link>
      <description><![CDATA[<p>
On the Silver Lining blog (a MSDN Windows Azure related site), there's <a href="http://blogs.msdn.com/b/silverlining/archive/2012/09/20/how-to-enable-xdebug-in-windows-azure-web-sites.aspx">a recent post</a> showing how you can enable XDebug on your Azure instance to help with debugging your application.
</p>
<blockquote>
 In this post, I'll cover how to run <a href="http://xdebug.org/">XDebug</a> (including the profiler) in Windows Azure Web Sites. Enabling XDebug in Windows Azure Web Sites is as simple as enabling an extension. However, enabling an extension for the built-in PHP runtime is slightly different than doing so for a custom PHP runtime. I'll cover both scenarios here. 
</blockquote>
<p>
The post is broken up into two sections - one if you're just using the built-in PHP runtime that's already in the instance and another if you're using a custom one of your own. Changes to the configuration files and some screenshots of where to make the updates are included.
</p>]]></description>
      <pubDate>Thu, 27 Sep 2012 11:53:50 -0500</pubDate>
    </item>
  </channel>
</rss>
