Linux Today: Linux News On Internet Time.
Search Linux Today
search.internet.com
Linux News Sections:  Blog -  Developer -  High Performance -  Infrastructure -  IT Management -  Security -  Storage -
Linux Today Navigation
LT Home
Preferences
Contribute
Link to Us
Search
Linux Jobs

Become a Marketplace Partner

internet.commerce
Be a Commerce Partner














The Linux Channel at internet.com
Linux Today
Enterprise Linux Today
Apache Today
JustLinux.com
Linux Planet
PHPBuilder
All Linux Devices
Technology Jobs

JustTechJobs.com

LinuxToday Newsletters
Server Daily
IT Management Daily
Subscribe News
Subscribe PR
Subscribe Security

internet.com
IT
Developer
Internet News
Small Business
Personal Technology

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers

 







Current Newswire:

Using a Bamboo Tablet with Ubuntu 10.04

Clonezilla Live

Are You Intimidated By Breakfast Cereal?

Announcing WriteType 1.0.98

How to install PC-BSD on an encrypted ZFS file system

Ubuntu 10.10 beta arrives with new netbook UI

Webcam server on Linux 2

SECURITY: PS3 hack source code published

Oracle offers student coders free access to JavaOne

Your Linux system keeps falling and it can't get up




UNIX Systems Administrator (IL)
Next Step Systems
US-IL-Chicago

Justtechjobs.com Post A Job | Post A Resume
:Speeding up Ruby on Rails
Speeding up Ruby on Rails
Jul 30, 2010, 20 :04 UTC (0 Talkback[s]) (2641 reads)

(Other stories by David Berube)

[ Thanks to An Anonymous Reader for this link. ]

"The Ruby language is often cited for its flexibility. You can, as Dick Sites said, "write programs to write programs." Ruby on Rails extends the core Ruby language, but Ruby itself makes that extensibility possible. Ruby on Rails uses the language's flexibility to make it easy to write highly structured programs without much boilerplate or extra code: You get a large amount of standard behavior with no extra work. Although this free behavior isn't always perfect, you get a lot of good architecture in your application without much work.

"For example, Ruby on Rails is based on a Model-View-Controller (MVC) pattern, which means that most Rails applications are cleanly split into three parts. The model contains the behavior necessary to manage an application's data. Typically, in a Ruby on Rails application, there is a 1:1 relationship between models and database tables; ActiveRecord, the object-relation mapping (ORM) that Ruby on Rails uses by default, manages the model's interaction with the database, which means that the average Ruby on Rails program has very little, if any, SQL coding. The second part, the view, consists of the code that creates the output sent to the user; it typically consists of HTML, JavaScript, etc. The final part, the controller, turns input from the user into calls to the correct models, then renders a response using the appropriate views.

"Proponents of Rails often cite this MVC paradigm — along with other benefits of both Ruby and Rails — as increasing its ease of use, claiming that fewer programmers can produce more functionality in less time. This, of course, means more business value for each software development dollar, so Ruby on Rails development has become significantly more popular."

Complete Story

Related Stories:
Ruby for system administrators(Jul 19, 2010)
Is Ruby on Rails 3 Finally Nearing the Finish Line? (Jun 16, 2010)
Ruby Development Gains Commercial Support on Java as New JRuby Version Looms(Apr 01, 2010)
Ruby 1.9.2 expected in August(Mar 18, 2010)
Open Source Identity: Ruby on Rails Creator David Heinemeier Hansson(Oct 27, 2009)
This Week on Github: Stupid Ruby Tricks(Jul 16, 2009)
Rip: A New Way to Package Ruby Software(Jun 19, 2009)



No talkbacks posted.
  Home | Search Talkbacks | Customize View    Top of Page  



Enter your comments below:

* Your Name:

* Your Email Address:

* Subject:

CC: [will also send this talkback to an E-Mail address]

* Comments:

Tags allowed:<I>,<B> and <U>. See our talkback-policy for more about talkback content.

Fields marked with * are required!






..............................




All times are recorded in UTC.
Linux is a trademark of Linus Torvalds.
Powered by Linux, Apache and PHP