Ruby Weekly is a weekly newsletter covering the latest Ruby and Rails news.

PHP Code Generation with Ruby

By Peter Cooper / June 25, 2006

I know.. PHP. Don't stone me just yet! Eric Rollins presents some interesting work relating to generating PHP code with Ruby.

It's very much opposite to the whole way Rails works. You supply the system with XML files describing your schema and database setup, and the Ruby scripts pump out PHP files to produce a 'scaffolded' type application that can work with the data. The results are very similar to basic Rails scaffolding, but in PHP. The source code for the code generator is available for free download.

Other Posts to Enjoy

Twitter Mentions