fbpx

7 posts tagged as:

Ruby on Rails

Ruby on Rails is a web development framework (regularly called Rails or RoR for short). Ruby on Rails is written in Ruby language using model control architecture (MVC). A fundamental tenet of Rails is programming speed. As usual in these cases, the speed of web application execution suffers, which is the most significant disadvantage of this framework. Instead, it offers the possibility to use ready-made plug-ins, which quickly extend applications with various functionalities, such as authorization or uploading files with image scaling. 

 

How Ruby on Rails works

Rails is a “stubborn” software. It was developed with the belief that there is the best way to solve certain problems. Rails as a framework is designed to encourage the choice of that way and, in some cases, to discourage the choice of the alternative. If a developer learns “The Rails Way,” he or she will discover a vast increase in productivity. However, if he/she stays with habits characteristic of programming in other languages or uses patterns he/she has already learned in the past when working with Rails, the results may not be as successful.

The Rails philosophy includes several principles:

  • DRY – “Don’t Repeat Yourself” – suggests that writing the same code over and over again is just plain wrong.
  • “Convention over Configuration” – Rails makes certain assumptions about what you’re going to do and how you’re going to do it, so it doesn’t force you to set every little option in the configuration files yourself.
  • REST (Representational State Transfer) is the best pattern for web applications – organizing applications around resources and standard HTTP requests allows you to move forward quickly.

Read more about Ruby on rails in our blog posts.

 

Want to keep up to date with the latest HealthTech news? Sign up for our Newsletter!