K
K
Kirill Shvets2018-05-14 12:32:29
ruby
Kirill Shvets, 2018-05-14 12:32:29

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

4 answer(s)
T
TCloud, 2018-05-14
@OTCloud

Doesn't make sense, since Sinatra is designed to use minimal effort and doesn't follow the usual MVC patterns.

A
AVKor, 2018-05-14
@AVKor

Instead of dealing with "philosophical questions", one could simply start working on the project. By any option.

O
OnYourLips, 2018-05-14
@OnYourLips

Justified: it will be faster to write, because you rely on your past experience.

R
Roman Mirilaczvili, 2018-05-14
@2ord

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 question

Ask a Question

731 491 924 answers to any question