Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

HTML5 Boilerplate and Twitter Bootstrap

I have read various questions answered on Stack about Twitter Bootstrap and HTML5 Boilerplate.

I do know the following:

  • Bootstrap and H5BP are not equivalent and are used for different purposes
  • I know what Bootstrap is used for, I use it every day - it is a front-end framework, CSS and JS ready-to-use. Just apply the right classes to your selectors/elements and Bootstrap does everything for you. They have extensive support documentation on their website where you can see what they have to offer inside the framework and how to implement it...
  • You can combine the powers of the two by using initializr
  • H5BP is a template...um that's about it...

But what I don't know yet, is the following:

  • What the heck is H5BP used for? When visiting their website they only give you the source files and that's it(oh yes, and a video). What are the benefits of using it and why would you want to use it alongside Bootstrap for example?
like image 295
DextrousDave Avatar asked Mar 16 '13 18:03

DextrousDave


People also ask

Is Bootstrap a boilerplate?

Boilerplate is more server-side oriented – a good starting template if you work with server-side technologies such as PHP. Bootstrap is a client-side solution – a complete toolkit for building client-side web sites. Boilerplate is only a starting code base and you can add whatever components you need later on.

Does twitter use Bootstrap?

At Twitter, Bootstrap has quickly become one of our many go-to front-end tools when starting new applications and sites.

What is Twitter, Bootstrap and why would a developer use it?

Twitter Bootstrap was originally named as Twitter Blueprint before it was released as an open-source project on GitHub on August 19th, 2011. Bootstrap was created as an internal tool with the aim of eliminating inconsistencies among developers using different tools.

What does Twitter, Bootstrap do?

Twitter Bootstrap is a front end framework to develop web apps and sites fast. In modern web development, there are several components which are required in almost all web projects. Bootstrap provides you with all those basic modules - Grid, Typography, Tables, Forms, Buttons, and Responsiveness.


1 Answers

You're exactly right, it is a template. It's a template which brings together a set of best practices for developing HTML5 websites. You don't have to use it but if you do you can rest assured that you are building on a solid foundation which has been developed and honed by top developers over the years. In the words of Paul Irish, one of the principle developers of the project:

“It’s essentially a good starting template of html and css and a folder structure that works., but baked into it is years of best practices from front-end development professionals.”

I would suggest downloading the fully commented version of the boilerplate and reading through the code to give yourself an idea of the thought which has gone into it and the cases it handles. (See also this article which highlights code snippets from the boilerplate which you should be using on your site). These should help you decide whether you want to use it as a starting point for your project or not.

The HTML5bp initializr even includes a bootstrap option, so it couldn't really be any easier!

like image 79
net.uk.sweet Avatar answered Sep 21 '22 15:09

net.uk.sweet