News for hackers. Stuff that matters.
Re:Bootstrap 2.2.0 released by papsosouid on Tuesday October 30, 2012 @12:32PM (#4718083)
I'm mainly a backend guy but do some frontend work from time to time. I keep seeing all this talk about a dozen different CSS "frameworks", and I just don't get it. Can someone explain to me what the purpose of these things is? Bootstrap's site for example doesn't even try to tell me what I would want it for, it just says I want it "because its for nerds" (do I have to dress in faux-nerd chic and live in the valley to use it?) and that it uses grids (that's the opposite of a selling point guys).

From looking at the code, all I see is a bunch of boilerplate CSS that seems to deliberately work against the nature of CSS (protip: the C stands for cascading), and is very brittle and tied to specific classes and markup rather than using selectors to be general and reusable. Is that really all it is, just a "I'm too lazy to design my site, so I'll just use twitter's design"? Perhaps it is just the word "framework" throwing me off since it doesn't appear to be a framework in any way? I know this is going to sound needlessly critical to some people, but I am expressing genuine confusion here, I really don't understand what I am supposed to use this for, or how it would help me in any way.

Re:Bootstrap 2.2.0 released by tptacek on Tuesday October 30, 2012 @08:48PM (#4720557)
And here we have it again: the textbook middlebrow dismissal, anchored to the top of the thread.

http://news.ycombinator.com/item?id=4693920

http://news.ycombinator.com/item?id=4714217

The reality of course is that calling Bootstrap a "framework" isn't at all controversial, that you cannot simply mimic it with a "default stylesheet" as suggested by this poster below, that to find a respected source vouching for the use of grids (and other systems of measure) you need look no further than Robert Bringhurst, that the Bootstrap site is atypically clear about its goals (maybe this poster didn't bother to scroll down half a page to see), and that the use of grid systems isn't remotely controversial in web design (where a good starting point to the use of grid systems in typographical and graphical applications would be Khoi Vinh).

Re:Bootstrap 2.2.0 released by bryanlarsen on Wednesday October 31, 2012 @10:13AM (#4722886)
Reading papsosouid's other comments in this thread, I think a more accurate description would be "troll".
Re:Bootstrap 2.2.0 released by bmelton on Tuesday October 30, 2012 @10:41PM (#4720883)
I can't believe I missed those posts by pg, but I think it's fair to say that in all but a very few subjects, my opinion is of the 'middlebrow' variety.

I now have a very real (though very slight) paranoia that any dismissal I offer on HN is going to be categorized as such, and heaven help me if it gets upvoted substantially.

In all seriousness, I both thank you and slightly hate you (in a valley girl sort of way) for pointing it out.

Re:Bootstrap 2.2.0 released by olalonde on Tuesday October 30, 2012 @12:59PM (#4718253)

  From looking at the code, all I see is a bunch of boilerplate CSS that seems to deliberately work against the nature of CSS (protip: the C stands for cascading), and is very brittle and tied to specific classes and markup rather than using selectors to be general and reusable.
I think they're doing their best. It's very hard to write both clean CSS and cross-browser compatible CSS.

  I know this is going to sound needlessly critical to some people, but I am expressing genuine confusion here, I really don't understand what I am supposed to use this for, or how it would help me in any way.
If one of the following applies to you, Bootstrap is for you:

"I'm too lazy to design my site."

"I suck at design."

"I don't have enough time to design my site from scratch."

"I don't have enough money to hire a designer."

"I want to signal my site is fresh and trendy."

Re:Bootstrap 2.2.0 released by papsosouid on Tuesday October 30, 2012 @01:40PM (#4718459)
>I think they're doing their best. It's very hard to write both clean CSS and cross-browser compatible CSS.

I think that's a poor excuse. Our designers manage just fine without requiring me to generate horrible markup or dump dozens of classes on everything. For something that is intended to be used by other people, I would have higher quality expectations, not lower.

>If one of the following applies to you, Bootstrap is for you

Thank you for the list, that's exactly what I was hoping their website would tell me.

Re:Bootstrap 2.2.0 released by fatbird on Tuesday October 30, 2012 @02:45PM (#4718809)
What you seem to be missing is that implementing complex designs means spending a lot of time dealing with cross-browser issues and platform-specific minutiae. Using these frameworks saves a lot of time, if the affordances you accept by using them are okay for you. Yes, it is a lot of boilerplate CSS. "Boilerplate" just means the boring stuff that's the same every time and is appropriately abstracted away in a framework. Your complaint about bootstrap not cascading properly is non-sensical. It's verbose in comparison to a custom job that's perfectly tailored to the situation; that's another tradeoff.

I've read your responses below and you're weirdly contemptuous of these frameworks. It's like saying "sure you can use Rails, if you're not competent enough to write your own app code, but then you'd be doing it wrong anyway." Devs make choices; engineering is frequently about tradeoffs. If you sound needlessly critical, work on your tone.

Re:Bootstrap 2.2.0 released by papsosouid on Tuesday October 30, 2012 @03:04PM (#4718910)
>I've read your responses below and you're weirdly contemptuous of these frameworks.

No, just that using the word "framework" in reference to something that is in no way even remotely like a framework caused much confusion. I was expecting it to be a framework, and was trying to figure out what I was missing. If the answer is (and others have already said this is the case) "its just a design to copy" that's fine. Although I do find it pretty absurd that so many people seem to want to suggest that "a default stylesheet" is some revolution in web design, and is a "framework". Hasn't everyone already used their own default stylesheet since the 90s?

Re:Bootstrap 2.2.0 released by fatbird on Tuesday October 30, 2012 @03:07PM (#4718935)
Okay, now I get it: You're trolling HN. Good for you. You got me.
Re:Bootstrap 2.2.0 released by lelandbatey on Tuesday October 30, 2012 @04:54PM (#4719548)
Please don't use a cop out like this. I don't think that writing someone off is very helpful to the discussion, and it's made worse when you don't explain yourself.

To respond to papsosouid:

I'll be very honest, I have little experience with most of the skills that others on HN commonly have (lots of code experience, tinkering with projects, etc) so I can only speak to what I think about BootStrap.

For me, BootStrap is a great tool to make web pages in a way that:

  1. I know will work.

  2. I know will look acceptable.
It's rather like the Ikea of CSS. It's simple, clear, and accessible for someone with little design sense or experience (like me!).

I feel like that was part of your underlying question: "Why do people use this?"

The other part of your question would be "How is this a framework?"

Looking at Wikipedia[0], a framework is a set of generic functions/tools that can be changed by the user to fit their needs. Based off of that definition, I feel that this very well fits what BootStrap is. It's a set of pre-made tools (CSS classes) that can be easily modified to fit specific cases.

[0]http://en.wikipedia.org/wiki/Software_framework

Re:Bootstrap 2.2.0 released by papsosouid on Wednesday October 31, 2012 @10:11AM (#4722875)
>Looking at Wikipedia[0], a framework is a set of generic functions/tools that can be changed by the user to fit their needs.

Yeah, that's the definition I was going on too. It doesn't seem like it describes bootstrap to me any more than it describes every stylesheet ever made. The nature of CSS is that you can override previously defined styles. When I see "CSS framework" my expectation was something like an actual framework, where a compiler processes some custom language to generate the specific CSS you need based off the components provided by the framework. Clearly my interpretation of "framework" is atypical.

Re:Bootstrap 2.2.0 released by crucialfelix on Wednesday October 31, 2012 @08:21PM (#4725541)
The framework is written in less. The css is just the rendered version of the less framework. You can configure variables to choose colors, curvatures, font base heights etc. the math performed in less scales elements and padding to the base height. There are a lot if edge cases and browser issues that are noticed and fixed by the larger community. You can also break the framework apart easily and only include certain parts by includes in the master style sheet. I'm personally using the sass fork And I have the js and CSS pared down to reduce the overall size, customize navbars etc.

It's definitely a framework.

Re:Bootstrap 2.2.0 released by ZeroGravitas on Wednesday October 31, 2012 @12:14PM (#4723549)
I don't know if this makes it fit your definition of "framework" any better, but to create the CSS provided by Bootstrap a "compiler processes some custom language" (they use http://lesscss.org/) and you can tweak variables to get different CSS output.

You can also "override previously defined styles" but I don't really understand why you would think you couldn't.

Re:Bootstrap 2.2.0 released by papsosouid on Wednesday October 31, 2012 @01:11PM (#4723927)
>You can also "override previously defined styles" but I don't really understand why you would think you couldn't.

I don't think you couldn't. I just mean that if "you can override styles" makes it a framework, then every stylesheet ever written is a framework. Perhaps I am missing something, but it appears to just use LESS the same way everyone else does (or the same way everyone uses SASS anyhow), just as a simple pre-processor, not to create what I was thinking of as a framework.

Re:Bootstrap 2.2.0 released by lelandbatey on Wednesday October 31, 2012 @02:51PM (#4724445)
I do agree with you that their choice of label is rather confusing/doesn't fit the best. However, I can't think of a short descriptor for bootstrap that describes:

"BootStrap is a set of generic, reliable, compatible and stylish CSS classes that you are free to use."

Actually, I'd really prefer that right there to be on the front page.

In fact, I'd really love it if most product descriptions were expanded a bit to provide more info. Hmmmm... I think I may write about that.

Re:Bootstrap 2.2.0 released by papsosouid on Wednesday October 31, 2012 @03:15PM (#4724543)
>Actually, I'd really prefer that right there to be on the front page

Yeah, that would certainly be helpful.

Re:Bootstrap 2.2.0 released by jiggy2011 on Tuesday October 30, 2012 @02:09PM (#4718604)
What's wrong with grids? Everything I have read about design seems to advocate laying things out in the fashion.

The nice thing about bootstrap is it enables things like having say, 2 columns at the top of the page then 3 columns underneath then finally going to a single column for the footer very easily.

Doing these things in manual CSS if you don't know about all the various browser quirks and tricks can be a pain.

Re:Bootstrap 2.2.0 released by specialist on Tuesday October 30, 2012 @09:41PM (#4720717)
Grids are awesome.

So awesome in fact, that I created DesignGridLayout, a Java Swing layout manager. Jean Francois Poilpret has been the project owner for years and extended far beyond my original vision.

http://designgridlayout.java.net

It has a mostly "fluent API", so you just add components and it mostly figures out columns and spanning widths.

Re:Bootstrap 2.2.0 released by papsosouid on Wednesday October 31, 2012 @09:55AM (#4722794)
I didn't say grids were bad in general, I said they are bad in web design. The problem of tightly coupling content and presentation, and the hiding semantic meaning that goes with it, doesn't exist in a desktop GUI environment, or in a print ad or flyer, etc. Grids are perfectly fine in those uses.
Re:Bootstrap 2.2.0 released by jiggy2011 on Wednesday October 31, 2012 @11:22AM (#4723219)
I don't understand how you are mixing content with presentation by using a grid any more than any other method of design?

With bootstrap you mostly use CSS classes to dictate presentation so you can keep your HTML pretty clean.

If I wanted to make a website with perfect separation of content and presentation, how would I go about it?

Re:Bootstrap 2.2.0 released by papsosouid on Tuesday October 30, 2012 @02:33PM (#4718737)
Grids are fundamentally the exact opposite of good design. They are a cludge to make it easier to lay things out the way you want, but do so by tightly coupling content and presentation. I see it advocated too, but not by design gurus, by people who want to just have it work and don't care about doing things correctly or having reusable, modular components.
Re:Bootstrap 2.2.0 released by egonschiele on Tuesday October 30, 2012 @05:13PM (#4719664)
> Grids are fundamentally the exact opposite of good design.

As a former designer, I cannot overstress how stupid this sounds. It's the equivalent of a designer walking up to a bunch of programmers and saying "what's the big deal with functions?" Some things are opinion, and some things are just wrong. This is the latter.

Here's the longer response:

Grids are fundamental to good design. Have you ever wondered why some sites just look right? GRIDS. Ever noticed how many people try to emulate famous designs but never seem to get it quite right? What are they missing? GRIDS. If you start designing without a grid, guess what? You've already resigned yourself to mediocrity, even if you don't realize it. Here's an analogy: you are building a house, and you decide to "just wing it" with the foundation and fix it as required as you go along. You have already failed before you even started. The grid is the design equivalent of a home's foundation. Everything you design will build on top of that grid.

When you say things like

> I see it advocated too, but not by design gurus

there's really no coherent response you will get except NO. STUPID STUPID STUPID.

Edit: Here's what one of my designer friends responded with: "And it's always good to write a line of code (at least) twice, in case it isn't noticed the first time."

And no, I won't show you an example of a guru who advocates grids. Stay ignorant.

Re:Bootstrap 2.2.0 released by papsosouid on Tuesday October 30, 2012 @05:26PM (#4719743)
Show me a respected design authority who advocates grids then. "STUPID STUPID STUPID" is not an argument. The fact is, grids tie content to presentation, and are entirely unnecessary. The fact that you think grids is the reason some websites look right and others look wrong is astoundingly ignorant.
Re:Bootstrap 2.2.0 released by tptacek on Tuesday October 30, 2012 @08:42PM (#4720546)
Re:Bootstrap 2.2.0 released by egonschiele on Tuesday October 30, 2012 @08:59PM (#4720595)
> Purchasing my copy of grid Systems in Graphic Design, by Josef Muller-Brockmann, was the best money I've ever spent on a design text. I was a relatively seasoned designer with 6 years of pro-experience when I was fortunate enough to find a copy of this masterpiece. I was largely self-taught however, and while I knew from working in various layout programs about grids, I had no idea how powerfully they could be utilized. Within a weekend of reading and absorbing this book, my designs had improved substantially.

Sounds about right!

Re:Bootstrap 2.2.0 released by tptacek on Tuesday October 30, 2012 @09:00PM (#4720599)
Raster Systeme of course being one of the more famous graphic design books of the 20th century.
Re:Bootstrap 2.2.0 released by papsosouid on Wednesday October 31, 2012 @09:57AM (#4722800)
The fact that I recognize your name solely because you seem to constantly deliberately misrepresent what people say so you can respond with nonsense is rather depressing. That is graphic design, not web design. See how I pointed out that tightly coupling content and presentation is the problem with using grids for web design? Notice how that book never even touches on the subject? Web design is not just graphic design, it is a different medium, with different needs.
Re:Bootstrap 2.2.0 released by tptacek on Wednesday October 31, 2012 @05:04PM (#4724916)
You'd be a more compelling troll if you chose a different one of my comments to attach this to, since the comment you're replying to is literally just a link to a book.
Re:Bootstrap 2.2.0 released by pixeloution on Wednesday October 31, 2012 @08:58AM (#4722562)
Every university visual communications program (graphic design) teaches grids ... for a reason.

    * http://departments.risd.edu/registrar/web/1112cat.pdf (a number of classes focus on grid systems. this is one of the most respected design programs in the country)
    * http://graphicdesigntheory.net/Images/DT/Armstrong_GDTsyllabus.pdf
    * http://pacificgraphicdesign.wordpress.com/courses/graphic-design-ii-2/graphic-design-ii-syllabus/
Re:Bootstrap 2.2.0 released by papsosouid on Wednesday October 31, 2012 @09:58AM (#4722805)
See my response above. We are talking about web design, not graphic design.
Re:Bootstrap 2.2.0 released by jiggy2011 on Wednesday October 31, 2012 @12:11PM (#4723528)
Why is web design so different here? We are still talking about content that is consumed with your eyes.
Re:Bootstrap 2.2.0 released by papsosouid on Wednesday October 31, 2012 @01:25PM (#4724017)
That is precisely how it is different. We're not talking about content that is just consumed with our eyes. It is consumed by computer programs also. And we need to convey information in a way that those programs can understand. Hiding semantic meaning in classes is bad, as is pushing presentation information into markup. A screen reader has no way to understand that a div with a class of "errormsg" is anything at all. It is just a generic meaningless item. A screen reader can understand that a paragraph tag with a role of "alert" has a specific defined meaning, this is text content indicating an error or warning message. Just as a div with a class of "navbar-fixed-top" is completely meaningless, and a nav tag conveys the specific meaning of "this is a container holding navigation items".
Re:Bootstrap 2.2.0 released by jiggy2011 on Wednesday October 31, 2012 @02:57PM (#4724471)
I'm not sure how using a grid system or something like bootstrap is "pushing presentation into markup".

Regardless of whether you use bootstrap or not you are always going to be specifying CSS classes which describe the presentation of elements, not sure how else it can be done?

Screen reader software will generally ignore anything that it doesn't understand or deem irrelevant.

Whenever I have tried screen readers they will say "ok, there's 3 divs with content here. Let's read them out one at a time or just read the headings and wait for the user to select one". How they are arranged in a grid will be irrelevant to the software.

Does bootstrap present some particular problem for screen readers?

You are yet to explain what you think best practices should be here.

Re:Bootstrap 2.2.0 released by papsosouid on Wednesday October 31, 2012 @03:17PM (#4724554)
>Regardless of whether you use bootstrap or not you are always going to be specifying CSS classes which describe the presentation of elements, not sure how else it can be done?

http://coding.smashingmagazine.com/2012/06/19/classes-where-...

>Screen reader software will generally ignore anything that it doesn't understand or deem irrelevant.

Yes, that's the problem. Putting useful information in places where software has no way to understand it.

>Whenever I have tried screen readers they will say "ok, there's 3 divs with content here. Let's read them out one at a time or just read the headings and wait for the user to select one".

And if you had the appropriate tag instead of a meaningless div, it would know what to do. That's the point. Google for semantic html.

Re:Bootstrap 2.2.0 released by jiggy2011 on Wednesday October 31, 2012 @03:51PM (#4724681)
> Yes, that's the problem. Putting useful information in places where software has no way to understand it.

You aren't putting "useful information" in the classes, you are putting presentation related information in there, if you are displaying the content non-visually it is irrelevant and can be safely ignored.

Writing semantic HTML is nice for bots and browsers, but there is nothing stopping you from doing this whilst using bootstrap or whatever. Another thing to consider is that bootstrap aims for backwards compatibility so you are going to be restricted by tags that can be supported by old versions of IE etc.

Even if you could write perfect semantic HTML I don't see how that would make it bad practice to organise your pages using grids?

Re:Bootstrap 2.2.0 released by papsosouid on Wednesday October 31, 2012 @04:54PM (#4724883)
>You aren't putting "useful information" in the classes, you are putting presentation related information in there, if you are displaying the content non-visually it is irrelevant and can be safely ignored.

"This is navigation" is not just presentation, it is real, meaningful information.

>Writing semantic HTML is nice for bots and browsers, but there is nothing stopping you from doing this whilst using bootstrap or whatever

The contortions it would take to make bootstrap work with proper markup would consume far more time than simply writing correct CSS to begin with.

Re:Bootstrap 2.2.0 released by jiggy2011 on Wednesday October 31, 2012 @05:25PM (#4724974)
Navigation is not something that is done via CSS. You provide navigation information inside the HTML itself, via <a href="/whatever.html">Link Title</a>.

Here is one of the sample bootstrap pages: http://twitter.github.com/bootstrap/examples/hero.html

If you disable CSS in your browser you can still view the page and it is still perfectly functional and should work fine with a decent screenreader.

I'm hugely confused by what you mean by "proper markup", bootstrap does not do markup itself, you create the markup and apply bootstrap's CSS classes to make it look a certain way.

Could you provide a link to a page that you would use as an example of how it should be "done right"?

Re:Bootstrap 2.2.0 released by papsosouid on Wednesday October 31, 2012 @05:27PM (#4724979)
Go back and read the posts you've replied to, I gave an example that was exactly this case: navigation.
Re:Bootstrap 2.2.0 released by jiggy2011 on Wednesday October 31, 2012 @05:31PM (#4724988)
I'm really confused, Navigation is a case of what, and what does that have to do with bootstrap or grid based layout?
Re:Bootstrap 2.2.0 released by papsosouid on Thursday November 01, 2012 @09:43AM (#4727410)
>Go back and read the posts you've replied to
Re:Bootstrap 2.2.0 released by chc on Thursday November 01, 2012 @05:46PM (#4729902)
It is really unclear what you're talking about. You seem to be suggesting that designing to a grid means somehow disguising your navigational menus, but that is just flagrantly untrue, so jiggy is trying to inquire as to what you actually mean. Rereading your comments will not clarify it, because your comments are either unclear (if you do not mean that grids = disguised nav menus) or very poorly substantiated (if you do mean to say that grids = disguised nav menus).
Re:Bootstrap 2.2.0 released by chc on Wednesday October 31, 2012 @05:58PM (#4725128)
Jeffrey Zeldman? Andy Clarke? Are they not respected enough?
Re:Bootstrap 2.2.0 released by fatbird on Tuesday October 30, 2012 @02:49PM (#4718826)
Grids are fundamentally the exact opposite of good design.

From a software perspective, perhaps. From an aesthetic design perspective, grids are a common tool used widely outside of web based design.

by tightly coupling content and presentation.

CSS has always been a hack that disallows completely or properly separating content and presentation, except in toy cases. Thus, frameworks like Bootstrap.

Re:Bootstrap 2.2.0 released by papsosouid on Tuesday October 30, 2012 @02:59PM (#4718888)
>From an aesthetic design perspective, grids are a common tool used widely outside of web based design.

Yes, we're not in 1996 anymore. We're beyond the "lets pretend the web is print" phase finally. That means separation of content and presentation matters.

>CSS has always been a hack that disallows completely or properly separating content and presentation

What? People (deliberately?) not understanding how to use CSS correctly certainly caused problems like that. And I'm certainly open to blaming much of that on the design of CSS. But it by no means disallowed it separating content and presentation, that is the entire point of it. Stop littering your markup with classes and you can get the benefits of that separation.

Re:Bootstrap 2.2.0 released by pacomerh on Tuesday October 30, 2012 @11:10PM (#4720972)
Well, if you actually toke the time to read the docs, you would see the value it has. It has personally saved me many hours of development, and I am a back-end + front-end developer too. Don't just start shooting assumptions about the community that surrounds it without reading the help first. And, no, it doesn't just say "because it's for nerds", it says a whole lot more things, but if you wanted to read them you could, you just don't want to. Seems like you just wanted to vent that comment out of your system :). Come on corpy backend guys, dont hate on new frameworks, if you don't like them just let pass through.
Re:Bootstrap 2.2.0 released by papsosouid on Wednesday October 31, 2012 @10:01AM (#4722824)
I said nothing about any community. And yes it does just say "because it is for nerds". Go to the website, the front page has a "Need reasons to love Bootstrap? Look no further.", which is exactly what I was looking for. Except the answers are total non-answers that don't explain it at all, it literally says "cause nerds".
Re:Bootstrap 2.2.0 released by InclinedPlane on Wednesday October 31, 2012 @03:00AM (#4721565)
It's a framework, it simplifies development because you don't have to worry about building up all the little components to improve the look and feel. Instead, you use a design framework like bootstrap so you can quickly bang out an interactive site that looks ok but maybe not great but is still highly functional.

It's a way to build a website in a short amount of time without being held-back by the frankly horrendous design and layout choices that come when you use simplistic html.

P.S. No, you are not expressing "confusion", you are using "confusion" as cover for derision.

Re:Bootstrap 2.2.0 released by wilfra on Tuesday October 30, 2012 @01:04PM (#4718278)
http://twitter.github.com/bootstrap/components.html

Have a look at that. If you want to quickly and easily add these kinds of elements to your site, bootstrap is amazing. All you do is use the proper class names and bam you got buttons, tooltips, alerts, progress bars etc etc etc.

If making those things is second nature to you then you probably don't need it - but for devs who are better at backend and lost when it comes to frontend/design, it can be a huge time (and money) saver.

Re:Bootstrap 2.2.0 released by papsosouid on Tuesday October 30, 2012 @01:49PM (#4718495)
>but for devs who are better at backend and lost when it comes to frontend/design, it can be a huge time (and money) saver.

This is a large part of why I am/was so confused about the purpose of these things. That describes me exactly, and everyone keeps saying I am exactly who bootstrap and friends are made for. Yet I see no purpose or value to it at all. I guess the answer really is "if you don't want to or can't design your site, just use twitters design". It was just hard to believe that's really all there is to it given how much attention is paid to something so trivial.

Re:Bootstrap 2.2.0 released by account_taken on Tuesday October 30, 2012 @02:09PM (#4718600)
"no purpose or value to it", really?

For those who want to get a site up with good defaults, typography, and widgets, Bootstrap is a huge timesaver. If you have a better framework for those of us who "can't design" then point us in the right direction.

Re:Bootstrap 2.2.0 released by papsosouid on Tuesday October 30, 2012 @02:29PM (#4718721)
As I said:

>I guess the answer really is "if you don't want to or can't design your site, just use twitters design"

That is what you are describing, so go right ahead and use boostrap. I was just trying to figure out if there was something more to it, given that it calls itself a "framework" and minor releases of it get posted here for some reason. Those things made me think perhaps I was missing something, and it wasn't just "here's a copy of our design you can use".

Re:Bootstrap 2.2.0 released by numbsafari on Wednesday October 31, 2012 @01:13AM (#4721333)
I think that answers your question to "how is this a framework" and "what is the value in this?"

For many startups who want to get a site up quickly and have it look good and work well on a large number of sites, using something like bootstrap as the basis for their site design is a huge win.

In your previous posts you keep mentioning "designers", plural. What if started your own firm and didn't have money for "designers", plural, but wanted a site that looked good? Code all that CSS bugger yourself and test it across all those browser versions and different display sizes? Or would you maybe look for a solid, easily customized solution that is built around design and coding best practices and that is tested by an active community?

Do you code your own OS kernel and device drivers as well?

What's a good value for the ratio between your base font size and the lineheight you use? Hmm? A decent approximation is already used in the LESS code for bootstrap.

How do you implement a clean grid system that works across browsers and resolutions? How many grid implementations have you tested? Implemented? How reliable are they? How well do they work?

Are you hand coding your CSS? Bootstrap is probably what helped most of the people on HN realize the value of CSS preprocessors such as LESS.

Instead of spending a load of time optimizing common UI experiences across lots of browsers, or hiring a consulting designer who will probably reuse the code he's already written and charge you a chunk of change, you can instead use bootstrap. And when there is a point release you will find that they often included lots of little optimizations that make the overall CSS work better and across more browsers.

Frameworks provide templates and take care of the boilerplate for you. Bootstrap isn't any different from any other framework in that regard.

Re:Bootstrap 2.2.0 released by papsosouid on Wednesday October 31, 2012 @10:24AM (#4722923)
>In your previous posts you keep mentioning "designers", plural

Yeah, one at a time. I've been doing it for 16 years, I have worked with dozens of designers over that time. I don't have some sort of stable of dozens of designers to choose from or anything.

>Or would you maybe look for a solid, easily customized solution that is built around design and coding best practices and that is tested by an active community?

Bootstrap is not built around best practices at all, it actively forces you into anti-patterns that best practice is to avoid.

>Do you code your own OS kernel and device drivers as well?

If I were being paid to develop an OS, I certainly would.

>How do you implement a clean grid system that works across browsers and resolutions?

I don't. Grids are entirely unnecessary, and are bad web design. All my sites work fine across browsers, across devices, across resolutions and DPIs, with javascript disabled/unsupported, in screen readers, etc. Note that I've never seen a boostrap site that accomplishes that. Most break on trivial, obvious stuff.

>Are you hand coding your CSS?

Our SCSS, yes.

>or hiring a consulting designer who will probably reuse the code he's already written

Bingo! Where are all these people coming from that haven't already solved this problem a decade ago?

>you can instead use bootstrap

This is all that anyone needed to say. Everyone insisted on trying to fight about this, instead of simply giving me an honest answer: "its just a default design you can use in case you didn't already have one". Given that the answer is so simple, it is amazing how many people just wanted to fight about bootstrap for no reason.

Re:Bootstrap 2.2.0 released by numbsafari on Wednesday October 31, 2012 @05:08PM (#4724929)
> Given that the answer is so simple, it is amazing how many people just wanted to fight about bootstrap for no reason.

You may want to review your original posting and the follow ups that mention your tone.

You say that Grids are unnecessary and bad web design. Given that that is pretty much the opposite of what most practicing graphic designers think is the case, I think it'd be helpful if you could follow up with a few links, articles, examples or data points to back up what you are saying.

I'm curious. Educate me.

Re:Bootstrap 2.2.0 released by papsosouid on Wednesday October 31, 2012 @05:16PM (#4724951)
>Given that that is pretty much the opposite of what most practicing graphic designers think is the case

Sorry, I assumed HN of all places wasn't stuck in 1996. What do graphic designers have to do with anything? We're talking about web design. What web design experts think is relevant. What is good for laying out a newspaper or magazine is not necessarily what is best for delivering web content.

Re:Bootstrap 2.2.0 released by numbsafari on Thursday November 01, 2012 @12:23AM (#4726179)
So, please, provide some examples. It's much more productive.
Re:Bootstrap 2.2.0 released by amitvaria on Tuesday October 30, 2012 @05:50PM (#4719867)
So another way to look at it is having re-usable components that you can choose to include/exclude as needed. Then use LESS to customize, tweak, extend those components as needed to create the custom design you need. https://wrapbootstrap.com/ has some examples of work done in this area.
Re:Bootstrap 2.2.0 released by egeozcan on Tuesday October 30, 2012 @02:09PM (#4718602)
You can customize it, there are even generators. It gives you a cross-browser grid and a lot of goodies. It is maintained and tested across nearly every device. A huge help, if you ask me.
Re:Bootstrap 2.2.0 released by aantix on Tuesday October 30, 2012 @07:37PM (#4720340)
>something so trivial. Getting the layout, typography and stylized components working correctly across all browsers is a tedious, tedious task.

Delegating to a framework that has an implementation that has resolved these browser idiosyncrasies is a huge win.

Re:Bootstrap 2.2.0 released by wilfra on Tuesday October 30, 2012 @02:17PM (#4718655)
"Yet I see no purpose or value to it at all"

Did you visit that link? If you don't see the "purpose or value" in having all of that functionality instantly just by adding CSS classes, I don't know what to tell you.

Another huge perk is the responsive design. Bootstrap looks great on any device out of the box.

Re:Bootstrap 2.2.0 released by papsosouid on Tuesday October 30, 2012 @02:27PM (#4718712)
Yes, I visited the link. And I saw twitters web design. Like I said. I already get styles by adding classes, or even better, without having to spam up my markup with pointless classes. That is how CSS works. You seem to be suggesting that my choices are use twitter's CSS, or don't use CSS at all. The benefit you describe comes from CSS, not bootstrap. Responsive design is the norm, not a "huge perk" of boostrap.

Basically, if I were to use bootstrap the process appears to be the following:

1. Destroy my templates by filling them with tons of garbage containers and pointless class attributes. 2. Our mockups now look like twitter. 3. The actual design gets done, and we have to go back and remove all crap we had to put in for boostrap to begin with.

Which part of that is supposed to appeal to me? Or is the intent to actually ship sites to customers looking like twitter and having horrible markup?

Re:Bootstrap 2.2.0 released by wilfra on Tuesday October 30, 2012 @03:15PM (#4718988)
I'm not sure why you keep saying 'looks like Twitter'. Bootstrap was originally created by Twitter, it wasn't created to make every site look like Twitter - nor does it do that.

As for your other comments, you seem to have a far greater knowledge and skill level dealing with CSS than you let on. That's great for you, it must make doing frontend work a breeze - and maybe you don't need Bootstrap. Not everybody is so experienced though - and for them, Bootstrap can make life much simpler.

Re:Bootstrap 2.2.0 released by papsosouid on Tuesday October 30, 2012 @03:21PM (#4719015)
"Looks like twitter" is just shorter than "looks like every bootstrap website on the internet". My CSS knowledge and skill is very low, I'd rate myself a 2 or a 3 out of 10. I tend to leave the design work to the designers whenever I can. I certainly agree that a default stylesheet is quick and easy, I just didn't realize that's all boostrap is. Now I know the answer to the question everyone keeps asking me ("why aren't you using bootstrap") is "because I already have a default stylesheet". Previously my answer was "I don't know what I am supposed to do with it or why".
Re:Bootstrap 2.2.0 released by mixmastamyk on Tuesday October 30, 2012 @07:06PM (#4720200)
I've read your diatribe here and am underwhelmed. However, I was underwhelmed when investigating bootstrap too.

Separation of content and presentation sounds good, but a concrete example would be much more convincing. (I do understand the general idea, so pls don't explain it.) I think what I am hearing is that css styles should be applied to tags rather than classes, but am not sure.

I suppose your time would be better spent building a prototype of what you mean instead of wasting it here. One link is worth a thousand words. Do it right, put it on github, give it five years, and people will be laughing at bootstrap sites, while you are racking up consulting fees.

Re:Bootstrap 2.2.0 released by papsosouid on Wednesday October 31, 2012 @10:03AM (#4722834)
>I think what I am hearing is that css styles should be applied to tags rather than classes, but am not sure.

As much as possible, yes. Here's a good example of what I mean, although he makes the mistake of taking it to the other extreme ("you should never use a class for anything ever!"):

http://coding.smashingmagazine.com/2012/06/19/classes-where-...

>Do it right, put it on github, give it five years, and people will be laughing at bootstrap sites, while you are racking up consulting fees.

That seems like a rather unfounded assumption. There's already several other CSS "frameworks" that are better than boostrap. What is popular and what is good are seldom strongly correlated.

Re:Bootstrap 2.2.0 released by mixmastamyk on Thursday November 01, 2012 @01:36PM (#4728692)
Read the link and liked it. Now what? What are these better CSS frameworks?