KB1JCY
05-03-2007, 05:15 PM
I've been developing a QSO logging app using the Ruby on Rails framework. If you are working on any sort of website that connects to a database, you should seriously look at Ruby on Rails (aka "Rails"). I was able to put together the core functionality of this application in 18 hours!
What is Ruby on Rails?
Ruby on Rails is a "framework" for web development that is based upon the Ruby scripting language. What is meant by a "framework" is that Rails is a collection of source code and tools that greatly reduce the amount of grunt work and repetitive tasks normally found with traditional website programming. The reason why there's so much buzz about Rails in the IT industry is because of the speed and ease of which website applications can be developed. You can get it done faster with fewer lines of codes and fewer bugs.
How does Ruby on Rails work?
The first step is to use the "rails" command to generate the structure of files and folders where your application will be stored. Then you set up your database (I used SQLite for my app). Then you use the "generate model Foo" where Foo is the name of the database table you want to base your application off of. What the "generate model Foo" actually does is read the database and map the table Foo to Rails. You heard me, Rails is intelligent enough to understand your database structure! You do not have to write any SQL queries. Next you do "generate scaffold Foo" and you have a basic prototype you can start tweaking. Yes, it's that fragging easy. http://www.qrz.com/iB_html/non-cgi/emoticons/biggrin.gif
Find out more!
Short movie demonstrating Rails:
http://media.rubyonrails.org/video/rails_take2_with_sound.mov
Intro article on Rails:
http://www.onlamp.com/pub....ed.html (http://www.onlamp.com/pub/a/onlamp/2006/12/14/revisiting-ruby-on-rails-revisited.html)
What is Ruby on Rails?
Ruby on Rails is a "framework" for web development that is based upon the Ruby scripting language. What is meant by a "framework" is that Rails is a collection of source code and tools that greatly reduce the amount of grunt work and repetitive tasks normally found with traditional website programming. The reason why there's so much buzz about Rails in the IT industry is because of the speed and ease of which website applications can be developed. You can get it done faster with fewer lines of codes and fewer bugs.
How does Ruby on Rails work?
The first step is to use the "rails" command to generate the structure of files and folders where your application will be stored. Then you set up your database (I used SQLite for my app). Then you use the "generate model Foo" where Foo is the name of the database table you want to base your application off of. What the "generate model Foo" actually does is read the database and map the table Foo to Rails. You heard me, Rails is intelligent enough to understand your database structure! You do not have to write any SQL queries. Next you do "generate scaffold Foo" and you have a basic prototype you can start tweaking. Yes, it's that fragging easy. http://www.qrz.com/iB_html/non-cgi/emoticons/biggrin.gif
Find out more!
Short movie demonstrating Rails:
http://media.rubyonrails.org/video/rails_take2_with_sound.mov
Intro article on Rails:
http://www.onlamp.com/pub....ed.html (http://www.onlamp.com/pub/a/onlamp/2006/12/14/revisiting-ruby-on-rails-revisited.html)