Choice of Ruby Web Framework To Use With Backbone.js [closed] - ruby-on-rails

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
I'm coding a medium sized web application and am planning on making it MV*/JS based using backbone.js. I have a choice of using either Sinatra or Rails for the REST API/session based authentication. Which would you choose, and why?

This question has little to do with Backbone.js, and a lot to do with the overall complexity of your application.
Rails provides many features that Sinatra does not:
MVC architecture
ORM framework
Relational Database Scaffolding
If you won't benefit from these features, Sinatra is a good choice because of its minimalist design (under 2,000 lines of code).

Related

What Linux-Hosted Web Language/Framework is most like asp.net mvc 5+ [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 6 years ago.
Improve this question
I know this is the kind of question that usually gets deleted, but I have to find some answers. I want to build a project in a new technology more suitable to hosting on a Linux server, but I like the way things are done in ASP.NET MVC. I've looked at Rails a bit but I've heard that Rails performs and scales poorly. Any suggestions appreciated.
Ruby on Rails doesn't scale well, but depending on your needs you may never have to worry about it.
My guess is you'd be most comfortable with something like CakePHP or just PHP and whatever MVC framework. It's pretty C# like, and it's FAST!
Python/Django is also a good choice. (My personal favorite)

Q&A sites like StackExchange: Should I build a rails engine or a single multi-tenant app? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 4 years ago.
Improve this question
I want to create several niche Q&A sites similar to StackExchange.
Which approach is best?...
A) Rails mountable engine. New sites would be full rails apps that would use this engine. The mountable engine would provide the complete Q&A site (code, visual styling, etc).
B) Single multi-tenant app. A single rails app where each new site would be added as a tenant. In this approach, something would be needed to customize the styles for each new site (logo, header, etc).
Which approach would you recommend?
I would suggest you go with Single app multi-tenant.
I had implemented this in an old project on http://mentii.com. This is a mentoring platform, but I guess similar challenges as Q&A apply.
Here, each community would get a version of the app whitelabled to their needs. I found the approach to be scalable as well as well as maintainable.

What rails server should I use? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
I'm currently developing a rails app, based on Redmine, using a multitenancy approach. The app it is intended to be used by lots of users (at least I hope so :)), so it is important that it can handle several requests without compromise its performance. Having this in mind, I'm wondering which rails server would suit my needs best. I'm currently using thin, for memory savings purposes, but I'm afraid it is not the best choice for me... I've used unicorn before and I liked it a lot, but it was consuming a lot of memory and I had to change it to another one, but I've noticed that my app is not as fast as it used to be. Any advises? Thanks a lot in advance!
Use Passenger with Apache.
check here

Is ASP.NET MVC a viable choice for a large project? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
I want to use MVC for a big project, but I read in some website that this is not suitable for large projects.
Is this true? and are there examples of some great sites or application that have been written with this technology?
We built the site you are browsing with it.
StackOverflow is a 100k LoC ASP.NET MVC site, and is currently #66 #53 in the world for traffic according to Quantcast.
More in general, it matters much more how you use it.
Facebook is PHP based, twitter is Ruby based. Both are relatively slow interpreted languages, and yet, they work!

Authentication for Rails [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
For those of you familiar with M. Hartl's RoR Tutorial, do you know if the latest authentication system taught in the book is full proof for a large scale application or would you recommend going in with a ready made authentication systems like Devise or OAuth.
I find the system taught in the book very easy to follow as compared to the ready made systems. I am just not sure if there are any security loopholes in it.
Go with Devise.
Rolling out your own authentication system is great for practice, but many minds beats one, especially when it comes to security.

Resources