Start learning with our library of video tutorials taught by experts. Get started

Mobile Web Design & Development Fundamentals

Viewing the site on devices


From:

Mobile Web Design & Development Fundamentals

with Joe Marini

Video: Viewing the site on devices

As good as emulators are for testing things like layout and making sure that things appear correctly, there is really no substitute for testing your finished site on a real device, because a real device will show you how response of the site really is and whether things are working as you intended in the real world. So we are going to take a look at our finished site on a real device, and this is the Android Nexus S phone that I am going to test on. So here is our homepage, and you can see right away that the media query that we built is detecting the phone's screen size, and it's triggering correctly to give us our own phone screen optimized layout.
Expand all | Collapse all
  1. 2m 48s
    1. Welcome
      1m 2s
    2. Using the exercise files
      1m 46s
  2. 29m 25s
    1. Understanding the mobile context
      8m 5s
    2. A survey of mobile sites
      11m 44s
    3. Targeting mobile browsers
      4m 31s
    4. Previewing a complete mobile site
      5m 5s
  3. 27m 20s
    1. Designing for one web
      3m 43s
    2. Using well-defined web standards
      3m 45s
    3. Designing mobile-friendly pages
      3m 40s
    4. Being crisp, clean, and succinct
      5m 45s
    5. Minimizing input where possible
      6m 47s
    6. Focusing on the core scenarios
      3m 40s
  4. 1h 13m
    1. Installing the tools
      3m 52s
    2. Setting up a local web server
      9m 13s
    3. Installing device emulators
      17m 5s
    4. Using device emulators
      13m 9s
    5. Downloading Modernizr and Mobile Boilerplate
      6m 22s
    6. Building a first mobile web page
      5m 43s
    7. Developing mobile pages with desktop browsers
      8m 6s
    8. Exploring useful mobile web development resources
      10m 23s
  5. 53m 26s
    1. Reviewing mobile markup languages
      5m 10s
    2. Understanding content adaptation approaches
      10m 32s
    3. Controlling the viewport layout
      12m 50s
    4. Designing forms
      13m 30s
    5. Using CSS media queries
      11m 24s
  6. 1h 11m
    1. Detecting client capabilities with script
      10m 8s
    2. Caching information with local storage
      9m 16s
    3. Determining position with geolocation
      12m 52s
    4. Minimizing HTTP requests with data URLs
      7m 39s
    5. Understanding user agent detection
      9m 8s
    6. Using server-side detection with PHP
      6m 52s
    7. Using server-side detection with ASP.NET
      4m 54s
    8. Using HTML5 Boilerplate for mobile
      11m 6s
  7. 39m 22s
    1. Measuring performance
      7m 41s
    2. Creating full-screen web apps
      6m 30s
    3. Customizing the user interface
      5m 14s
    4. Detecting orientation changes
      3m 58s
    5. Detecting device movement
      5m 21s
    6. Using touch events
      10m 38s
  8. 47m 14s
    1. Taking a look at the finished site
      7m 40s
    2. Examining the header and background image style on the Home page
      10m 10s
    3. Examining the hover effect and layout styles on the Tours page
      6m 42s
    4. Examining mobile forms on the Contact page
      9m 45s
    5. Viewing and testing the mobile site on emulators
      8m 11s
    6. Viewing the site on devices
      4m 46s
  9. 2m 34s
    1. Goodbye
      2m 34s

Watch this entire course now—plus get access to every course in the library. Each course includes high-quality videos taught by expert instructors.

Become a member
Please wait...
Mobile Web Design & Development Fundamentals
5h 47m Beginner Jul 20, 2011

Viewers: in countries Watching now:

This course surveys the core principles and techniques essential to building web sites for mobile devices. Author Joe Marini introduces the mobile context, sheds light on its unique coding requirements, and discusses interface design techniques that enhance existing sites for mobile viewing. The course shows how to approach designing for mobile form factors such as smaller screens and finger-based interaction, along with how to incorporate CSS3 and HTML5 capabilities, such as geolocation, local storage, and media queries.

Topics include:
  • Implementing well-defined web standards
  • Working with Modernizr and Mobile Boilerplate
  • Building a first mobile web page
  • Understanding content adaptation strategies
  • Designing forms for mobile
  • Detecting client capabilities with script
  • Using server-side detection with PHP and ASP.NET
  • Working with mobile browser capabilities
  • Viewing and testing the mobile site on device emulators
Subjects:
Developer Web Web Foundations Mobile Web
Software:
HTML
Author:
Joe Marini

Viewing the site on devices

As good as emulators are for testing things like layout and making sure that things appear correctly, there is really no substitute for testing your finished site on a real device, because a real device will show you how response of the site really is and whether things are working as you intended in the real world. So we are going to take a look at our finished site on a real device, and this is the Android Nexus S phone that I am going to test on. So here is our homepage, and you can see right away that the media query that we built is detecting the phone's screen size, and it's triggering correctly to give us our own phone screen optimized layout.

