--- title: "Architectural design of Ruby on Rails framework" url: "https://www.krishaweb.com/blog/architectural-design-of-ruby-on-rails-framework/" date: "2016-04-21T14:13:21+00:00" modified: "2019-05-14T10:47:12+00:00" type: "Article" resource: "https://www.krishaweb.com/blog/architectural-design-of-ruby-on-rails-framework/" timestamp: "2019-05-14T10:47:12+00:00" author: name: "KrishaWeb" categories: - "Web Design" - "Web Development" word_count: 568 reading_time: "3 min read" summary: "Ruby on Rails (RoR) is an open source web framework written in Ruby programming language. It is becoming very popular among the developer community due to its productivity and agility features. Tod..." description: "Here is an overview of architectural design and basic components which was developed by Yukishiro Matzumoto in 1995 in order to make the development process ..." keywords: "Web Design, Web Development" language: "en" schema_type: "Article" related_posts: - title: "Inspiration Behind Rio 2016 Summer Olympics logo" url: "https://www.krishaweb.com/blog/inspiration-behind-rio-2016-summer-olympics-logo/" - title: "How will Artificial Intelligence Impact the Future of Web Development" url: "https://www.krishaweb.com/blog/impact-of-ai-on-web-development/" - title: "AI Website Rebuild for SaaS: Timeline, Cost and Checklist" url: "https://www.krishaweb.com/blog/ai-website-rebuild-saas-cost-timeline/" --- # Architectural design of Ruby on Rails framework _Published: Thursday,April 21, 2016_ _Author: KrishaWeb_ ![](https://d1hdtc0tbqeghx.cloudfront.net/wp-content/uploads/2016/04/10085612/Architectural-design-of-Ruby-on-Rails-framework.jpg) > Ruby on Rails (RoR) is an open source web framework written in Ruby programming language. It is becoming very popular among the developer community due to its productivity and agility features. Today we will discuss the architectural structure of the Ruby on Rails and what makes it the best web framework of this era. ... As we all know, Ruby on Rails is an open source web framework, which is written in Ruby programming language. Yukishiro Matzumoto has designed this language in 1995 in order to make the development process faster. It is a dynamically typed, fully object-oriented, general-purpose scripting language. RoR was basically created as a response to heavy web frameworks such as J2EE and .Net for the database-backed web application development. There are many basic web development tasks inbuilt in RoR framework that works out-of-the-box and increases the productivity. Let’s have a look at the basic components of Rails architecture. **Some standout features of Ruby on Rails framework architecture are as following:** - It is an Open-source server side scripting language - It is featured with Model-View-Control architecture - It has Representational State Transfer (REST) for web services (its functionality and state are divided into distributed resources) - It uses human-readable data serialization format YAML machine All these features are further distributed in several Rails’ components. Few of those Rails’ modules are described below: ##### Action Mailer This module is wrapped around the Action Controller. It is responsible for providing the e-mail services. It manages the incoming e-mails and lets you create new emails. This module can handle simple text or rich-format emails along with some common tasks like sending forgotten passwords, welcome messages and any other written communication needs. ##### Action Pack Action Pack module provides the controller and view layers of the MVC (Model, View, Controller) pattern. It captures the user’s request from the browser and map the request to actions. It is further divided into 3-sub modules. *Action Dispatch –* It routes the web browser requests *Action Controller –* It makes the routing to request’s corresponding controller after action dispatch processed the request. It contains the actions to control model and views. *Action View –* Action view renders the presentation of the web page requested. It provides master layouts, templates lookups and view helpers. There are three templates in Rails, which are rhtml, rxml and rjs. ##### Active Model Active module creates an interface between the Action Pack and the Active Record modules. It can also be used outside of Rails framework to Object-relational mapping (ORM) functionality. ##### Active Record Active record is used to manage data in databases through objects. This module connects Model layers to the database tables with its representation in ruby classes. It provides tools to implement Creating, Reading, Updating and Deleting records functionality with zero-configuration. ##### Active Resource Active Resource module connects the RESTful (REST – Representational State Transfer) web services and business objectives. It follows the same principal as Active Records that reduces the amount of code needed to map any resources. ##### Active Support It is a collection of classes and Ruby libraries extensions, which is useful in the development of Ruby on Rails. ##### Railties Railties is core Rails code that built new rail application. It handles all the bootstrapping process and provide rail’s code generator. It is responsible for connecting all the above modules together. Rails also provide us built-in testing framework that generates stubs when code id is generated. It provides unit testing, test fixtures and functional testing for views and controls. Ruby on Rails has gained lots of support from the software development community over the years. That is the reason why RoR provides the robust architecture. This Ruby on Rails architecture meets most of its intended goals. Web developers have promptly accepted this healthy framework over the years. --- _View the original post at: [https://www.krishaweb.com/blog/architectural-design-of-ruby-on-rails-framework/](https://www.krishaweb.com/blog/architectural-design-of-ruby-on-rails-framework/)_ _Served as markdown by [Third Audience](https://github.com/third-audience) v3.6.1_ _Generated: 2026-07-23 02:50:30 UTC_