5. SO WHAT’S THIS SESSION ABOUT?
1. What is Bootstrap
2. Learn the Power of Bootstrap
3. They all look the same
4. Customise Bootstrap
5. Boostrap Bloat
6. Q’s & A’s
Bootstrap - you’re
doing it wrong!WHAT ?
6. WHO ARE YOU?
MY QUESTIONS…
Bootstrap - you’re
doing it wrong!
7. “The most popular front-end
framework for developing
responsive, mobile first
projects on the web.”
Bootstrap - you’re
doing it wrong!WHAT IS BOOTSTRAP?
QUICK OVERVIEW
8. NO … it’s not!
Bootstrap - you’re
doing it wrong!WHAT IS BOOTSTRAP?
QUICK OVERVIEW
9. 1 x CSS file
2 x JavaScript file
…and some other helpful bits
Bootstrap - you’re
doing it wrong!WHAT IS BOOTSTRAP?
QUICK OVERVIEW
10. 1. Support - HUGE community
2. Cool functionality baked in
3. Saves you time & money
Bootstrap - you’re
doing it wrong!WHAT IS BOOTSTRAP?
QUICK OVERVIEW
11. “Some popular front-end
bits & pieces to help develop
responsive, mobile first
projects on the web…
Quickly & Easily”
Bootstrap - you’re
doing it wrong!WHAT IS BOOTSTRAP?
QUICK OVERVIEW
13. http://getbootstrap.com
1. Read the documentation
2. Learn the
… Grid System
… Responsive Utilities
3. You don’t have to use every
feature that Bootstrap provides.
4. Play, have fun & make money
Bootstrap - you’re
doing it wrong!POWER OF BOOTSTRAP
RTFM ;-)
14. “But, all Bootstrap websites
look the same”
“I can tell a Bootstrap site, just
by looking at it”
…REALLY?
Bootstrap - you’re
doing it wrong!ALL LOOK THE SAME
CLONES ARE COMING
34. Create your own override files
Load them after Bootstrap
1. custom.css
2. custom.js
Bootstrap - you’re
doing it wrong!CUSTOMISE BOOTSTRAP
LEAVE BOOTSTRAP ALONE!
38. Bootstrap is bloated.
Far too much CSS & JS.
Load times are crazy.
…this is for mobiles?!?!
Bootstrap - you’re
doing it wrong!BOOTSTRAP BLOAT
THE MAGIC - ROCKET SCIENCE?
40. Bootstrap - you’re
doing it wrong!BOOTSTRAP BLOAT
THE MAGIC - ROCKET SCIENCE?
That's massive reduction in bloat
from the CSS & JavaScript files
41. Bootstrap - you’re
doing it wrong!BOOTSTRAP BLOAT
THE MAGIC - ROCKET SCIENCE?
Wait!
There’s something else
42. Bootstrap - you’re
doing it wrong!BOOTSTRAP BLOAT
THE MAGIC - ROCKET SCIENCE?
Dust Me Down
https://addons.mozilla.org/en-
US/firefox/addon/dust-me-selectors
43. Bootstrap - you’re
doing it wrong!BOOTSTRAP BLOAT
THE MAGIC - ROCKET SCIENCE?
www.telegraph.co.uk
47. Bootstrap - you’re
doing it wrong!
1. Distribute the load
2. Save bandwidth
3. Boost performance
4. Reduce hosting costs
We do it with YouTube
…Right?
BOOTSTRAP BLOAT
THE MAGIC - ROCKET SCIENCE?
48. Bootstrap - you’re
doing it wrong!BOOTSTRAP BLOAT
THE MAGIC - ROCKET SCIENCE?
Why, this site could be
systematic,
hydromatic,
ultramatic
Why, it could be greased lightning
49. Bootstrap - you’re
doing it wrong!BOOTSTRAP BLOAT
THE MAGIC - ROCKET SCIENCE?
<?php if ($loadJquery == 2) : ?>
<script src=“//code.jquery.com/jquery-1.11.1.min.js”></scr
<script src=“//code.jquery.com/jquery-migrate-1.2.1.min.js"
<?php endif; ?>
50. Bootstrap - you’re
doing it wrong!BOOTSTRAP BLOAT
THE MAGIC - ROCKET SCIENCE?
<?php if ($loadBootstrap == 2) : ?>
<script src=“//netdna.bootstrapcdn.com/bootstrap/
3.1.1/css/bootstrap.min.css”></script>
<script src=“//netdna.bootstrapcdn.com/bootstrap/
3.1.1/js/bootstrap.min.js"></script>
<?php endif; ?>