News Feed
Sections




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

LoLoCoJr Blog:
Rewriting a (large) PHP application in Rails, part 2
December 20, 2006 @ 10:17:00

The LoLoCoJr site has published part two of the series (part one is here) about converting a PHP application over to Rails.

In my previous post on this topic I described the method we used to convert a legacy MySQL PHP database to a Rails conformant PostgreSQL hosted version. In this article I will tell a bit about how we converted the HTML of the application to Rails layout templates and partials.

It's a quickpost this time showing how to extract the rendered HTML from the page's output, writing out some of the business logic, and a mention of test driven development versus write test after developing methods.

0 comments voice your opinion now!
convert application rails part2 extract dom thml tdd business logic convert application rails part2 extract dom thml tdd business logic


blog comments powered by Disqus

Similar Posts

Mathias Verraes: How Much Testing is Too Much?

O'Reilly Ruby Blog: 7 reasons I switched back to PHP after 2 years on Rails

Alexey Zakhlestin's Blog: Application Server in PHP? well...Yes!

PHP 10.0 Blog: dirname(__FILE__)

PHPMaster.com: Getting Started with Varnish


Community Events

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


library community laravel series laravel5 framework extension release security symfony language threedevsandamaybe opinion api voicesoftheelephpant version introduction unittest podcast interview

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