Ruby on Rails consist of different individual elements or components. In this article you will explore each of those elements that are described with short details.
The Components Of Ruby OnRails: Rails ships as several individual elements. Every of those elements square measure in short explained below. If you’re unaccustomed Rails, as you scan this section, don’t get adorned abreast of the main points of every element, as they’re going to be explained in additional detail later. As an example, we are going to mention Rack applications; however you don’t have to be compelled to understand something regarding them to continue with this guide.
3.
Action Pack Action Packcould be a single gem that contains Action Controller, Action read and Action Dispatch. The “VC” a part of “MVC”.
4.
1. Action Controller ActionController is that the part that manages the controllers in Rails applications. This can be a framework processes incoming requests to Rails applications, to extracts parameters, and dispatches them to the meant action. Services provided by Action Controller embrace session management, template rendering, and direct management.
5.
2. Action Read Actionread manages the views of your Rails application. It will produce each hypertext mark- up language and XML output by default. Action read manages rendering templates, as well as nested and partial templates, and includes integral mythical being support. Read templates are coated in additional detail in another guide referred to as Layouts and Rendering.
6.
3. Action Dispatch Action Dispatchhandles routing of internet requests and dispatches them as you wish, either to your application or the other Rack application. Rack applications are additional advanced topic and are coated in an exceedingly separate guide referred to as Rails on Rack.
7.
4. Action Mailer Action Mailercould be a framework for building e- mail services. You’ll be able to use Action Mailer to receive and method incoming email and send easy plain text or complicated multiparty emails supported versatile templates.
8.
Active Model Active Model providesan outlined interface between the Action Pack gem services and Object Relationship Mapping gems like Active Record. Active Model permits Rails to utilize alternative ORM frameworks in situ of Active Record if your application desires this.
9.
Active Record Active Record isthat the base for the models in an exceedingly Rails application. It provides information independence, basic CRUD practicality, advanced finding capabilities, and also the ability to relate models to 1 another, among alternative services.
10.
Active Resource Active Resource provides aframework for managing the affiliation between business objects and quiet internet services. It implements the way to map web- based resources to native objects with CRUD linguistics.
11.
Active Support Active Support isan intensive assortment of utility categories and normal Ruby library extensions that ar utilized in Rails, each by the core code and by your applications.
12.
Railties Railties isthat the core Rails code that builds new Rails applications and glues the varied frameworks and Plugins along in any Rails application.
13.
Contact Us For Your Projects iFuturz 4001W Devon Avenue, Suite #202, Chicago IL- 60646,U.S.A Tell: (708) 539 9514, (708) 667 0998 Email: enquiry@ifuturz.com Skype: ifuturzinc.com Web: www.ifuturz.com