Skip to main content

Reasons to use Twitter Bootstrap

Twitter Bootstrap has been the go-to front-end development framework for a while now. Code monkeys can now whip up some quick templates for a website or app in a matter of days, without having to worry about getting involved in interface or app design. It provides a faster, easier, and less repetitive solution to presentation, which will no doubt appeal to any seasoned web/app developer.
Although from your average web designer’s perspective, Twitter Bootstrap can be seen as big, inflexible and difficult to maintain, Twitter Bootstrap does have some amazing built-in features, namely:
  • A fluid grid layout
  • Responsive design
  • Custom form elements
  • Typography
  • JavaScript interaction
  • Cross-browser compatibility
These are all cool features that have been very time consuming in the past. It seems awesome right? Well it is… and it isn’t… In this series on Twitter Bootstrap, we’ll look at it from all sides, discussing the positives, the negatives and whether you should use it for your next big web project.
Firstly, let’s have a look at some of the big positives and the many situations where Bootstrap really shines. It may not be the best tool for every job, but here are some strong arguments for why you should definitely add it to your toolkit, if you haven’t already.

1. Bootstrap development is FAST

If you need to push out a new site or app in a matter weeks and have a shoestring design budget, Bootstrap is perfectYou can grab one of the great templates available, make a few style changes, throw in some images, pop on a bit of snazzy interactivity and you’re away! In the past, fast and easy has been synonymous with bad practice, and while there are a few issues, Bootstrap has been built from the ground-up by some of the smartest, geekiest geeks on the planet. Cross-browser and device compatibility have been taken into account, which will cut down your debugging time phenomenally.

2. It’s platform agnostic

Remember: while it might seem like magic, it’s just CSS and JavaScript. You don’t have to learn anything new, just plug it into the head of the document and all of it’s magnificent power will suddenly become available. Just in case things weren’t easy enough, you can get a Compass version of Bootstrap if you prefer SASS to LESS, there are Bootstrap packages like this one for .NET and, of course, a WordPress plugin.

3. You can just pop magical classes onto any HTML element and make it do fancy stuff!

Now I know what you’re thinking… ‘Hey isn’t that going to make my HTML horribly unsemantic?!‘. Well maybe it doesn’t follow best practices, but it is easy and fast. If time is of the essence, or the site is a one-off promo or landing page, Bootstrappin’ is a no-brainer. If you are worried about non-semantic markup but are still eager to use Bootstrap for a big project, you may find you have to dig into the Bootstrap source code.

4. It’s responsive from the get-go!

By using the fluid grid layout, designing for responsive websites is a walk in the park. Everything just works! Enjoy the true power of the grid, watch as your columns respond fluidly at every important view-port width. Bootstrap makes mobile-first development even easier as you don’t need to go altering your mark-up with every new screen width that you are designing for.

5. It’s fully customisable

Choosing the features you want to include is super-easy! The customizer gives you complete control over which bits you wish to use, so you can streamline the framework to suit your needs. And if that isn’t enough control, you can grab the source code and optimize it even further.

The popularity of Twitter has helped it cross over from the realm of user-managed social networking to a place where developers sink their teeth into heavy duty code and make the world spin as a result. The Bootstrap framework is the latest innovation to hit the design and development arena, making the creation of websites and apps easier, faster and better in general. If you’re not using Twitter Bootstrap yet, it’s time you took a look. Bootstrap is like a candy store for developers full of a multitude of tools.
So why should you use Bootstrap?

11 Reasons to Use Twitter Bootstrap


1. Save Time

With Bootstrap, the first thing you do is cash in on a lot of time. The Bootstrap libraries offer readymade pieces of code that can pump life into a website. A web developer doesn’t have to spend time laboriously working out and writing code, but simply find the right piece and fit it into the structure they’re working on. In addition to this, a lot of the styling and design aspects are already taken care of, since the CSS is built with LESS.

2. Customizable

A great aspect of Bootstrap is that you can make it your own. You can sit down and rummage through the whole framework and keep what you need and ditch what you don’t. The whole point of Bootstrap is that it lets you factor in your own needs and tailor your development project accordingly. This is the main reason many developers feel some tools are completely useless on the Bootstrap while others revere the same.

3. Factor in the Design

The Grid Speaks

Creating page layouts requires a decent grid. Using the platform’s grid isn’t mandatory, but it does make your job a whole lot easier. On default mode the platform provides a 16 column grid which is 940px wide. A single column holds 40px with an additional 20px acting as the gutter. Rows and spans can be manipulated as needed. Styling is completed in auto mode and a developer can get the job done just by dropping content into the HTML they’re working with. Additionally, if you need to work through columns and nesting, then you’ve got the right grid to get the job done.

LESS is more

LESS has in reality gone ballistic within development circles. With its additions to the Bootstrap platform, you can use LESS mixins and CSS manipulations to customize the built-in grid. The fact that changes are automatically updated after each variable shift doesn’t hurt either. Bootstrap takes some of the most popular CSS3 utilities and brings them to life as a homogenous reaction on all browsers.

JavaScript

Bootstrap comes equipped with JavaScript libraries that go above and beyond basic structural and styling. JavaScript often becomes an integral part of a web design and developers have to pull in all elements together to see the final form flourish. With Bootstrap, a developer can easily manipulate modal windows alerts, tooltips, Scrollspy, Popover, Button, Typehead, etc. The best part, however, is that Bootstrap enables you to skip writing the script altogether.

4. Consistency

One of the main reasons this toolset was developed was because Twitter was seeing big inconsistencies between developers working on their projects. This caused some issues both on the development front and the end-user front. Since it works with a central set of development code, Bootstrap’s results are uniform across platforms. You’ll see the same thing on Internet Explorer, Chrome and Firefox.

5. Updates

