What is Ruby on Rails?

What is Ruby on Rails?

What is Ruby on Rails?

What is Ruby on Rails?

As a software development team in Perth, who focus on the best we like to help you to know more about Ruby on Rails.

Rails is a model-view-controller (MVC) framework and follows the concepts of convention over configuration (COC) and don’t repeat yourself (DRY).

COC – means a developer needs to configure only the unconventional aspects of the application and otherwise can use the set of default conventions.

DRY – means a developer does not need to repeat code, and is aimed at reducing repetition of patterns. A change in a single element does not necessitate the modification of other related elements.

Why Rails?

Let’s see why Rails is the platform of choice at Codesquad and for most other developers.

Convention over configuration

Most frameworks need pages of configuration code. But with rails, you need minimal configuration if you follow the default naming conventions.

Metaprogramming

Rails uses metaprogramming to write programs, unlike other frameworks that use extensive code generations. It does use code generation but relies extensively on the metaprogramming capabilities of Ruby.

What is Ruby on Rails - Web application framework - Codesquad

Three default environments

The three environments – development, testing, and production – makes the entire development cycle easier. The testing environment has built-in testing that makes test cases easier to write and run.

Active Record

Rails uses the Active Record framework, which saves objects into the database. The database and the objects are tightly matched, so it lets you examine a project’s database schema very easily.

Scaffolding

You may need code in the early stages of a project to see how all components work together. Rails’ scaffolding automatically does much of the code generation that you need.

Ruby on Rails is not to be confused with Ruby which is a programming language. Here are some of the major differences between Rails and Ruby.

Ruby on RailsRuby
Is a Web development frameworkIs a programming language
Written in Ruby languageProgrammed in C language
HTML, CSS, JavaScript & XML usedMainly C++, Java, Vb.net used
Based on the conventions of COC and DRYBased on the principle of User Interface Design
Used to develop web applicationsUsed to build desktop applications

Jargon Buster

Web application framework– a software framework designed to support development of web applications.
Open-source – a software whose copyright holder makes it freely available and grants the right to use, modify or distribute as per the user’s requirement.
Metaprogramming – a programming technique in which a program can modify itself or write programs.

David Brown

David is the Development Services Coordinator for Codesquad and he manages all programming projects. DB is a keen Ruby on Rails developer who is a triple threat – he can code, listen to heavy metal and consume enormous volumes of caffeine simultaneously! Hit David up if you want to discuss your next app concept or to take a deep dive in the Codesquad coding approach.

David Brown

David is the Development Services Coordinator for Codesquad and he manages all programming projects. DB is a keen Ruby on Rails developer who is a triple threat – he can code, listen to heavy metal and consume enormous volumes of caffeine simultaneously! Hit David up if you want to discuss your next app concept or to take a deep dive in the Codesquad coding approach.