Three-tier architecture in Ruby and Ruby on Rails

I am an ASP.NET MVC developer who has decided to learn Ruby and Ruby on Rails. I already know something and created a website on RoR. When developing ASP.NET MVC, I always used a three-tier architecture: the data layer, the business layer level, and the user interface (or presentation) layer.

Trying to use this approach in a Ruby on Rails application, I found that there was no information about this (or maybe I just could not find it?).

Perhaps someone can suggest me how to create or use a three-tier architecture on Ruby on Rails?

PS I am using ruby ​​1.9.3 and Ruby on Rails 3.2.3.

+5
source share
3 answers

Ruby on Rails (RoR) RoR. Rails MVC Asp.net 3 Tier.

( | )

. .

(- | )

. Asp.net Business Layer -. Rails - .

( | )

Rails , Asp.net. - . Data Layer Model .

Asp.net RoR , . RoR , -. , RoR-.

+5

Ruby on Rails - (MVC) . , buisness , Views.

: , 3.2

+3

4 . , , .

, , , MVC, , , . , Rails 3 , ASP.NET MVC, .

, , (, , , , , ). , - () (-), - .

- ( , CSRF Clickjacking, , ..) , . , - ( , ) , -. Windows -, .

Rails, , - , , , . , Rails 5, Rails , API (. API), Rails web (). , , - , -, , ActiveResource .

+2

All Articles