Hacking Journal [2006/01/10]

New Project, Old Hacks

[2006/01/10]

Today was yet another busy day in my Rails world. Between building up the new website for my work to trying to start my own from scratch, I am beat. At work I finally got a full access limits coded in and tested. Over 1200 lines of tests for 400 lines of code, pretty ratio. I think doing a time rake test_all turned out at about 8 seconds on my Dell 700m. I think tomorrow I will be adding in some ActionMailer to send emails when there is new content that needs approval.

On the home-front, I decided to custom code my own website. I have been debating between doing a Ruby on Rails blog (similar to Typo but more lightweight) or a custom Rake generated one (similar to Martin Fowler's). I am prototyping the Rails one but something is telling me to do the Rake version instead. Heres a quick breakdown chart as of now:

Rails Version Rake Version
Database backed html generated files
Dynamic pages Static html
Comments allowed No comments
Must run on FCGI Can run anywhere
Good learning experience in Rails Good learning experience in "Ruby":http://www.ruby-lang.org
nil Improve yaml skills
Could Open Source Project Too Custom to Open Source

I dunno what I will go with, I am leaning to the Rails version but I will know in a few days.

Eric Davis

Tagged: ruby ruby on rails typo yaml