- Yes, switch to Bootstrap 4
- No, keep Bootstrap 3
0 voters
0 voters
Please provide arguments about not switching. Thanks!
I think, why it must be depends on bootstrap , some one need to use another html frameworks like bulma and …
@mamad_za there are only two options in the poll
The concern you are talking about is there in Yii 3.0. Application template, by default, doesn’t depend on any framework there. In 2.0 we are going to leave the fact of dependency on bootstrap as is.
I think first of all users choose bootstrap for its grid.
Bootstrap 4 use latest native css features for a grid flexibility. And added some new additional margin, padding and align classes.
What about releasing an intermediate “2.5” version between 2.0 and 3.0, not backward compatible with 2.0 and upgraded with enhanced dependencies? I’m thinking, for example:
yii2-gii
, yii2-apidoc
, yii2-shell
, yii2-debug
… which should be released too (there’re some interesting commits & PRs here and there waiting to be included in a new release of these packages).It could be a great step forward whilst waiting for a 3.0 release.
Aside from that, I obviously voted YES for switching to Bootstrap 4.0 in Yii 2, of course.
PHP 7.1+
Yii 2.0 works with it well.
Bootstrap 4.0
We’ll release Bootstrap 4 extension before next 2.0 release and you’ll be able to use it with 2.0. We may make it default for applications… or not.
PHPUnit 7.1
Codeception Specify & Verify 1.0
SwiftMailer 2.1.0
Newer versions ofyii2-gii
,yii2-apidoc
,yii2-shell
,yii2-debug
You can use it in your applications with 2.0 right now.
The poll question is unclear.
Does answering YES mean that backward compatability will be broken for current existing projects?
(e.g. when updating Yii 2.0.13 -> 2.0.16)
As for the new projects backwards compatability does not matter and therefore it should go with BS4.
No since application templates are used for starting new applications only and are never updated.
I think, it is not bad idea, but for preventing conflicts, it should change minor version.
Yii3 - absolutely new
Yii2.1.x - with bootstrap4
Yii2.0.x - as is
Probably it will be harder for support, but more clear for use
But template still is sicked to PHP 5.4 and using outdated approaches (like deprecated className()
method instead of ::class
) without any valid reason. IMO project starter should always use cutting edge technologies and promote modern approach - template is used only for new projects, so there is no need to keep support for old software.
And unless we want to support both, BS3 and BS4 versions, I don’t see much sense in releasing it as 2.1
- it is just confusing, since so far template releases were sicked to core release, so it will look like template for Yii 2.1.
@Insolita marking it 2.1 doesn’t worth the trouble and will drift us away from 3.0. Either it is a minor release or we’re not updating it.
Agreeing with @rob006, having the template ship with className()
instead of ::class
is kind of weird, especially if we consider that even PHP 5.6 reached its EOL in the beginning of the year: http://php.net/supported-versions.php
I’d do the following:
v2.0.14
of the template if they want the old behavior.You are raising a solid and valid point @njitram. Updating the template to bootstrap4 would probably turn into a nightmare in regards of extensions compatibility.
The upgrade itself isn’t that complicated for folks who will want to upgrade to bootstrap4. Maybe we should keep bootstrap3 for Yii 2 after all.
Yes, indeed it sounds trouble and upgrading manually isn’t that bad. Let’s release without upgrading the app.
I think switching to Bootstrap 4 will give lots of problems for Yiisoft and other developers. Do you really need to evolve Yii2 when Yii3 is much more expected and meeting the requirements of time?
Depends also, if you wanna use existing extensions, eg. usuario, settings, translatemanager, … - I haven’t checked how compatible they are with BS4.
From my point of view, each and every implementation has its idiosyncrasies and live exerience of dealing with multiple projects and situations is called developer experience. This experience can be monetized because we can deliver a working solution fast and accurate based on this knowledge.
So, I conside Yii2 my development platform of first choice. If you switch to BS4 a lot of my experience will be cancelled for very narrow improvement. Really - I would like to keep Yii3/BS4 as a separate challenge and keep Yii2/BS3 intact.
Makes sense. Decided to keep it as is for Yii 2.0