Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Documentation / Homepage] Can MVC be avoided? #2241

Open
rubyFeedback opened this issue Jul 4, 2021 · 0 comments
Open

[Documentation / Homepage] Can MVC be avoided? #2241

rubyFeedback opened this issue Jul 4, 2021 · 0 comments

Comments

@rubyFeedback
Copy link

Hey there,

This is mostly a question, but perhaps it could also be made more clear on the homepage.

Let me explain the background first.

I started in ~2005 or so with ruby, sort of; and my old .php code became mostly .cgi.

I wrote a custom "web-framework" which I still use, but I also use sinatra. So I already
use both .cgi and sinatra just fine. But sinatra is a bit lacking in several areas, so I am
wondering if I could move onto padrino.

But! I do not use MVC and I do not want to. The stuff I use is so super-simple that
I don't want or need the complexity of MVC. About 98% of this all is just static files,
so most of the time I only use the REST-apis to either select "sub-parts", or sometimes
to pass arguments as-is to a ruby class that handles these things.

So my question is: can padrino be used as an "extension" of sinatra but without any
MVC? Sort of where I can just continue to use "sinatra", sort of, but to add more
niceties - only cherry-picking them though. I loved that part that sinatra was modular.
It's why I don't use rails - I just can not stand the assumptions or directory layout
they want to push down. I already have the directory layout figure out so I only need
something that helps me in the existing structure as-is, rather than a change.

I think the last time I used padrino it was catering mostly to rails-users, so the first
tutorial I did was a MVC one if I recall correctly. Hence my question sort of - hopefully
that is somewhat understandable what I wrote; english isn't my strongest point really. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant