<?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>Fri, 24 May 2013 02:16:07 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Jeff Moser's Blog: Notes from porting C# code to PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/15337</guid>
      <link>http://www.phpdeveloper.org/news/15337</link>
      <description><![CDATA[<p>
In a new post to his blog  <i>Jeff Moser</i> takes you through some of his experiences in <a href="http://www.moserware.com/2010/10/notes-from-porting-c-code-to-php.html">port code from C# to PHP</a> as a first-time PHPer and learning right from a book.
</p>
<blockquote>
After years of hearing negative things about PHP, I had been led to believe that touching it would rot my brain. Ok, maybe that's a bit much, but its reputation had me believe it was full of bad problems. Even the cool kids had issues with PHP. But I thought that it couldn't be too bad because there was that one website that gets a few hits using a dialect of it. When <a href="http://kaggle.com/">Kaggle</a> offered to sponsor a port of my <a href="http://www.moserware.com/2010/03/computing-your-skill.html">TrueSkill</a> <a href="http://github.com/moserware/Skills">C# code</a> to PHP, I thought I'd finally have my first real encounter with PHP.
</blockquote>
<p>
He starts with a few disclaimers, noting that the structure of the application was kept largely the same and that he didn't go much into the web or database functionality that PHP's well known for. He talks about the book he chose to learn from (<a href="http://www.amazon.com/gp/product/0470413964?ie=UTF8&tag=moserware-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=0470413964">Beginning PHP 5.3</a>) and includes some excerpts from the author talking about the PHP language. He splits up the rest of the post into several different sections covering his thoughts on the whole process:
</p>
<ul>
<li>The Good Parts
<li>The "When in Rome..." Parts
<li>The "Ok, I guess" Parts
<li>The Frustrating Parts
</ul>
<p>
Unfortunately, the "Good" parts section is one of the smallest.
</p>]]></description>
      <pubDate>Tue, 26 Oct 2010 12:49:08 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Juozas Kaziukenas' Blog: Using PHP with C# written libraries]]></title>
      <guid>http://www.phpdeveloper.org/news/12390</guid>
      <link>http://www.phpdeveloper.org/news/12390</link>
      <description><![CDATA[<p>
<i>Juozas Kaziukenas</i> has <a href="http://dev.juokaz.com/winphp-2009/using-php-with-c-written-libraries">written up a new post</a> (as a part of his participation in the <a href="http://dev.juokaz.com/winphp-2009/first-annual-winphp-challenge">WinPHP Challenge</a>) about how he's combined C# code with PHP code in his development.
</p>
<blockquote>
Actual PHP part is very easy to write, because only thing you need to do is to create <a href="http://uk2.php.net/manual/en/class.com.php">COM object</a>. However, making your <a href="http://en.wikipedia.org/wiki/Dynamic-link_library">dll</a>'s visible by PHP is a bit tricky. 
</blockquote>
<p>
He points to <a href="http://www.devarticles.com/c/a/PHP/Using-the-.NET-Assembly-in-PHP/">this tutorial</a> as a starting point and issues he had with <a href="http://msdn.microsoft.com/en-us/library/ms182157(VS.80).aspx">ComVisible</a> and some example code that finally got things working.
</p>]]></description>
      <pubDate>Thu, 23 Apr 2009 07:57:17 -0500</pubDate>
    </item>
  </channel>
</rss>
