Replace Bootstrap 4 with Bootstrap 5 #31765
-
I think it's a perfect time to replace Bootstrap 4 with Bootstrap 5 in the templates Atum and Cassiopeia. 5 New Features in Bootstrap 5 |
Beta Was this translation helpful? Give feedback.
Replies: 83 comments 205 replies
-
Since this is a beta version, I don't think there will be any significant changes in the final version (except for bug fixes). it would be a logical step to use Bootstrap 5 in Joomla 4. |
Beta Was this translation helpful? Give feedback.
-
History will repeat itself. Many more people will be happy if Joomla 4 be released with Bootstrap 5. Take the risk and move on to Bootstrap 5. It will be beneficial to everyone. |
Beta Was this translation helpful? Give feedback.
-
Remember that Joomla 4 is written in a way which makes changing to another framework even simpler than it was in Joomla 3 (where it already was possible). So it absolutely doesn't matter with which Bootstrap version Joomla 4 is released, you can do whatever you want in your template. |
Beta Was this translation helpful? Give feedback.
-
@ITPrism would you be willing to elaborate how an implementation could look like targeting Joomla! 4.1, where the core templates support both versions (e.g. with a switch). The most important thing would be b/c, though. |
Beta Was this translation helpful? Give feedback.
-
BS 4 beta took 5-6 month till final release... targeting 4.0 is too late and depending on the implementation of bs5 may not be b/c. I personally think that Joomla shouldn't continue to use an external css framework. |
Beta Was this translation helpful? Give feedback.
-
BS5 is in Beta so we should not expect any breaking changes and move backend to it. |
Beta Was this translation helpful? Give feedback.
-
Please do not repeat that mistake that happened to Joomla 3. |
Beta Was this translation helpful? Give feedback.
-
Again: It's to late for J4.0 to adopt BS5 (which isn't released yet). We don't want to delay 4.0 another half year. |
Beta Was this translation helpful? Give feedback.
-
It is not only replace the BS4 files with the new BS5 files, but changing EVERY view, layout, render, etc. to use the appropriate classes and reworking Atum and Cassiopeia. |
Beta Was this translation helpful? Give feedback.
-
That's a brilliant idea.
https://blog.getbootstrap.com/2020/12/07/bootstrap-5-beta-1/
They are moving fast and it seems that BS5 Stable will be released sooner then J4 Stable will be released. We can wait a little more for J4 as we have already waited :) Will migration from v4 to v5 be easy? It will certainly be easier than migrating from v3 to v4. There are definitely fewer syntax changes this time, and backward compatibility is much better guaranteed. |
Beta Was this translation helpful? Give feedback.
-
This is the problem because we in fact don't know what we want. Example: backend template It could be so easy to have nice working backend template - make a competition among the template developers, set the rules and then choose the best one. Easy. But we didn't define what we want, so there was no progress regarding backend template for some months, so then the group of enthusiasts just did backend template (big thanks to them as it was huge work). But then there was professional template developer who provided template which was warmly received by the public. And the developer asked if his work could be implemented. There was no clear answer except saying, it must meet specific rules. The developer was ready to meet these rules but he wanted to know if his work will be used - some guarantee for not doing unnecessary work. And, ... and, ... and after infinite discussions, all participating parties just lost their motivation to finish it. If I personally got some work into my project that would be 95% done and would be awesome, maybe I wouldn't bother developers with nonsensical requirements and I would finish the necessary ones myself. Be it is not about me, it is about the community and leadership where it is really hard to make decision. So asking companies for help will not work here, as history just show us, it is in fact impossible :-( |
Beta Was this translation helpful? Give feedback.
-
Please check the budget and see how little money you are talking about |
Beta Was this translation helpful? Give feedback.
-
It depends on where you live, if I have the correct information, for me, it is not so little :-) |
Beta Was this translation helpful? Give feedback.
-
BTW it is not only about money but about motivation itself. There are other ways than money, Joomla! project can offer. But there is just no motivation for other to participate. :-( Saying that companies who make money with Joomla! should participate is easy, but there is no motivation for them. They get Joomla! with or without participating. |
Beta Was this translation helpful? Give feedback.
-
The big problem of replacing BS4 with BS5 at this stage is the backend, that would require to rework the admin layout and all extensions like mine that have been rewritten to adopt the core version 4 of Bootstrap. This is a huge amount of work for the Joomla team and for extensions developers like me, i hope that who insists to replace BS4 with BS5 understands this. The same if not worst would happen if BS4 is replaced with BS5 in the next Joomla 4.1. That could force extensions to switch layouts to support both BS4 and BS5 for people not promptly updating websites to Joomla 4.1. So technically the whole lifecycle of Joomla 4.x should stay coupled with BS4 and have BS5 only with Joomla 5. |
Beta Was this translation helpful? Give feedback.
-
we saw that joomla 4 developers and extensions who have no skill or time to use Bootstrap 5 are very small number. now we can see that Replace Bootstrap 4 with Bootstrap 5 is not good for joomla4 developers is science fiction there are 1 deveoper who thinks Bootstrap 5 is bad and joomla 4 and wants to use b4 let us see if rdeutz thinks these PR is waste of time or in big need for joomla4 |
Beta Was this translation helpful? Give feedback.
-
If I remember well, Joomla 1.0 and 1.5 didn't require Bootstrap. After 2.5 Joomla couldn't work without Bootstrap anymore. It's possible to avoid loading Bootstrap theoretically, but in practice, almost all core features will stop working in this case. So, Joomla devs are FORCED to use Bootstrap even if they don't want to. Joomla can't work properly without Bootstrap! If you decide to use the XY framework, you must make sure your project supports both Bootstrap and XY framework (not just XY framework). And this is an extremely hard and really not an entertaining task for devs... So, Joomla's fate is nowadays related to Bootstrap. No Bootstrap, no Joomla! The decision to include Bootstrap in Joomla and making Joomla dependant on it (or any other front-end framework) is the worst decision in Joomla history! I understand it makes the development faster, but I am sure this decision made much more damage than benefits overall. Okay, Bootstrap was popular... maybe it's the best... However, it's 2021. New front-end frameworks are born (Tailwind, and other)... They bring new ideas, new technologies... And what about us? Joomla devs are stick with Bootstrap (2, or 3, or 6, I don't care...). If they decide not to use Bootstrap, they must decide not to use Joomla... and that's sad. https://www.youtube.com/watch?v=N9Tr7sveKMM So, we have a Joomla dev in this video who would like to use Tailwind with Joomla, but he can't because Joomla is stick with Bootstrap. That's what I am talking about. I dream about the day when Joomla will not be dependant on any front-end framework. And when Joomla devs will again have the option to use any front-end framework or none of them or build custom frameworks and combine them with Joomla. I know it's not gonna happen in 4.0, 4.1... How about 5.0 or 6.0? Will Joomla be independent again? Any plans for this anytime in the future? What are your thoughts on this? Thanks |
Beta Was this translation helpful? Give feedback.
-
Joomla 4 is delayed and without a release date. |
Beta Was this translation helpful? Give feedback.
-
Joomla! 4.0 will ship with Bootstrap 5 It is now official 👍 |
Beta Was this translation helpful? Give feedback.
-
This has been answered in the blog post above |
Beta Was this translation helpful? Give feedback.
-
I would like to thank all the developers who are on this project. But especially @dgrammatiko @brianteeman @wilsonge . I build sites for my pleasure, to please associations, ... And today it is the Joomla team that makes me happy. Thanks thanks thanks. I believe this decision is important for the future of Joomla! |
Beta Was this translation helpful? Give feedback.
-
Thank you all 😎 |
Beta Was this translation helpful? Give feedback.
-
Thank you all ! JoomBoost is going to use BS5 too !! 👍 |
Beta Was this translation helpful? Give feedback.
-
@brianteeman @wilsonge @nibra @dgrammatiko Hello, maybe silly question: Bootstrap 5 will be used both on the backend but also the frontend in Cassiopeia? |
Beta Was this translation helpful? Give feedback.
-
@drmenzelit If I look at bootstrap file 5, we can distinguish 5 container variables. With an xxl at 1320px. If I compare with Cassiopeia today we only see 4 variables, like bootstrap 4. |
Beta Was this translation helpful? Give feedback.
-
Big hug and thanks to @ITPrism Todor for doing this for Joomla. Its a great long term decision that showed that mankind also can travel to the moon. |
Beta Was this translation helpful? Give feedback.
-
To update the topic with the latest news, Bootstrap 5 Beta 2 is out: https://blog.getbootstrap.com/2021/02/10/bootstrap-5-beta-2/ In the article, the team mentions that they are planning the next step. It could be a final Beta 3 or directly release the stable version depending on how development proceeds. |
Beta Was this translation helpful? Give feedback.
-
Sorry, until Joomla 4 is ready to use, BS 6 is avaiable... lol |
Beta Was this translation helpful? Give feedback.
Joomla! 4.0 will ship with Bootstrap 5
https://developer.joomla.org/news/839-joomla-4-0-will-ship-with-bootstrap-5.html
It is now official 👍