Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Bootstrap Site Blueprints
Bootstrap Site Blueprints

Bootstrap Site Blueprints: Without Bootstrap your web designs may not be reaching their full potential. This book will change that through a series of hands-on projects covering everything from custom icon fonts to JavaScript plugins.

eBook
$19.99 $28.99
Paperback
$48.99
Subscription
Free Trial
Renews at $19.99p/m

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Table of content icon View table of contents Preview book icon Preview Book

Bootstrap Site Blueprints

Chapter 2. Bootstrappin' Your Portfolio

Let's imagine we're ready for a fresh design of our online portfolio. As always, time is scarce. We need to be efficient, but the portfolio has to look great. And of course, it has to be responsive. It should work across devices of various form factors, since this is a key selling point for our prospective clients. This project will enable us to leverage a number of Bootstrap's built-in features, even as we customize Bootstrap to suit our needs.

What we'll build


We've thrown together a couple of home page mock-ups. Though we have in mind what we want for large screens, we've begun with a handheld screen size to force ourselves to focus on the essentials.

You'll notice the following features:

  • A collapsed responsive navbar with logo

  • A sliding carousel with four images of featured portfolio items

  • A single-column layout with three blocks of content, each with a heading, short paragraph, and a nice big button with an invitation to read further

  • A footer with social media links

Here is the design mockup as shown in the following screenshot:

Altogether, this should provide a good introduction to our work. The carousel is tall enough to give a good amount of visual space to our portfolio images. It is not difficult to navigate quickly to the content below, where a user can efficiently scan key options for taking a next step inside. By presenting key links as nice big buttons, we will establish helpful visual hierarchy for the key action items,...

Surveying the exercise files


Let's survey the beginning files for this exercise, which you will find in the folder 02_Code_BEGIN. You'll see files similar to the template we set up in Chapter 1, Getting Started with Bootstrap.

There are a few new additions:

  • The less folder has a slightly modified organization scheme. We'll return to this later in the project. First, let's attend to the content elements.

  • The img folder now contains five images:

    • One logo image, named logo.png

    • Four portfolio item images

  • The index.html file has the following new touches:

    • Navbar items have been updated to reflect our new site architecture

    • We also have the essential markup in place for the images, content blocks, a logo in the footer, and social links

Other than the navbar, which we set up in Chapter 1, Getting Started with Bootstrap, no Bootstrap classes have been added to style the carousel, columns, or icons yet. You can view the results in your browser.

You'll see the navbar, followed by the portfolio images:

The blocks...

Marking up the carousel


Let's get started with our carousel, which will rotate between four featured images from our portfolio.

Bootstrap's carousel markup structure can be found in its documentation pages at the following URL:

http://getbootstrap.com/javascript/#carousel

Following the pattern used in the example, we'll begin with this structure to set up the fundamental element. This will contain all parts of the carousel, followed by the progress indicators:

<div id="homepage-feature" class="carousel slide">
  <ol class="carousel-indicators">
    <li data-target="#homepage-feature" data-slide-to="0" class="active"></li>
    <li data-target="#homepage-feature" data-slide-to="1"></li>
    <li data-target="#homepage-feature" data-slide-to="2"></li>
    <li data-target="#homepage-feature" data-slide-to="3"></li>
  </ol>

Note that I've used a div tag with an ID (id="homepage-feature") to establish the fundamental context of carousel...

Creating responsive columns


We have three blocks of text, each with a heading, a short paragraph, and a link. In screen sizes of approximately tablet width or more, we would like this content to be laid out in three columns. In narrower screen widths, the content will organize itself in one full-width column.

Take a moment to visit and read the documentation for Bootstrap's mobile-first responsive grid. You can find it at http://getbootstrap.com/css/#grid.

In short, the grid is based on a twelve-column system. The basic class structure allows us to use a class of col-12 for full-width, col-6 for half-width, col-4 for one-third width, and so on.

With Bootstrap 3, thanks to the creative use of media queries, Bootstrap's grid can be very adept. Recall that we want our welcome message to have a single-column layout up to tablet-sized screens, and then adapt a three-column layout at approximately 768px. Conveniently, Bootstrap has a built-in breakpoint at 768px, which is the default value of its...

Turning links into buttons


