News Feed
Jobs Feed
Sections




News Archive
feed this:

Jeff Moser's Blog:
Notes from porting C# code to PHP
October 26, 2010 @ 12:49:08

In a new post to his blog Jeff Moser takes you through some of his experiences in port code from C# to PHP as a first-time PHPer and learning right from a book.

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 Kaggle offered to sponsor a port of my TrueSkill C# code to PHP, I thought I'd finally have my first real encounter with PHP.

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 (Beginning PHP 5.3) 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:

  • The Good Parts
  • The "When in Rome..." Parts
  • The "Ok, I guess" Parts
  • The Frustrating Parts

Unfortunately, the "Good" parts section is one of the smallest.

0 comments voice your opinion now!
port experience csharp trueskill


Juozas Kaziukenas' Blog:
Using PHP with C# written libraries
April 23, 2009 @ 07:57:17

Juozas Kaziukenas has written up a new post (as a part of his participation in the WinPHP Challenge) about how he's combined C# code with PHP code in his development.

Actual PHP part is very easy to write, because only thing you need to do is to create COM object. However, making your dll's visible by PHP is a bit tricky.

He points to this tutorial as a starting point and issues he had with ComVisible and some example code that finally got things working.

0 comments voice your opinion now!
language combne winphp09 winphpchallenge09 library csharp



Community Events











Don't see your event here?
Let us know!


introduction testing development example object zendframework2 phpunit series code functional language conference interview podcast unittest tool framework release opinion community

All content copyright, 2013 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework