News Feed
Sections




News Archive
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


blog comments powered by Disqus

Similar Posts

Tobias Schlitt's Blog: Tim Bray compared Java, Ruby and PHP

CodeForest.com: Creating simple tasks app with Backbone.js and Slim micro framework (part 1)

Chris Hartjes: The Birth of Grumpy Learning

Marcelo Gornstein's Blog: Advanced telephony applications with PHP and PAGI using call flow nodes

IBM developerWorks: Understanding the Zend Framework, Part 1: The basics


Community Events





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


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

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