Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

if you don't use scaffolding, is ruby on rails still good for rapid development?

If you take out the scaffolding feature where it creates the model/controller, and CRUD pages for you, is ruby on rails still any faster to market than say, django?

It seems very similiar to be if you take away that step...(even though I believe django has similar auto-gen capabilities)

I am reading the starting guide on the rails site, and when it introduces the scaffolding feature, it says that many people prefer to hand code these types of areas.

like image 753
Blankman Avatar asked Aug 30 '10 21:08

Blankman


People also ask

Is Ruby on Rails still relevant in 2022?

Ruby on Rails is still relevant in 2022 and will stay relevant for a few years to come. It is a simple and powerful platform to build rapid prototypes, MVP, and any kind of web application/service. It reduces the development time and helps you hit the market in a really short time.

Why is Ruby on Rails less popular?

RoR's popularity decline is not so much because of its obsolescence, but competition. At the time of its release, this framework was one of a kind, which made it widely used in development until new products with similar or superior features began to appear.

Is Ruby on Rails still relevant?

Despite almost 18 years since the first release of Ruby on Rails, the framework is still widely used among professional developers. In 2022, Ruby is something far away from just a fun and easy-to-learn programming language for those starting their software engineering career.

Is it worth learning Ruby on Rails in 2020?

Yes, there are plenty of good reasons to learn Ruby on Rails, making it worthwhile. Since its popularity in the last two decades, it is still a robust platform being used to build some of the biggest websites and apps. Furthermore, Rails has a lot to offer with the newer version that was launched in 2022.


3 Answers

I have never seen Rails scaffold-generated view code used in a production app. The chances that it's going to create the look that you want is nearly zero. I use the generators for models and controllers all the time, as they are very useful.

To your question of frameworks:

If you know Python better, use Django. If you know Ruby better, use Rails.

If this is a hobby site, use whichever one interests you the most.

like image 188
jdl Avatar answered Oct 01 '22 18:10

jdl


The default scaffolding is generally only useful as a starting point, and doesn't provide too much of a leg up on a real app. If you want something Rails-based that provides better scaffolding, check out Hobo or ActiveScaffold -- both provide scaffold-style functionality, but take it a lot further than Rails does by default.

As far as Rails vs. Django, they provide pretty similar functionality, though Django has built-in account management. Which one you use should be more a matter of language preference than anything else.

like image 34
Sean McMains Avatar answered Oct 01 '22 18:10

Sean McMains


Scaffolding is just a demo and learning feature. It's not intended for use in real site development. It's certainly not Rails' primary strength.

like image 38
Chuck Avatar answered Oct 03 '22 18:10

Chuck