Turning our key content links into visually effective buttons is straightforward. The key classes we'll employ are as follows:

  • The btn class will style a link as a button

  • The btn-primary class will assign a button the color of our primary brand color

  • The pull-right class will float the link to the right, moving it into wider space to make it a more appealing target

Add these classes to the link at the end of each of our three content blocks:

<p><a class="btn btn-primary pull-right" href="#">See our portfolio</a></p>

Save and refresh. You should see the following result:

We've made great progress. Our key elements are taking shape.

With our fundamental markup structure in place, we can start working on the finer details. Getting there will require some custom CSS. We're going to approach this by leveraging the power of Bootstrap's LESS files. If you're new to LESS, no worries! I'll walk you through it step by step.

Understanding the power of LESS


In the following sections, we will be organizing, editing, customizing, and creating LESS files in order to generate the desired CSS for our designs.

Note

If you are unfamiliar with LESS and would like to learn more about it, I would recommend the following resources:

In a nutshell, we may say that generating CSS using the LESS preprocessor is an exciting and freeing experience. The key benefits of working with LESS are discussed in the following sections.

Nested rules

Nested rules greatly enhance the efficiency of composing styles. For example, writing selectors in CSS can be highly repetitive:

.navbar-nav { ... }
.navbar-nav > li { ... }
.navbar-nav > li > a { ... }
.navbar-nav > li > a:hover,
.navbar-nav > li > a:focus { ... }

This same set of selectors and their styles...

Customizing Bootstrap's LESS according to our needs


As we work with Bootstrap's LESS files, we'll exert considerable control over them, including the following:

  • Organizing our less folder to give us flexibility and freedom to accomplish what we need, while making future maintenance easier

  • Customizing several LESS files provided by Bootstrap

  • Creating a few custom LESS files of our own

  • Incorporating a larger set of font-based icons in our site assets, doubling the number of available icons, and providing the icons that we need for our social media links

In other words, we'll be doing more than merely learning and applying Bootstrap's conventions. We'll be bending them to our will.

In this chapter's exercise files, open the less directory. Inside, you should see the following structure:

To prepare for what's ahead, I've given you a head start by adding a new layer of organization. All of Bootstrap's less files are now organized under the bootstrap subdirectory.

The file __main.less is a modified copy...

Adding the logo image


Find the logo.png file in the img folder. You may notice that its dimensions are large, 900px wide. In our final design, it will be only 120px wide. Because the pixels will be compressed into a smaller space, this is a relatively easy way to ensure that the image will look good in all devices, including retina displays. Meanwhile, the file size of the image, which has already been optimized for the Web, is only 19 KB.

So, let's put it in place and constrain its width.

  1. Open index.html in your editor.

  2. Search for this line within the navbar markup:

    <a class="navbar-brand" href="index.html">Bootstrappin'</a>
  3. Replace Bootstrappin' with this image tag, including its alt and width attributes.

    <img src="img/logo.png" alt="Bootstrappin'" width="120">

    Tip

    Be sure to include the width attribute, setting its width to 120px. Otherwise, it will appear very large on the page.

  4. Save index.html and refresh your browser. You should see the logo in place.

You may notice that the...

Adjusting nav item padding


Now, let's adjust our nav items so that the text of our links shares the same baseline as our logo.

In _navbar.less, find the selector .navbar-nav. It is the parent ul of our navbar items. Within this set of rules, you'll find nested media queries. (See the documentation on nested media queries at http://lesscss.org.) The relevant lines are given as follows:

// Uncollapse the nav
  @media (min-width: @grid-float-breakpoint) {
    float: left;
    margin: 0;
    > li {
      float: left;
      > a {
        padding-top: ((@navbar-height - @line-height-computed) / 2);
        padding-bottom: ((@navbar-height - @line-height-computed) / 2);
      }
    }
  }

