Linux Today: Linux News On Internet Time.
Search Linux Today
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

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
Internet News
Small Business

Advertise
Newsletters
Tech Jobs
E-mail Offers

 






Current Newswire:

Tech Comics: "Daydream of a Tech Salesman"

Simplify Administration with Directory Services

The Best Filesystem for an external hard disk of 1TB with cross platform support

SECURITY: Bouncing malware from Android Market

Alfresco Embraces SaaS and the Cloud with Its New CMS Platform

Android, Tizen and the End of Java

Hardening Postfix For ISPConfig 3

Is Facebook's IPO an exit strategy?

PCLinuxOS KDE 2012.02 Has Been Officially Released

GhostBSD 2.5 review



Applications Management Engineer Sr (NYC)
Next Step Systems
US-NY-New York

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]) (4858 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