329 points · by rayshan · 12y ago · 140 comments
https://github.com/twbs/bootlint
I could see myself integrating something like this into a text editor or a build process -- something that watches for bootstrap usage errors and helps my team correct them early and quickly. That is, of course, assuming that we stick pretty closely to vanilla bootstrap, which we usually don't.
One of my biggest issues with Bootstrap (and similar frameworks) is that, beyond a certain point, you find yourself overriding and customizing them to such a degree that it's more productive to just build your own "vanilla" components that are specific to the way your site or organization uses them, and then just ditch Bootstrap altogether.
One thing I'd like to see is a way of generally linting HTML structure (not validity, but actual structure) with a goal of reducing complexity and improving maintainability, regardless of what frameworks you may be using. Something that spits out a ratio of meaningful, semantic markup to "div soup" and tells you where you should spend the most time mopping up the soup. It could also have some understanding of which kinds of div patterns are acceptable -- bootstrap components, your own component library (see: OOCSS), etc.
This has been similar to my experience. Bootstrap can be overwhelming at times, and there have been a few cases where I had to solve buggy behavior by specific Bootstrap components by writing elaborate fixes that would not have been required had I used my own framework. From that standpoint, working on a time-consuming, yet practically throwaway-type site, Bootstrap was really frustrating.
I do really like the low-baggage approach of Initializr's Responsive configuration as well as the Responsive Grid System.
Things like the nav bar are really clever, but way too much for most of my projects. I like the button styles, but usually modify them... stuff like that.
I think Bootstrap was meant as components ready to be used out-of-the-box as they are, but not necessarily easy to extend and customize.
I think what we need is a framework that makes components easy to create and extend, and then build a widget library on top of it that provides the most commonly needed components/UI patterns.
If the components where easy to understand and extend, then we can just look inside them, copy paste and make our own by modifying just the part that we need.
The problem is that they are not, in the case of Bootstrap these seem to be quite extended set of jQuery based components that you can spend a lot of time debugging to understand how they work, and modify them to do what we need.
I don't think the name carries the explicit rejection of ongoing use that you believe it does. That you can use it to get started quickly does not mean you can't use it indefinitely; it's often necessary to tweak or hack Bootstrap to fit your specific visual requirements, but for a project that can actually use it without serious modification, I don't see a reason to throw out the convenience and consistency it provides arbitrarily, simply as a matter of course.
Dropped support for IE8
That seems pretty premature.
Edit: Looks like Google doesn't even support IE9 anymore. https://support.google.com/a/answer/33864?hl=en
Second, IE8 is still very popular browser with 20% market share. You don't want to lock out 1 in every 5 of your users.
Third, a major point of using frameworks is not having to worry about browsers. This is why making frameworks are hard.
Fourth, people who are stuck with IE8 or below are typically not by their choice.
Best I can tell IE8 is somewhere around 6% in the US (these numbers are rough to find because most of the places that collect statistically significant numbers charge for the info). On my site (which centers around a first-world disposable-income-heavy hobby) IE8 is basically non-existent. Your mileage may vary.
Anti-virus companies use an IE8 user agent string sometimes for finding dangerous sites. Other bots and crawlers still use the IE8 string, although it seems like many are switching to Chrome.
I've never been able to find a resource about this, but is there any data available for the breakdown of bots/crawlers and their effect on browser usage statistics?
One reason I ask is that using the web with IE8 is pretty miserable and a lot of sites are flat out broken. I know there is an aspect of corporate networks on it, but 20% just seems really high if you realize that 20% or more of the web is broken for IE8 users.
But it makes little sense to develop new tools that support IE8 at this point. By the time Bootstrap 4 is released (probably many months from now), IE8 usage will be even lower.
Further, since it's solely responsible for so many edge cases, polyfills, and hacks, it doesn't hurt to gently push for its demise. Even Microsoft is trying.
Well why in the name of all good design did Microsoft not put out a version of IE9 for Windows XP while it was still supported? That would made everything so much simpler, including for them -- after all, they have to worry about IE8 just like the rest of us, XP or no.
Stop using XP.
Seriously.
1. Functional without Javascript
2. Functional in IE7+
Link to the relevant part of the talk:
http://youtu.be/CUkMCQR4TpY?t=17m34sAnd also http://youtu.be/CUkMCQR4TpY?t=19m21s
The essential point made is that for much of gov.uk, it isn't that difficult to make the site work without Javascript or work in IE7 either.
Purley personal opinion, but web design has become incredibly bloated with so much cruft added to web pages - be it unnecesary Javascript or excess CSS. Web developers pick the tools that make their lives easier (as you'd expect), but that doesn't always mean that users get the best experience.
IE8 implies XP. XP is now actively nagging users about how dead it is every time they boot. The holidays are coming up. It is not unreasonable to expect some people to replace their prehistoric computers around the end of the year.
http://arstechnica.com/information-technology/2014/08/suppor...
Business owners looking to make profit anyway they can DO NOT.
We do A/B testing for very small % gains yet we are ok with delivering a site that wont work in IE8? It is a hard business case to make with clients.
I'm glad the framework is moving forward, we all like playing with new toys, but I hope there is an IE css file that will "fix it enough" to make it work for IE8
http://gs.statcounter.com/#browser_version_partially_combine...
Shows 7% for North America IE8
It's pretty bad. We once got a ticket to make sure our app works with "ALL BROWSERS" because it was broken in IE6. That ticket was 6 months ago. The users are out there.
We're enterprise and upgrading to 3.3 as we speak. We see a 4-8% of users coming in from older IE, mainly XP. We have customers in USA only.
Our public website: 3% IE7, 5.2% IE8
App: 1% IE7, 3.3% IE8
We are in an awkward spot of soon having to say, "Sorry ie8 wasn't a suitable upgrade".
Bootstrap is pleasant to work with and extend. Each of the javascript components are simple, isolated, and well thought out.
But don't take my word for it!
The "affix" plugin in bootstrap: https://github.com/twbs/bootstrap/blob/master/js/affix.js
The equivalent in foundation: https://github.com/zurb/foundation/blob/master/js/foundation...
- Foundation ceases to be an option since they drop IE8 support in Foundation 3, far too soon IMHO - Various jQuery UI-based frameworks out there (e.g. Kendo UI) has good Bootstrap theme support
How can a JS framework expect to be taken seriously if it doesn't even provide a half-assed abstraction over a half-assed excuse for a language?
https://github.com/twbs/bootstrap-sass
It's already got a 3.3.0 available, it is kept sync'd.
I have very occasionally run into a bug or problem with the sass port not being kept properly parallel to the original less, but mostly it just works fine.
https://github.com/twbs/bootstrap-sass/pull/757
Releasing the LESS and Sass versions at the same time is a bit premature. Looks like the Sass version wasn't tested as much.
But, hey, look, they already released 3.3.0.1 of the sass version fixing the problem, 3 hours after the ticket was filed, that's pretty responsive, sometimes that's the most you can ask for.
(Part of the issue is it's not JUST a Sass version, people expect a Sass version that works with Compass with or without Rails, and that works with Rails without Compass, and that works with Sprockets without Rails, and that works standalone with nothing but Sass just compiling css like the Less version, and each context has it's own picadillos).
> Updated grid system with at least one additional tier for handheld devices.
Bootstrap already has a Mobile and Tablet layout, so which form factor would this addition address? Phablets?