The variable @grid-float-breakpoint specifies the point at which the navbar expands to its full width or collapses to create the mobile-app-style responsive navigation. (You'll find this variable defined in _variables.less.)

At present, the padding-top and padding-bottom values are calculated to keep the text...

Adding icons


It's time to add icons to our navigation. We'll begin by employing the Glyphicons that come with Bootstrap. Then, we'll shift to the larger library of icons offered by Font Awesome.

Note

Take a moment to review the relevant Bootstrap documentation at: http://getbootstrap.com/components/#glyphicons.

You'll see the set of icons available and the markup convention for using these in your HTML using span tags and glyphicon classes. We'll start by adding a home icon to our Home nav item:

  1. Add the Glyphicon Home icon to the Home nav item by placing a span tag with appropriate classes within the nav item link and before the text:

    <li class="active">
      <a href="index.html">
        <span class="glyphicon glyphicon-home"></span> Home
      </a>
    </li>

    Tip

    I've added a space after the span tag to provide a bit of space between the icon and the text Home.

  2. Save this and refresh your browser. If all goes well, you should see your icon appear!

  3. If your icon does not appear...

Adding Font Awesome icons


Font Awesome is a font icon set that offers 361 icons at the time of writing this book—twice as many as available in the current Bootstrap version of Glyphicons. Font Awesome icons are free, open source, and built to play nice with Bootstrap. You can see the Font Awesome home page at:

http://fortawesome.github.io/Font-Awesome/

Let's fold Font Awesome into our workflow.

  1. Navigate to the Font Awesome home page, at http://fortawesome.github.io/Font-Awesome/, and click on the large Download button.

  2. Extract the downloaded archive and look inside. You'll find the following folder structure:

  3. Inside the font folder, you'll find the Font Awesome icon font files.

  4. Copy all of these files and paste them into your project's fonts folder, alongside the Glyphicons font files.

  5. Now, we want to copy the Font Awesome less files to our project's less directory. Create a new subdirectory named font-awesome, and copy the Font Awesome less files into it.

  6. Next, we will import the font-awesome.less...

Adjusting the navbar icon color


You might note that the icons appear visually heavier than their adjacent text. The color is the same, but the icons carry greater visual weight. Let's adjust the icons to a lighter and less overpowering shade.

  1. Open _navbar.less in your editor.

  2. Search to find the selector .navbar-default. We have used this class in our navbar markup to apply default styles. You should find it under the commented section for // Alternate navbars.

  3. Within this nested set of rules, find the selector .navbar-nav and the > li > selector nested beneath it. This is where we want to adjust our icon colors.

  4. Under the statement defining nav item link colors, we'll nest a rule to make our icons a lighter shade, using our variable @gray-light, as follows:

    .navbar-nav {
      > li > a {
        color: @navbar-default-link-color;
    
        .icon { // added rule set
          color: @gray-light;
        }

    Tip

    The generic class icon proves to be a handy way to select all of our icons.

    Note

    I've begun adding...

Adjusting the responsive navbar breakpoint


Our navbar, with the logo image, larger nav items, and icons, has grown in width. And a problem for our responsive design has arisen. Try resizing your browser window from wide to narrow (approx 480px) and back again, and chances are you'll see the navbar bump down under the logo at some point in the mid-range.

What's happened? The navbar has grown too wide for the container when our viewport is between 768px to 991px. This falls between the Bootstrap variables @screen-sm-min and @screen-md-min.

The @grid-float-breakpoint sets the point at which the navbar collapses. You'll find this variable in _variables.less, under the // Grid system section.

// Point at which the navbar stops collapsing
@grid-float-breakpoint:     @screen-sm-min;

We need to adjust this breakpoint so that the navbar stays collapsed until the next breakpoint: @screen-md-min. Update the variable accordingly:

@grid-float-breakpoint:     @screen-md-min; // edited

Save, compile, and refresh...

Styling the carousel


We're going to take Bootstrap's default carousel styles and apply some significant customization. Let's create a copy of Bootstrap's carousel.less file and make it our own.

  1. Copy bootstrap/carousel.less and save it in the less directory as _carousel.less.

    .

  2. Update the relevant import line in __main.less to import our custom file in place of Bootstrap's:

    @import "_carousel.less";
  3. Customize the opening comment in _feature-carousel.less:

    //
    // Customized Carousel
    // --------------------------------------------------

Now to begin customizing!

Setting Font Awesome icons for the controls

If you unhooked Glyphicons as I did in the preceding section, you'll find that the next and previous carousel controls have disappeared. This is because they relied on Glyphicons. We can fix this using Font Awesome icons instead.

  1. First, update the icons markup in index.html. Look for the links with the classes left or right and carousel-control:

    <a class="left carousel-control" ...
  2. Update the span tags...

Tweaking the columns and their content


Let's fine-tune the blocks of content under the three headings Welcome!, Recent Updates, and Our Team.

First, let's add the arrow-circle icon to the button in each of these three blocks. Recall that we're using Font Awesome for our icon selection.

  1. Visit the Font Awesome documentation at http://fortawesome.github.io/Font-Awesome/icons/.

  2. You'll find the icon that we're after.

  3. In index.html, add a span tag with the appropriate classes inside each link. Here is the first one, which I've spaced out by adding an extra carriage return between elements.

    <p>
      <a class="btn btn-primary pull-right" href="#">
        See our portfolio <span class="icon fa fa-arrow-circle-right"></span>
      </a>
    </p>
  4. Repeat for each link.

You should now have the desired icon in each of the three buttons.

While we're at it, let's add a bit of vertical padding between the carousel and this section of text. Right now, it's pretty tight.

The question that comes...

Styling the footer


The biggest feature of the footer is our social icons. Font Awesome to the rescue!

Consulting the Font Awesome documentation, we find a slew of available icons under the category of Brand Icons. Here is the direct link:

http://fortawesome.github.io/Font-Awesome/icons/#brand

Now, we only need to replace the text for each social link in our footer with span elements, using the appropriate classes.

<ul class="social">
  <li><a href="#" title="Twitter Profile"><span class="icon fa fa-twitter"></span></a></li>
  <li><a href="#" title="Facebook Page"><span class="icon fa fa-facebook"></span></a></li>
  <li><a href="#" title="LinkedIn Profile"><span class="icon fa fa-linkedin"></span></a></li>
  <li><a href="#" title="Google+ Profile"><span class="icon fa fa-google-plus"></span></a></li>
  <li><a href="#" title="GitHub Profile...

Recommended next steps


Let me strongly recommend at least one additional next step you'll need to take before taking a project like this to production. It's imperative that you take time to optimize your images, CSS, and JavaScript. These steps are not difficult.

  • Compressing images takes just a bit of time, and it addresses the single largest cause for large page footprints. I've already used the save to web process option of Photoshop, but chances are you can squeeze a few more bytes out.

  • In addition, we badly need to remove unneeded Bootstrap LESS files from the import sequence in __main.less, and then compress the resulting main.css file.

  • Finally, we need to slim down our plugins.js file by replacing Bootstrap's all-inclusive bootstrap.min.js file with compressed versions of only the three plugins that we're actually using: carousel.js, collapse.js, and transitions.js. We then compress the final plugins.js file.

Combined, these steps can cut the footprint of this website by roughly half....

Summary


Let's take stock of what we've accomplished in this chapter.

  • We've begun with a rock-solid markup structure provided by the HTML5 Boilerplate

  • We've leveraged Bootstrap's responsive navbar, carousel, and grid system

  • We've customized several of Bootstrap's LESS files

  • We've created our own LESS files and folded them seamlessly into the project

  • We've doubled our available icons by folding Font Awesome into our workflow

  • We've improved future maintenance of the site by implementing a thoughtful file organization scheme and leaving a trail of helpful comments—all without creating code bloat

With this experience under your belt, you're equipped to bend Bootstrap to your will—using its power to speed website development, and then customizing the design to your heart's content. In future chapters, we'll expand your experience further. First, however, let's take this design and turn it into a WordPress theme.

Left arrow icon Right arrow icon
Download code icon Download Code

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Feb 21, 2014
Length: 304 pages
Edition :
Language : English
ISBN-13 : 9781782164531
Languages :
Tools :

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Product Details

Publication date : Feb 21, 2014
Length: 304 pages
Edition :
Language : English
ISBN-13 : 9781782164531
Languages :
Tools :

Packt Subscriptions

See our plans and pricing
Modal Close icon
$19.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
$199.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just $5 each
Feature tick icon Exclusive print discounts
$279.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just $5 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total $ 97.98
Bootstrap Site Blueprints
$48.99
Learning Bootstrap
$48.99
Total $ 97.98 Stars icon

Table of Contents

6 Chapters
Getting Started with Bootstrap Chevron down icon Chevron up icon
Bootstrappin' Your Portfolio Chevron down icon Chevron up icon
Bootstrappin' a WordPress Theme Chevron down icon Chevron up icon
Bootstrappin' Business Chevron down icon Chevron up icon
Bootstrappin' E-commerce Chevron down icon Chevron up icon
Bootstrappin' a One-page Marketing Website Chevron down icon Chevron up icon

Customer reviews

Top Reviews
Rating distribution
Full star icon Full star icon Full star icon Full star icon Half star icon 4.2
(10 Ratings)
5 star 50%
4 star 30%
3 star 10%
2 star 10%
1 star 0%
Filter icon Filter
Top Reviews

Filter reviews by




Chris Malan Apr 18, 2016
Full star icon Full star icon Full star icon Full star icon Full star icon 5
This book would be best suited for someone who knows a bit about Bootstrap. What it does is take one from a blank page to a fully fledged site using Less, instead of css. Of course, Less is ulitmately turned into css. This is just what I wanted. One thing I can add, which I did not find in the book, is download Crunch to turn Less into css. It works really well.
Amazon Verified review Amazon
John Williams Feb 24, 2015
Full star icon Full star icon Full star icon Full star icon Full star icon 5
As a very experienced developer coming from mainly a backend career, I am increasingly being dragged into frontend development, especially with the onset of AngularJS. This book was exactly what I was looking for, not pitched too low and not pitched too high. Covers a few good site examples and plenty of direction for additional resources. A really good book to get those with some knowledge of CSS going in the right direction with Bootstrap and responsive design. I personally prefer electronic books these days, I tend to have my IDE open in half the screen and the book open in the other half, this makes it much easier to keep track of what is going on in the book and transfer it to the IDE, plus it saves getting a programmers neck strain! The book works well in electronic format.
Amazon Verified review Amazon
SuJo May 05, 2014
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Bootstrap Site BlueprintsI've been a huge fan of Bootstrap for awhile now, there are a few issues that I had while learning but it was pretty painless to get going and figure new things out as I went along. The documentation is well received via the website for bootstrap but I felt it lacked more robust examples, sure the simple things are there. The robust examples in this book are well written and easy to follow along, I enjoyed the WordPress Theme section, it's widely used and something that every web developer needs to work with at some point in time. This book not only guides you along your path of learning, the examples incorporate various bootstrap elements, and using them when they are needed. This book isn't throwing out an html page with an example of a navbar but a full fledge example of a navbar with full content.Excellent Book and well worth the cost!Publisher Site: [...]
Amazon Verified review Amazon
Ian Doremus Aug 14, 2014
Full star icon Full star icon Full star icon Full star icon Full star icon 5
I just finished reading Bootstrap Site Blueprints, Design mobile-first responsive websites with Bootstrap 3 by David Cochran. I would recommend this book to anyone who is serious about learning to use the latest Bootstrap framework.The book is written for the beginner to intermediate front-end developer who is comfortable working with HTML/CSS but wants to take things to the next level. The book would also make a good reference for a more experienced developer.What really impressed me was how Cochran introduces plugins, frameworks, and workflows outside the scope of Bootstrap in order to make life easier for the developer. For example, Bootstrap 3 now comes bundled with LESS files (Leaner CSS). The author spends a chapter bringing the reader up to speed on the principles of LESS and how to best implement it into production.The reader is also introduced to HTML5 Boilerplate, Font Awesome, Respond.js, Masonry, ScrollSpy, and the Roots starter theme for Wordpress. These are each introduced to save the developer time by not having to reinvent something from scratch. Rather then complicate the project Cochran uses these plugins to simplify.The book chapters walk one through building a Bootstrap portfolio theme, Creating a Bootstrap business page, a Bootstrap E-commerce page, a single page Bootstrap site and a bonus chapter on converting a Bootstrap theme into a Wordpress template.The appendix covers optimizing a site for best download speeds, best practices for responsive images and adding touch control to a custom photo carousel. The sample code is very well organized, each chapter has a start and a finish file to make sure the reader understands the code.In conclusion, I have read many books on coding and building websites. Some books look like they will be good but don’t live up to the promise either because of bad code examples that don’t work or grammar that is difficult to follow. David Cochran’s background in academics is evident in reading this book. It is truly fun to read. I felt like I was reading a novel and couldn’t wait to find out what is at the end of the chapter. All his example code works as expected and the table of contents and index are organized very well. Yes I would recommend this book to anyone who has even the slightest interest in learning to use Bootstrap.
Amazon Verified review Amazon
Adam Horvath May 03, 2014
Full star icon Full star icon Full star icon Full star icon Full star icon 5
This book is definitely worth reading. I was afraid of buying it without any review, but I got lucky... Today I've completed it.I have years of experience in web development on backend and database side but 've never used bootstrap or similar framework and responsive mobile-first development is a new world for me.Who is this book for?It's a well-constructed, well-written book. The authors guide you through the topic with suitable examples: one page website, e-commerce product page, business site.The chapters introduce new materials in a balanced way, so after finishing the book I felt I had a practical toolset to build some stuff for profit immediately.Summary: The book easy to follow. This step-by-step format is simple enough for begginers with some basic prior html and css experience.Who is this book not for?If you have built some site with bootstrap and have some week of full time bootstrap experience, probably you will find many well-known stuff. This book is rather for begginers.If you wanna build some professional development workflow with grunt and other tools this book is not for you. And you can't find many advanced topics about extending bootstrap. But after reading the table of content it should be clear.
Amazon Verified review Amazon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

How do I buy and download an eBook? Chevron down icon Chevron up icon

Where there is an eBook version of a title available, you can buy it from the book details for that title. Add either the standalone eBook or the eBook and print book bundle to your shopping cart. Your eBook will show in your cart as a product on its own. After completing checkout and payment in the normal way, you will receive your receipt on the screen containing a link to a personalised PDF download file. This link will remain active for 30 days. You can download backup copies of the file by logging in to your account at any time.

If you already have Adobe reader installed, then clicking on the link will download and open the PDF file directly. If you don't, then save the PDF file on your machine and download the Reader to view it.

Please Note: Packt eBooks are non-returnable and non-refundable.

Packt eBook and Licensing When you buy an eBook from Packt Publishing, completing your purchase means you accept the terms of our licence agreement. Please read the full text of the agreement. In it we have tried to balance the need for the ebook to be usable for you the reader with our needs to protect the rights of us as Publishers and of our authors. In summary, the agreement says:

  • You may make copies of your eBook for your own use onto any machine
  • You may not pass copies of the eBook on to anyone else
How can I make a purchase on your website? Chevron down icon Chevron up icon

If you want to purchase a video course, eBook or Bundle (Print+eBook) please follow below steps:

  1. Register on our website using your email address and the password.
  2. Search for the title by name or ISBN using the search option.
  3. Select the title you want to purchase.
  4. Choose the format you wish to purchase the title in; if you order the Print Book, you get a free eBook copy of the same title. 
  5. Proceed with the checkout process (payment to be made using Credit Card, Debit Cart, or PayPal)
Where can I access support around an eBook? Chevron down icon Chevron up icon
  • If you experience a problem with using or installing Adobe Reader, the contact Adobe directly.
  • To view the errata for the book, see www.packtpub.com/support and view the pages for the title you have.
  • To view your account details or to download a new copy of the book go to www.packtpub.com/account
  • To contact us directly if a problem is not resolved, use www.packtpub.com/contact-us
What eBook formats do Packt support? Chevron down icon Chevron up icon

Our eBooks are currently available in a variety of formats such as PDF and ePubs. In the future, this may well change with trends and development in technology, but please note that our PDFs are not Adobe eBook Reader format, which has greater restrictions on security.

You will need to use Adobe Reader v9 or later in order to read Packt's PDF eBooks.

What are the benefits of eBooks? Chevron down icon Chevron up icon
  • You can get the information you need immediately
  • You can easily take them with you on a laptop
  • You can download them an unlimited number of times
  • You can print them out
  • They are copy-paste enabled
  • They are searchable
  • There is no password protection
  • They are lower price than print
  • They save resources and space
What is an eBook? Chevron down icon Chevron up icon

Packt eBooks are a complete electronic version of the print edition, available in PDF and ePub formats. Every piece of content down to the page numbering is the same. Because we save the costs of printing and shipping the book to you, we are able to offer eBooks at a lower cost than print editions.

When you have purchased an eBook, simply login to your account and click on the link in Your Download Area. We recommend you saving the file to your hard drive before opening it.

For optimal viewing of our eBooks, we recommend you download and install the free Adobe Reader version 9.