Want to stay on top? Ruby Weekly is a once-weekly e-mail newsletter covering the latest Ruby and Rails news.
     Feed Icon

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