Simplicity of Ruby… it perplexes me.
So I have been toying with Ruby as a “mellow” thing to do, granted I am still working on some PHP 4.x apps I have written over the last few years, but armed with Agile Web Development with Rails - a mellow read, but some good documentation and examples, plus with the development happening on the iMac it’s very smooth to edit, see results, and debug as needed.
I love one of the original code demos they show in the box regarding database interaction - it’s like 60+ lines of code for some interaction with a database, then enter the Ruby version, maybe 15 tops. That is simplified code to say the least, now granted there are some configs you must edit within the base app, but that’s a 1 time edit, I know in PHP with classes, and such you can simplify calls, but this is out of the box, no digging up old code, old functions and classes to bring back that functionality.
I am still trying to wrap my head around some of the simple things, just because in the realm of coding I have always had to do it a tad more code heavy, so going from a ton of calls, it’s now like 4
so re-arranging my mind around the simplicity of it all.
The first thing I am going to be working on is a cart that interacts with Google Checkout, kind of a project to help Awaken, but also because the logic in my head for the cart matches what I can do in Ruby, and probably fairly quickly - then leaves the only trick, Ruby on Rails + cPanel
Already in testing on a dev server, so it may be yet possible. Well, Mr. Sherman has requested my presence, so I am going to go forth, and hang for a bit. Night folks.