So you can see that the logo is displaying correctly, and the navigation elements are stacked vertically rather than horizontally, because we restyled them. So scroll down a little bit, and as I scroll, you can see that the page is optimized for vertical scrolling. There is no side-to-side movement. Under the Tour Spotlight, we have got the logo in the right place--it's above the text, taking advantage of the vertical space. Let's scroll down. Here is the Monthly Specials there being laid out nice and vertical just as we styled them. Here is the Did You Know section. Our bottom nav bar is also using the two short columns and the wider one to take advantage of the limited horizontal space that we have.

So this page actually looks pretty good. Let's scroll up and take a look at some other parts of the site. Let's make sure that our Tours page looks correct, so I'll click on that link. Okay, here is our Tours page. Let's scroll down. So we can see that the navigation subheads are there. The text looks good. It's optimized vertical scrolling and reading. Here's the tours. Let's make sure the interactivity is working. So when I click, the tour reveals. That great. Let's scroll on down a little bit more.

Okay, here's our Monthly Specials layout. We can see that's nice and laid out vertically the way we styled it, no longer horizontal. And there's the restyle Did You Know section, and of course on this page the nav bar at the bottom is also working correct. All right, let's do one more thing. Let's make sure our contact form looks good, so I'll click on the contact form. Okay here's our contact form, text looks good, and you can see here that the form has now been laid out to take advantage of vertical space.

So we have a label above the form control, instead of horizontal like it was on the desktop. The required fields are properly marked with the red borders on the side. We are getting the placeholder text behavior. Here's the General Information. The check boxes are laid out completely vertically, just as we styled them, and our date fields and text fields are properly sized. Okay, so that's working properly on the phone. Now let's move it to tablet and see how it works on the tablet form factor.

Okay so here's the same site, only now are looking at it in the tablet form factor, so let's take a look at some thing changes we made and make sure everything looks right. So as expected, the nav bar is a little bit more concise, and you can see that the dropdown menus are gone. And as I scroll down a little bit, you can see that the background image, we have more space. We will be able to put that back in. On the Tour Spotlight section we have a little bit different layout. The logo is now to the right because it fits. This device actually understand how to play video, so we can tap on this and play video.

So we will be able to detect the video presence. That looks good. So let's pause that. Here, the Monthly Special section, as we re-laid it out to be more vertical, we can say that's working correctly. And down at the bottom you see that we have more horizontally space for the bottom nav, so we are able to fit each section horizontally across. Okay let's go back up to the top. Let's take a look at the Tours section to make sure that came out well. Okay so as we expected, once again you can see that each one of the tours is laid out again more vertically oriented, and we scroll down. And let's make sure that the--yep, there's the Monthly Specials and Did You Know also vertically laid out.

The horizontal alignment of the bottom nav, and let's just make sure that our form is working correctly. So we go to the Contact page, and we can see here that the form is laid out correctly vertically. We have enough space for both the label and the control to be side by side, so those are laid out horizontally. We are getting the styling for the required fields. The placeholder text is all working. I'm going to scroll down. And our Monthly Specials and Did You Know section is spanning the entire horizontal space and is laid out vertically, and our horizontally bottom nav looks correct as well.

Okay, so using what we learned, we were able to build a web site that works well both on mobile phones and tablets as well as desktops.

There are currently no FAQs about Mobile Web Design & Development Fundamentals.

Share a link to this course
Please wait... Please wait...
Upgrade to get access to exercise files.

Exercise files video

How to use exercise files.

Learn by watching, listening, and doing, Exercise files are the same files the author uses in the course, so you can download them and follow along Premium memberships include access to all exercise files in the library.
Upgrade now


Exercise files

Exercise files video

How to use exercise files.

For additional information on downloading and using exercise files, watch our instructional video or read the instructions in the FAQ.

This course includes free exercise files, so you can practice while you watch the course. To access all the exercise files in our library, become a Premium Member.

join now

Are you sure you want to mark all the videos in this course as unwatched?

This will not affect your course history, your reports, or your certificates of completion for this course.


Mark all as unwatched Cancel

Congratulations

You have completed Mobile Web Design & Development Fundamentals.

Return to your organization's learning portal to continue training, or close this page.


OK
Become a member to add this course to a playlist

Join today and get unlimited access to the entire library of video courses—and create as many playlists as you like.

Get started

Already a member?

Become a member to like this course.

Join today and get unlimited access to the entire library of video courses.

Get started

Already a member?

Exercise files

Learn by watching, listening, and doing! Exercise files are the same files the author uses in the course, so you can download them and follow along. Exercise files are available with all Premium memberships. Learn more

Get started

Already a Premium member?

Exercise files video

How to use exercise files.

Ask a question

Thanks for contacting us.
You’ll hear from our Customer Service team within 24 hours.

Please enter the text shown below:

The classic layout automatically defaults to the latest Flash Player.

To choose a different player, hold the cursor over your name at the top right of any lynda.com page and choose Site preferencesfrom the dropdown menu.

Continue to classic layout Stay on new layout
Welcome to the redesigned course page.

We’ve moved some things around, and now you can



Exercise files

Access exercise files from a button right under the course name.

Mark videos as unwatched

Remove icons showing you already watched videos if you want to start over.

Control your viewing experience

Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.

Interactive transcripts

Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.

Thanks for signing up.

We’ll send you a confirmation email shortly.


Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from lynda.com.

Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

   
submit Lightbox submit clicked