Answer the question
In order to leave comments, you need to log in
Is using MVC justified in a small web application?
Hello. Do you think it's worth using MVC architecture in a small Sinatra application? I can't decide if it's worth it or not. The application itself is small: 4-5 pages + search in a small database (100-200 positions in 3 tables in total).
Answer the question
In order to leave comments, you need to log in
Doesn't make sense, since Sinatra is designed to use minimal effort and doesn't follow the usual MVC patterns.
Instead of dealing with "philosophical questions", one could simply start working on the project. By any option.
Justified: it will be faster to write, because you rely on your past experience.
Using MVC is not justified for creating microservices and small POC projects.
There are various microframeworks that are built on top of the basic Rack: https://www.sitepoint.com/ruby-microframeworks-round/
They are faster than Ruby on Rails due to their lightness.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question