M
M
mrruslan2014-02-26 09:10:48
Ruby on Rails
mrruslan, 2014-02-26 09:10:48

What is the best way to organize the application architecture?

It is necessary to write a website on RoR, the menu items of which will be - catalogs of establishments, news, poster, announcements (on the sale), as well as people's services, respectively, they have similar fields, such as a name or text, but there are also unique ones like, for example, the date on the poster. The question is how best to organize the architecture? For each item to create its own model?
Or, for example, one model for all records and each record has its own type? Using Dynamic Forms like here https://github.com/railscasts/403-dynamic-forms/tr...

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Risent Veber, 2015-08-28
@risentveber

There is a wonderful book . In it, the authors share best practices on this topic.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question