Need advice about which tool to choose?Ask the StackShare community!
Bootstrap vs Spring Boot: What are the differences?
What is Bootstrap? Simple and flexible HTML, CSS, and JS for popular UI components and interactions. Bootstrap is the most popular HTML, CSS, and JS framework for developing responsive, mobile first projects on the web.
What is Spring Boot? Create Spring-powered, production-grade applications and services with absolute minimum fuss. Spring Boot makes it easy to create stand-alone, production-grade Spring based Applications that you can "just run". We take an opinionated view of the Spring platform and third-party libraries so you can get started with minimum fuss. Most Spring Boot applications need very little Spring configuration.
Bootstrap belongs to "Front-End Frameworks" category of the tech stack, while Spring Boot can be primarily classified under "Frameworks (Full Stack)".
"Responsiveness", "UI components" and "Consistent" are the key factors why developers consider Bootstrap; whereas "Powerful and handy", "Easy setup" and "Java" are the primary reasons why Spring Boot is favored.
Bootstrap and Spring Boot are both open source tools. It seems that Bootstrap with 134K GitHub stars and 66K forks on GitHub has more adoption than Spring Boot with 39.8K GitHub stars and 25.8K GitHub forks.
Spotify, Twitter, and Lyft are some of the popular companies that use Bootstrap, whereas Spring Boot is used by MIT, Intuit, and OpenGov. Bootstrap has a broader approval, being mentioned in 7046 company stacks & 1115 developers stacks; compared to Spring Boot, which is listed in 333 company stacks and 615 developer stacks.
Starting a new company in 2020, with a whole new stack, is a really interesting opportunity for me to look back over the last 20 years of my career with web software and make the right decision for my company.
And, I went with the most radical decision– which is to ignore "sexy" / "hype" technologies almost entirely, and go back to a stack that I first used over 15 years ago.
For my purposes, we are building a video streaming platform, where I wanted rapid customer-facing feature development, high testability, simple scaling, and ease of hiring great, experienced talent. To be clear, our web platform is NOT responsible for handling the actual bits and bytes of the video itself, that's an entirely different stack. It simply needs to manage the business rules and the customers experience of the video content.
I reviewed a lot of different technologies, but none of them seemed to fit the bill as well as Rails did! The hype train had long left the station with Rails, and the community is a little more sparse than it was previously. And, to be honest, Ruby was the language that was easiest for developers, but I find that most languages out there have adopted many of it's innovations for ease of use – or at least corrected their own.
Even with all of that, Rails still seems like the best framework for developing web applications that are no more complex than they need to be. And that's key to me, because it's very easy to go use React and Redux and GraphQL and a whole host of AWS Lamba's to power my blog... but you simply don't actually NEED that.
There are two choices I made in our stack that were new for me personally, and very different than what I would have chosen even 5 years ago.
1) Postgres - I decided to switch from MySql to Postgres for this project. I wanted to use UUID's instead of numeric primary keys, and knew I'd have a couple places where better JSON/object support would be key. Mysql remains far more popular, but almost every developer I respect has switched and preferred Postgres with a strong passion. It's not "sexy" but it's considered "better".
2) Stimulus.js - This was definitely the biggest and wildest choice to make. Stimulus is a Javascript framework by my old friend Sam Stephenson (Prototype.js, rbenv, turbolinks) and DHH, and it is a sort of radical declaration that your Javascript in the browser can be both powerful and modern AND simple. It leans heavily on the belief that HTML-is-good and that data-* attributes are good. It focuses on the actions and interactions and not on the rendering aspects. It took me a while to wrap my head around, and I still have to remind myself, that server-side-HTML is how you solve many problems with this stack, and avoid trying to re-render things just in the browser. So far, I'm happy with this choice, but it is definitely a radical departure from the current trends.
I do prefer to write things from scratch however when it came to wanting to jump-start the frontend, I found that it was taking me a lot longer hence why needing to use something very fast.
Bootstrap was the boom when it came out, I didn't like it, to be honest, set in its way and a pain to over-ride and in addition, you can tell from a distance if you're using boostrap and as everything looks the same.
I came across Tailwind CSS as I wanted more dynamic features, you could say, I've been now doing it for a few days and I love it a lot. I've been practising with the full stack part installed but I an't we wait until I do a new project, and I'll e able to select exactly what I want. Much faster.
I find the Tailwind provides a lot for flexibility in how we approach design for Mojinxo, while still giving me the benefits of a defined framework and centralised configuration. With tailwind we can create something that is very much Mojinxo and not just a carbon copy of every other site using Tailwind, which is what I find tends to be the case with Bootstrap and Bulma.
There is a tradeoff in familairity for users, especially with Bootstrap where users just 'know' how a site will work based on the card display, the common navigation look and feel and the slide-out burger menus.
The icing on the cake is definitely size. Tailwind is just so small, effective and easy to pick up.
Pros of Bootstrap
- Responsiveness1.6K
- UI components1.2K
- Consistent945
- Great docs776
- Flexible677
- HTML, CSS, and JS framework466
- Open source410
- Widely used375
- Customizable368
- HTML framework241
- Popular76
- Easy setup75
- Mobile first75
- Great grid system56
- Great community49
- Future compatibility38
- Integration34
- Very powerful foundational front-end framework27
- Standard24
- Javascript plugins23
- Build faster prototypes19
- Preprocessors18
- Grids13
- Clean8
- Good for a person who hates CSS7
- Easy to setup and learn4
- Rapid development4
- Love it4
- Popularity2
- Community2
- Great and easy to make a responsive website2
- Sprzedam opla2
- Powerful grid system, Rapid development, Customization2
- Clean and quick frontend development2
- Easy to use2
- Great customer support2
- The fame1
- Easy setup21
- Painless front end development1
- So clean and simple1
- Numerous components1
- Material-ui1
- Geo1
- Boostrap1
- Pre-Defined components1
- Great and easy1
- It's fast1
- Reactjs1
- Great and easy to use1
- Responsive design1
- Design Agnostic1
- Provide angular wrapper1
- Recognizable1
- Intuitive1
- Love the classes?1
- Felxible, comfortable, user-friendly1
- Frefsd0
Pros of Spring Boot
- Powerful and handy127
- Easy setup121
- Java111
- Spring83
- Fast79
- Extensible39
- Lots of "off the shelf" functionalities32
- Cloud Solid27
- Caches well21
- Many receipes around for obscure features19
- Productive18
- Modular18
- Integrations with most other Java frameworks17
- Fast Performance With Microservices16
- Spring ecosystem is great16
- Community14
- Auto-configuration13
- One-stop shop11
- Easy setup, Community Support, Solid for ERP apps11
- Easy to parallelize10
- Easy setup, good for build erp systems, well documented9
- Cross-platform9
- Easy setup, Git Integration8
- Powerful 3rd party libraries and frameworks8
- It's so easier to start a project on spring2
- Kotlin2
Sign up to add or upvote prosMake informed product decisions
Cons of Bootstrap
- Javascript is tied to jquery23
- Every site uses the defaults14
- Too much heavy decoration in default look11
- Grid system break points aren't ideal11
- Verbose styles7
Cons of Spring Boot
- Heavy weight18
- Annotation ceremony17
- Many config files needed10
- Java7
- Reactive5
- Excellent tools for cloud hosting, since 5.x4