Course: Creating a Web App for iPad

Creating a Web App for iPad

  • Life Time Access
  • Certificate on Completion
  • Access on Android and iOS App
  • Self-Paced
About this Course

This course will teach you to use standard web technologies to create an engaging, interactive user experience on the iPad.

We'll be creating an eSales Aid in the course, which is a popular use for sharing information about a company or product on tablet devices. However, the possibilities of this approach are limitless. Use standard web technologies to create interactive books, catalogs, or any interactive project you can imagine. If you can create it on the web, you can create it in a Web App.

And the best part is... no app stores!

Web Apps run from any web server, and are actually web sites themselves. The main difference is in the way they load information, and define behaviors. We'll cover creating custom icons and startup screens, optimizing the user experience for touch events, and using CSS3 hardware accelerated features for smooth animations.

What to expect in the course

In the course we'll start by creating web graphics with Photoshop, for both standard and retina screens. There is also a "skip Photoshop" folder as well, in case you want to bypass working in Photoshop. We'll also be using CSS3 to detect hi-definition displays (retina screens), as well as using CSS3 transform properties to position out HTML elements across the iPad screen.

The main focus of the course is the functionality needed for create an engaging user experience, which consists of JavaScript, as well as supporting HTML and graphics specific for the iPad interface. This course will teach you to code the core functionality of the Web App, while supplying plenty of code snippets to relieve you from any repetitive typing. Watch the first 4 videos in Lesson 1, they are all FREE, and provide an overview of the expectations, software, and final product we'll be creating.

The project files provided in this course include a copy of the fully completed final project. Use these files to track your progress, correct any errors you may be having, or more importantly, adapt the project into your own interactive Web Apps.

Who is the target audience?

  • Designers
  • Web Designers
  • Web Developers
Basic knowledge
  • Text Editor
  • Web-kit Browser
What you will learn
  • NO APP STORES! Web Apps run form any web server
  • Capture a web experience into a Web App
  • Learn to work with CSS3 animations
  • Support standard and retina graphics
  • Make updates whenever you want
  • Incorporating HTML5 video for iPad
Number of Lectures: 34
Total Duration: 02:42:41
  • About this course  

    Watch a demonstration of the final project we'll be creating, as well as a glimpse of the graphics, code, and animated explanations.

  • A few words before we begin  

    This lecture sets the expectations for the course, letting you know what to expect when you begin.

  • Software you’ll need to follow along  

    This course requires a text editor, or graphical web tool with access to the code, as well as a WebKit browser. Optional software and hardware include Adobe Photoshop, an iPad or an iPad Simulator.

  • About the Project Files  

    The project files* contain native, sliced, Photoshop files, as well as a set of final graphics, a series of code snippets, and a copy of the fully completed final project.

  • Starting your project  

    To begin, there are a series of starter files in the project files* that we'll be adding to a new folder on your desktop.

    *project files are attached to the next lecture, Resource Files

  • Resource Files  
Creating the Graphics
  • Creating the Web App-Specific graphics for iPad  

    We'll be saving the graphics that will be used for the Web App icon, startup screens, and special messaging for detecting non-iPads and non-stand-alone users.

  • Creating the content graphics  

    Learn to modify SmartObjects in Photoshop and create multiple version of graphics for the home screen, our video poster, and a transparent content graphic.

  • Creating the gallery images  

    Create a series of product photos to use in the interactive gallery.

Setting up the HTML
  • Examining the HTML and CSS strategy for the layout  

    The HTML and CSS provided in the code snippets work together to create the layout for our Web App. As we walk through the code snippets, this is end result of those snippets.

  • Setting up the meta tags and icon link  

    The meta and link tags allow us to provide the iPad with Web App specific graphics, including detection for retina displays. We'll also be adding links to the CSS and JavaScript files, including jQuery and iScroll frameworks.

  • Setting up the HTML containers  

    The outter-most HTML5 elements that will hold our content, and act as layout containers for our CSS to size and position.

  • Adding container for iScroll and Google Map  

    These HTML elements will contain the main page contents as well as a destination to load a Google map.

  • Add navigation links and copyright  

    Add anchor links to the nav element, and a copyright statement in the footer.

Add Style and Layout For Homepage and Navigation
  • Add CSS rules for style and layout  

    We'll add a series of CSS rules for the layout and text styles, and apply some specific rules for landscape and portrait orientations.

  • Add homepage positioning and animation for elements  

    Here we'll use CSS3 transforms to position elements on the home page of the Web App. Two sets of rules will allow for positioning elements for both landscape and portrait orientations.

  • Style the navigation links and copyright  

    Redefine the CSS display type for anchor links and make use of the icon sprite sheet we created for the for the navigation.

Adding the JavaScript and (jQuery)
  • Detecting the orientation of the iPad  

    We'll use standard JavaScript to detect the browser size, and change the classes of the Web App to reflect the devices orientation.

  • Loading page contents with AJAX  

    This is a crucial piece to the user experience. Content must be loaded into your via AJAX to keep the user within your Web App. Links that go directly to a URL will switch your user to Mobile Safari on the iPad.

  • Detecting the home page  

    When we load a page, we'll detect if the home page is targeted, and if so, we'll add a "home" class to the main page container.

  • Detecting the contact us page  
  • Setting and loading a default page on load  

    When the Web App loads, we'll automatically trigger, or click, the first navigation link.

  • Initializing Google Maps  

    The code snippets contain code from Google's developer site for injecting a map into an HTML container. We'll also explore Google maps to find a location and get the latitude and longitude coordinates necessary to load a map location.

  • Activating iScroll  

    The iScroll plug-in provides an enhanced user experience for touch devices, and can be activated with a few lines of code.

Adding Content for the Gallery and Video Pages
  • Adding HTML for the gallery  

    Much like the main Web App containers, the gallery need some HTML containers to create the layout within the content area.

  • Adding CSS rules for the gallery  

    These CSS rules will size and position the gallery HTML containers to recreate a layout for both landscape and portrait orientations.

  • Activating the gallery thumbnails  

    Using jQuery, we'll assign click events to the gallery thumbnails in order to get the image and caption information. Then we can provide that information back to the user in the detail container.

  • Adding a graphic and video  

    In the video page we'll add an HTML5, with a poster graphic, as well as positioning a graphic within the content.

  • Detecting and replacing graphics for Retina displays  

    Using CSS3 we'll detect the pixel ratio to determine if the user's screen is a hi-definition (retina) screen or not. If they are on a hi-definition screen, we'll switch the graphics to the larger ones.

Detecting iPads and Stand Alone Status
  • Detecting an iPad  

    Using JavaScript, we'll detect the user agent, and if it is not an iPad, we'll use our non-iPad graphic message.

  • Detecting the stand-alone status  

    If the user is on an iPad, but has not saved it to their home screen, we'll use our add to home screen graphic message.

  • Replacing click events and disabling selections  

    Using CSS and JavaScript, we'll disable user-seelctable items, lock the page background, and dramatically speed up the user experience with touch events.

Where To Go From Here.
  • Where to go from hre  

    Now that we've created a compelling user experience leveraging standard web technologies, learn about other directions you may want to explore with this new approach to interactive development on the iPad.

  • Considering Web Apps for Android  

    Google has recently announced plans for a similar "add to home screen" functionality for Android. Learn where you can get more information.

Reviews (0)