Rails

From WikiMD's Food, Medicine & Wellness Encyclopedia

Rails or Ruby on Rails is a server-side web application framework written in Ruby. It is a Model-View-Controller (MVC) framework, providing default structures for a database, a web service, and web pages. It encourages and facilitates the use of web standards such as JSON or XML for data transfer, and HTML, CSS, and JavaScript for display and user interfacing.

History[edit | edit source]

Rails was created in 2003 by David Heinemeier Hansson while working on the code base for Basecamp, a project management tool by 37signals. Rails was first released to the public in July 2004. It was met with acclaim in the web development community and has since been one of the most popular web application frameworks.

Principles[edit | edit source]

Rails is known for its "convention over configuration" philosophy. This means that the programmer does not have to spend a lot of time configuring files in order to get setup, Rails comes with a set of conventions which help speed up development.

Another pillar of Rails philosophy is Don't Repeat Yourself (DRY). DRY is a principle of software development which states that "Every piece of knowledge must have a single, unambiguous, authoritative representation within a system". By not writing the same information over and over again, our code is more maintainable, more extensible, and less buggy.

Components[edit | edit source]

Rails is composed of several components, including:

See also[edit | edit source]

References[edit | edit source]

Wiki.png

Navigation: Wellness - Encyclopedia - Health topics - Disease Index‏‎ - Drugs - World Directory - Gray's Anatomy - Keto diet - Recipes

Search WikiMD


Ad.Tired of being Overweight? Try W8MD's physician weight loss program.
Semaglutide (Ozempic / Wegovy and Tirzepatide (Mounjaro) available.
Advertise on WikiMD

WikiMD is not a substitute for professional medical advice. See full disclaimer.

Credits:Most images are courtesy of Wikimedia commons, and templates Wikipedia, licensed under CC BY SA or similar.


Contributors: Prab R. Tumpati, MD