• Что бы вступить в ряды "Принятый кодер" Вам нужно:
    Написать 10 полезных сообщений или тем и Получить 10 симпатий.
    Для того кто не хочет терять время,может пожертвовать средства для поддержки сервеса, и вступить в ряды VIP на месяц, дополнительная информация в лс.

  • Пользаватели которые будут спамить, уходят в бан без предупреждения. Спам сообщения определяется администрацией и модератором.

  • Гость, Что бы Вы хотели увидеть на нашем Форуме? Изложить свои идеи и пожелания по улучшению форума Вы можете поделиться с нами здесь. ----> Перейдите сюда
  • Все пользователи не прошедшие проверку электронной почты будут заблокированы. Все вопросы с разблокировкой обращайтесь по адресу электронной почте : info@guardianelinks.com . Не пришло сообщение о проверке или о сбросе также сообщите нам.

My opinion about Rails 8

Lomanu4 Оффлайн

Lomanu4

Команда форума
Администратор
Регистрация
1 Мар 2015
Сообщения
1,481
Баллы
155
I wrote this post originally on my website :

Пожалуйста Авторизируйтесь или Зарегистрируйтесь для просмотра скрытого текста.



If you want to see the final app, just ask me ;)

Here is the article below :

Here is my 2 cents after 10 years with Rails and 6 months with Rails 8 in production.

Rails is removing stuffs!


The most surprising part is probably that they are proud of removing parts in a brand new version.

I view it as an excellent sign of maturity.

The subtitle of Rails 8 is "no PaaS required", but they could have also said : "No React required", "No Redis required", and so on.

What a relief.

Any shiny new framework is proud about "what's new under the sun", not "what's deleted to simplify devs life".

The first best part is the stable part


The first excellent part is what didn't move.

The domain swallows all the complexity, as it did 15 years ago.

The controllers are still the same, very boring and efficients.

The second best part is the Omakase part



Пожалуйста Авторизируйтесь или Зарегистрируйтесь для просмотра скрытого текста.

is a poetic way to say "if you don't like feature A, D and F, I just give you the ability to skip A, D, F, while keeping B, C, E".

I was surprised the number of comments in this

Пожалуйста Авторизируйтесь или Зарегистрируйтесь для просмотра скрытого текста.

.

The old times where everybody found "default Rails" to be the best option is now quite far away.

So personnally I skipped the default db configuration, I skipped the assets management (I use Vite), I skipped Hotwire (Unpoly is far better).

I didn't use the default auth generator,

Пожалуйста Авторизируйтесь или Зарегистрируйтесь для просмотра скрытого текста.

being far ahead of it.

I don't use Trix, Tui editor being a lot more efficient to handle HTML generation.

I kept every other part of Rails, because I felt good enough with it.

And I feel more productive than ever.

YMMV.

Enjoyable DB


Now PG can handle most of the classic stuffs. I will write an article about it soon, but here is what my local Rails 8 db look like:


freskrweb_development
freskrweb_development_cable
freskrweb_development_cache
freskrweb_development_errors
freskrweb_development_queue
freskrweb_test

Personally, I still miss the freskrweb_development_analytics, but you have the idea : systemic features are backed by PG itself, and it's a relief.

Summary


Rails 8 is "the one person framework", now more than ever.

React-based framework means more complexity and more code, and it's even worse if it's AI-generated.

Rails 8 has shortened distances between idea and production, while keeping complexity and productivity manageable over the long term.

That is the right path.


Пожалуйста Авторизируйтесь или Зарегистрируйтесь для просмотра скрытого текста.

 
Вверх Снизу