Take JQuery UI as an example here: updates get to users twice a year. Bootstrap, on the other hand, is ever-evolving with updates coming out on a much more regular and constant basis. As soon as web developers find a problem, the Bootstrap team starts looking to fix it.

6. Integration

If you’re working on a site which is already live, but still trying to iron out the creases then Bootstrap can help. For instance, if you use table styling, all you need to do is take the styles you need and copy them to the CSS file you’re working with. Bootstrap will immediately kick in with its own style and all you need to do from there is link up the file you are working with or hotlink to Twitter (more or less). Integration is simple, fast and easy to accomplish and once you’re done you can play with your design to your heart’s content.

7. Responsiveness

Bootstrap is responsive. If you shift from a laptop to an iPad and from an iPad to a Mac you won’t have to fret over your work. Bootstrap adapts to the change in platforms with super speed and efficiency.

8. Future Compatibility

Bootstrap comes equipped with many elements that are being considered the future of design itself. For instance both HTML5 and CSS3 are things that are going to be big in the future. Since the framework takes into account the future of design and development, it has the potential to become a yardstick for web developers in the years to come.

9. Competitiveness

Bootstrap isn’t the only one of its kind. It has been pitted against JQuery UI and the HTML5 Boilerplate, but a more realistic competitor is the Zurb Foundation. Bootstrap 2 has a toolset that the Foundation will have a tough time matching up to.  Third party plugins, themes, a plethora of features, codes, etc. are already up for grabs with Bootstrap – which isn’t true for the Foundation at this point. Some of you might feel that Bootstrap has a bloated feel (which the Foundation doesn’t) but that can be easily done away with through the custom Bootstrap download builder.

10. The Docs Talk!

Bootstrap’s documentation is impressive. The case with most newer platforms is that they don’t have proper documentation, but Bootstrap gives you a head start because you don’t have to play with everything to learn and instead can find information on just about anything through the documentation.

11. For the Bosses

You don’t need to spend a lot of time learning to use Bootstrap as it has taken all modular approaches and good architecture and pulled them together. From the perspective of an employer, if you give a web developer the Bootstrap framework then they won’t need to spend as much time learning, as compared to HTML and CSS. Bootstrap allows for immediate quality work, which makes it great for facilitating efficient, outcome-oriented design communication.

Conclusion

After reading all this, if you think Bootstrap can help you up your game as a web developer then check out the platform here: twitter.github.com/bootstrap/. You can either download a compiled version or get the Bootstrap source which has original CSS and JavaScript docs.
Be aware that you do need a working knowledge of web development concepts like HTML and CSS to get the ball rolling. The documentation that comes with the platform can help walk you through the different tools and components you’ll be working with, for example Base CSS, Scaffolding, JS plugins, etc. If there’s any other information that you’re looking for, head over to Bootstrap docs.
So, will you be taking a ride on the Bootstrap train? If you’ve used the platform, what has been your experience?
And if you enjoyed reading this post, you’ll love Learnable; the place to learn fresh skills and techniques from the masters. Members get instant access to all of SitePoint’s ebooks and interactive online courses, like An Introduction to Bootstrap.

Comments

Popular posts from this blog

ASP.NET e-Commerce website GridView with Product Listing

Introduction : E-Commerce web applications are everywhere these days, and many share a common set of functionality. In this article, I will show how to use the GridView and ListView controls to build a powerful product page with many of the features found on today's e-commerce sites. We'll build a bicycle store product grid using some free clip art bicycle images. The example files are user controls which can be easily added to a page. We're only using three images here to keep the size of the sample application small. In previously I was explained about  Sending Email from Asp.net With Dynamic Content  ,  How To Export gridview data to Excel/PDF , CSV Formates in asp.net C#  , How to print Specific Area in asp.net web page How To- Search records or data in gridview using jQuery  . A shopping cart application would require to display the products in a multi column grid, rather than a straight down list or a table. The each item in a product grid would have

How to hide url parameters in asp.net

There are different ways to Hide the URL in asp.net , you can choose any one from bellow options . Previously I was Explained about the  Difference between Convert.tostring and .tostring() method Example  ,   Reasons to use Twitter Bootstrap , How to Register AJAX toolkit in web.config file in asp.net a) Using Post Method b) Using Of Session . c) URL Encoding & decoding process . d) Using Server.Transfer() instead of Response.Redirect() method (1)Use a form and POST the information. This might require additional code in source pages, but should not require logic changes in the target pages (merely change Request.QueryString to Request.Form). While POST is not impossible to muck with, it's certainly less appealing than playing with QueryString parameters. (2)Use session variables to carry information from page to page. This is likely a more substantial effort compared to (1), because you will need to take session variable checking into account (e.g. the

Asp.Net AjaxFileUpload Control With Drag Drop And Progress Bar

This Example explains how to use AjaxFileUpload Control With Drag Drop And Progress Bar Functionality In Asp.Net 2.0 3.5 4.0 C# And VB.NET. Previous Post  I was Explained about the   jQuery - Allow Alphanumeric (Alphabets & Numbers) Characters in Textbox using JavaScript  ,  Fileupload show selected file in label when file selected  ,  Check for file size with JavaScript before uploading  . May 2012 release of AjaxControlToolkit includes a new AjaxFileUpload Control  which supports Multiple File Upload, Progress Bar and Drag And Drop functionality. These new features are supported by Google Chrome version 16+, Firefox 8+ , Safari 5+ and Internet explorer 10 + , IE9 or earlier does not support this feature. To start with it, download and put latest AjaxControlToolkit.dll in Bin folder of application, Place ToolkitScriptManager  and AjaxFileUpload on the page. HTML SOURCE < asp:ToolkitScriptManager ID ="ToolkitScriptManager1" runat =&quo