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
Dec 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.

tagged: convert application rails part2 extract dom thml tdd business logic convert application rails part2 extract dom thml tdd business logic

Link:

LoLoCoJr Blog:
Rewriting a (large) PHP application in Rails, part 2
Dec 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.

tagged: convert application rails part2 extract dom thml tdd business logic convert application rails part2 extract dom thml tdd business logic

Link: