Live data from Hacker News

Bullet Train – Rails-based SaaS framework

bullettrain.co

111–120 of 148 posts

Re: Bullet Train – Rails-based SaaS framework

#111
post #67
post #19

Earlier quoted context omitted.

But devise is only single tenant and doesn’t offer a web admin view for managing the integration?

Devise does not impose anything on the number of tenants. I run a Rails app with multi-tenancy and SSO support with Devise. As someone has mentioned, although it does a lot of the work and it keeps well organized, you still need to do the UI for configuring and some backend logic.

Devise doesn't support SSO, but it supports omniauth, which supports SSO, right?

You certainly can write and maintain code to add multi-tenant sso, but since omniauth does not support any configuration storage, you have to add that yourself.

Re: Bullet Train – Rails-based SaaS framework

#112
post #75
post #64

Earlier quoted context omitted.

That's the nature of how these things go. People that like Tailwind praise it. People that think it's fundamentally bad design avoid it and don't say too much, or are drowned out by the people praising it. People who just write SCSS don't even think about it.

Companies like tailwind Engineers learn to work with it due to that simple fact. It's OK tbh, and it's easily interoperable between stacks so not really hard to pick up and useful if your project already uses it. I tried to fight it at first, but I've only seen it being used more and more. Why fight the stream if there's no good reason for it?

> Why fight the stream if there's no good reason for it?

Why jump tool chains when you already have more than enough on your plate to keep up with?

I watched a conference presentation last week from a front-end person who talked about FE design. He pulled up a slide on bootstrap and said "if you use bootstrap, everything will end up looking like twitter. your login page won't be able to be creative, you'll just look like every other login page".

I had to push back at the end of the presentation with some BS support. I don't use it much any more, but the obvious misinformation about bootstrap continues in 2023, and it's bothersome. FWIW, the presenter said "oh yeah, you're right, and it can be used well, but some people just use the defaults".

Separately, my experiences with tailwind have been less than exciting. Perhaps if I spent the $300+ on 'premium tailwind components' I'd be more on board?

> easily interoperable between stacks so not really hard to pick up and useful if your project already uses it.

And if I don't use it? I get a fair amount of pushback from colleagues sometimes for not jumping on the 'newest' things. Spoiler: I don't deploy many projects with docker either. Is that 'fighting' it? Or just using other established/tested/documented tools and proceses to get a job done?

Re: Bullet Train – Rails-based SaaS framework

#113
post #87

Earlier quoted context omitted.

> to guess what objects you're dealing with I don't understand, why are you guessing? Do you mean the parent objects of things you've written? Like ActiveRecord, etc. I would think that mental overhead is the same in any web+CRUD+ORM type of framework.

I guess what your parent poster is saying is that: without types, all you have is the variable name to guess what it does. IDEs help but there's only so much they can do.

Yes that's what I meant. All you have is a variable and IDEs can't figure it all if there's no type on it.

Not just that, let's say even if type is known but some of the methods are generated on runtime than IDE has no idea about it.

Re: Bullet Train – Rails-based SaaS framework

#114
post #64
post #18

Earlier quoted context omitted.

I’ve only heard good things about tailwind. Did you have a bad experience with it?

That's the nature of how these things go. People that like Tailwind praise it. People that think it's fundamentally bad design avoid it and don't say too much, or are drowned out by the people praising it. People who just write SCSS don't even think about it.

I am the people who just write scss.

For an app I may use bootstrap as it is a framework with bigger blocks.

Re: Bullet Train – Rails-based SaaS framework

#115

Building from scratch wastes a ton of time and I'm a big fan of starting with some working parts and customizing from there. I think with what's going on with AI it makes sense to use python more because all the researchers love python and make examples available through python notebooks. Then your tech stack is less split amongst many languages and there is less complexity and you can hire developers for cheaper. Ru…

I work in a Python shop (heavy data analytics). My experience is that the Python web frameworks (Django, Flask) are so much more cumbersome than Rails. There are arguments both for and against streamlining your tech stack. For me, the additional overhead of maintaining multiple stacks is worth it given the effort that goes into web app development

Re: Bullet Train – Rails-based SaaS framework

#116
post #64

Earlier quoted context omitted.

That's the nature of how these things go. People that like Tailwind praise it. People that think it's fundamentally bad design avoid it and don't say too much, or are drowned out by the people praising it. People who just write SCSS don't even think about it.

>> "fundamentally bad design" They literally wrote the book on good design[1] [1] https://www.refactoringui.com/

No, that's not true; a 2023 book giving advice like "don't use borders" is definitely not in any way a seminal source of "good design".

Besides, I'm not saying I think it's a fundamentally bad design, I'm saying those voices are drowned out by the people on-board with it - for a great example, consider how you just came into the conversation, squished the nuance I was discussing, and gave hyperbolic praise to their book just because you like their tool.

Re: Bullet Train – Rails-based SaaS framework

#117

Earlier quoted context omitted.

Did you end up using tailwind with jump start rails? Any way around it? I like the idea of jump start rails but would like to stay away from tailwindcss.

Have you tried it on a real project? Tailwind is a huge time saver when compared to traditional CSS or SASS.

I have. It's essentially a write-only DSL for CSS that, were you to group it via @apply or similar, you have reinvented CSS classes. In fact I had a huge thread discussion on HN about this:

https://news.ycombinator.com/item?id=34922232

Re: Bullet Train – Rails-based SaaS framework

#118

This might be a good place for a Java programmer to say thank you to the Rails community for your relentless mocking of Spring and Enterprise Java back in the days. Java is wonderful these days, and seriously I think you guys are a one of the major reasons why Java is so great today.

If Java is so great why do I still have to escape regex metacharacters even after the introduction of raw strings? It's insane to have to do this in 2023.

Re: Bullet Train – Rails-based SaaS framework

#119

This might be a good place for a Java programmer to say thank you to the Rails community for your relentless mocking of Spring and Enterprise Java back in the days. Java is wonderful these days, and seriously I think you guys are a one of the major reasons why Java is so great today.

Spring is still awful. Play, Javalin, and other frameworks are leagues better. Even Spring boot isn't a great framework which has way too much annotation soup. Worst thing with Spring/Spring Boot is that the framework and ecosystem breaks extremely often with updates.

Agreed. Spring hasn't changed that much. It's still an annotation-fest at core and the method names don't appear to be getting any shorter.

Re: Bullet Train – Rails-based SaaS framework

#120
post #64
post #18

Earlier quoted context omitted.

I’ve only heard good things about tailwind. Did you have a bad experience with it?

That's the nature of how these things go. People that like Tailwind praise it. People that think it's fundamentally bad design avoid it and don't say too much, or are drowned out by the people praising it. People who just write SCSS don't even think about it.

Tailwind is an abomination. There, I've said it.
Post reply on HN