News Feed
Sections




News Archive
feed this:

Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Dave Marshall's Blog:
Notes from porting ruby to php
December 01, 2010 @ 12:16:12

Dave Marshall has posted some of the notes he made when he ported an application from a language he didn't know (very well), Ruby, into PHP.

I'm porting from a language I'm not familiar with, and I'm porting code that I don't necessarily understand! I've written a couple of rails apps, but they were very basic, and I have no real clue with the delicacies of the ruby language.

He talks about the project - a migration tool - and how he had to work through things like the current file structure, converting functionality like exceptions and getting over Ruby's singleton use. He also shows how he could replicate some of the Ruby functionality with closures and how he set it all up to use Zend_Tool as the application structure.

0 comments voice your opinion now!
porting application ruby experience



Community Events





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


interview release series refactor testing developer unittest podcast configure laravel community threedevsandamaybe introduction symfony2 opinion list language install framework code

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