How to Build a Mobile Site with Drupal. Andrew Berry, Lullabot Harris Rashid, Chapter Three



Similar documents
Designing for the Mobile Web Lesson 3: HTML5 Web Apps

Designing for Mobile Devices

Resource Guide: Developing for Mobile on Drupal

Responsive Web Design for Drupal

Web Browser. Fetches/displays documents from web servers. Mosaic 1993

BEYOND RESPONSIVE. by Marcus Morba (drupal.org/user/ = mori) Sunday 24 November 13

Quick Start Guide Mobile Entrée 4

Responsive Web Design. birds of feather

HTML5 and CSS3: New Markup & Styles for the Emerging Web. Jason Clark Head of Digital Access & Web Services Montana State University Libraries

WebCenter User experience. John

Building a Simple Mobile optimized Web App/Site Using the jquery Mobile Framework

Optimizing your E-Business Suite for Mobile and Tablet

Dartmouth College Technical Support Document for Kronos PC version

JTouch Mobile Extension for Joomla! User Guide

Drupal Performance Tuning

Developing Cross-platform Mobile and Web Apps

ios SDK possibilities & limitations

Building native mobile apps for Digital Factory

Beginning Smartphone Web Development

ON24 MOBILE WEBCASTING USER GUIDE AND FAQ FEBRUARY 2015

Quick Reference / Install Guide v1.3

Sage CRM. Sage CRM 2016 R1 Mobile Guide

Sage CRM. Sage CRM 7.3 Mobile Guide

Building Mobile Applications Creating ios applications with jquery Mobile, PhoneGap, and Drupal 7

THE SAS OUTPUT DELIVERY SYSTEM: BOLDLY TAKE YOUR WEB PAGES WHERE THEY HAVE NEVER GONE BEFORE! CHEVELL PARKER, SAS INSTITUTE INC.

How To Use Tsplashbox On A Pc Or Mac Or Mac (For A Pc) With A Windows 7 Computer (For Mac) Or Mac) With Tsplatro (For Pc) Or Ipad (For Windows) With An

WompMobile Technical FAQ

Enterprise Mobile Web Development. Robert Altland Principal Consultant, Mobility Neudesic, LLC

MERLIN SERVER. The Quick Start Guide for collaborative project management ProjectWizards GmbH, Melle, Germany. All rights reserved.

How To Develop A Mobile App With Phonegap

MAGENTO THEME SHOE STORE

Coding Tips You Should Know Before Distributing Your HTML5 Web App on Mobile Devices

Recommendations for Websites Optimization for Mobile Devices Using Mobile Centric CSS. February 2014 Update

Mobile Web Applications using HTML5. L. Cotfas 14 Dec. 2011

Frequently Asked Questions for the USA TODAY e-newspaper

separate the content technology display or delivery technology

P&WC Portal Settings. 1) Portal Language Setting:

Website Report: To-Do Tasks: 11 SEO SCORE: 79 / 100. Missing heading tag: H5. Missing heading tag: H6

Mobile App Design for Academics and Business

shweclassifieds v 3.3 Php Classifieds Script (Joomla Extension) User Manual (Revision 2.0)

ACTi MobileGo User Manual. Version

Opus: University of Bath Online Publication Store

A Model of the Operation of The Model-View- Controller Pattern in a Rails-Based Web Server

Office of Information Technology Connecting to Microsoft Exchange User Guide

Sizmek Formats. IAB Mobile Pull. Build Guide

OPENTABLE GROUP SEARCH MODULE GETTING STARTED ADD RESERVATIONS TO YOUR WEBSITE

Understanding Responsive Web Design (RWD) & Environment Aware Component Design Version:

Website Report: To-Do Tasks: 0. Speed SEO SCORE: 73 / 100. Load time: 0.268s Kilobytes: 1 HTTP Requests: 0

Abusing HTML5. DEF CON 19 Ming Chow Lecturer, Department of Computer Science TuCs University Medford, MA

Analysis of Current and Future Web Standards for Reducing the Gap between Native and Web Applications

HTML5 the new. standard for Interactive Web

Web Designing with UI Designing

To set up your Android with Good for Enterprise:

Web Development. How the Web Works 3/3/2015. Clients / Server

c r a f t i n g a m o b i l e e x p e r i e n c e w i t h o u t b u i l d i n g a s e p a r a t e m o b i l e s i t e

Best Practices in Mobile Development: Building Your First jquery Mobile App Handheld Librarian VI February 2, 2012

Sage CRM. 7.2 Mobile Guide

Instructions for Configuring Your Browser Settings and Online Security FAQ s. ios8 Settings for iphone and ipad app

Scenario One: YOU CANNOT CONNECT TO THE LIBRARY S WIRELESS NETWORK

Synote Mobile. HTML5 Responsive Design Video Annotation Application

Apple Applications > Safari

Website Report: To-Do Tasks: 14 SEO SCORE: 81 / 100. Title tag should be 1-70 characters. Missing heading tag: H3

Developer Tutorial Version 1. 0 February 2015

Smartphone Application Development using HTML5-based Cross- Platform Framework

Going Beyond SAP ITS Mobile Apps to a Responsive Design Mobile Apps. JK (JayaKumar Pedapudi) Principal Consultant NTT DATA, Inc.

place/business fetch details, removefromfavorite () function, 189 search button handler bind, B BlackBerry build environment

A set-up guide and general information to help you get the most out of your new theme.

ios App for Mobile Website! Documentation!

max firt.mobi martes 26 de julio de 11

Retool your HTML/JavaScript to go Mobile

unisys ClearPath eportal Developer 6.1 Unisys Multi-Device App Developer s Guide March

Browser Performance Tests We put the latest web browsers head-to-head to try to find out which one is best!

How To Develop An Html5 Based Mobile App

Getting Started with the new VWO

Choosing a Mobile Strategy for Your Business

Administrator s Guide

Connections Mobile 4.0 Update Open Mic October 23, 2012

Ad Specifications and Guidelines

Republic Polytechnic School of Infocomm C308 Web Framework. Module Curriculum

Browser Performance Tests We put the latest web browsers head-to-head to try to find out which one is best!

Responsive Design for Enterprise. July 2012

jfingerprint Datasheet

ios App Development Using Cordova

Viewports. Peter-Paul Koch jquery EU, 28 February 2014

MIS & CS -WORKING TOGETHER TO DEVELOP MOBILE APPS

1. Right click using your mouse on the desktop and select New Shortcut.

Merchandising with Adobe Digital Publishing Suite

Mobile Application Development

First Edition WalkMe User Manual

Responsive Web Design in Application Express

Flexible Identity Federation

Develop a Native App (ios and Android) for a Drupal Website without Learning Objective-C or Java. Drupaldelphia 2014 By Joe Roberts

80 % Section I: Web Page Analysis TOP 5 WORDS URL DESCRIPTION TAG TITLE TAG SPEED COPY. ocean19.com

Install and End User Reference Guide for Direct Access to Citrix Applications

(WAPT) Web Application Penetration Testing

Site Configuration Mobile Entrée 4

isupplier PORTAL ACCESS SYSTEM REQUIREMENTS

PLAYER DEVELOPER GUIDE

HTML5 & Digital Signage

Multi-platform mobile application development using HTML5, JavaScript and CSS3.

Transcription:

How to Build a Mobile Site with Drupal Andrew Berry, Lullabot Harris Rashid, Chapter Three

About Us

BADCAMP11 $20 off 1st month, good until October 28

We're still figuring out how to "do mobile" https://secure.flickr.com/photos/3059349393/3786855827/in/photostream/

Adaptive and Responsive

Mobile Apps and Mobile Web

An App is typically something that you distribute to your users by pointing them to a store A website loads in a browser such as Mobile Safari Some apps use web technologies (HTML, JavaScript, CSS) while some websites can be installed as Apps!

Build an App? Write for multiple platforms, test on multiple platforms

Build a website? Write one website, but test in multiple browsers

Why not just target Webkit?

There is no "one" Webkit

The Great WebKit Comparison Table http://quirksmode.org/webkit_mobile.html

Developing for Mobile (with HTML and JavaScript)

Let your website join the party https://secure.flickr.com/photos/moogan/2976043573/

A Mobile Web App Is: 1. An name and icon for the home screen or launcher 2. An indication that the application should run in full-screen mode (ios only) 3. The size of the viewport 4. A startup image (ios only as well) 5. A list of the files needed for offline use (not just mobile, but need a fallback for IE)

1. Set your site name! drush -y vset site_name for the hardcore

Home Screen Icon

2. ios Enhancements

3. Ω Rocks (it set the <viewport> for us)

4. More ios Enhancements

5. A Cache Manifest A plain text file <html manifest="/cache.manifest"> Might need to have your server admin add the content type to Apache First line is CACHE MANIFEST NETWORK:, CACHE:, FALLBACK:

Danger! Caveats abound! https://secure.flickr.com/photos/22490717@n02/2317974773/

http://cheezburger.com/view/5241774848

HTML5 Web Storage Supported by all major mobile browsers! (still a W3C draft) Two types of storage: localstorage and sessionstorage localstorage is permanent unless the user clears it sessionstorage is temporary, and per tab or window of the site Use Web Storage to store data and save on HTTP requests and page size, at the expense of local CPU resources

Web Storage...... is key-value pairs only... and is strings only

User searches your site

HTML5 Local Storage Example https://drupal. org/sandbox/deviantintegral/131140 6

http://lb.cm/badapp (who designed this mess?)

Theming for Mobile

Two approaches 1) Create a mobile version for an existing site 2) Build a new site with a mobile first approach (responsive web design)

Mobile Tools Module http://drupal.org/project/mobile_tools

Mobile Tools Module Redirection to a mobile domain User-Agent Detection Theme Switching Integration with Panels and Context http://drupal.org/project/mobile_tools

Mobile Tools Module Redirection to a mobile domain

Mobile Tools Module User-Agent Detection

Mobile Tools Module Theme Switching

Mobile Tools Module Integration with Panels

CSS Media Queries Detect a device screen size and load a stylsheet media="screen and (max-device-width: 480px)" <link rel="stylesheet" type="text/css" media="screen and (max-device-width: 480px)" href="style.css" />

CSS Media Queries Portrait vs. Landscape /* Portrait */ @media screen and (orientation:portrait) { /* Portrait styles */ } /* Landscape */ @media screen and (orientation:landscape) { /* Landscape styles */ }

Google Bookmark Bubble Create your own: http://code.google.com/p/mobile-bookmark-bubble/

Responsive Web Design One Site & Theme for any device

Responsive Drupal Themes Omega http://drupal.org/project/omega Adaptive http://drupal.org/project/adaptivetheme

Responsive jquery Plugins Fittext FitVids http://fittextjs.com http://fitvids.js

Responsive jquery Code Snippets Elastislide Image Gallery http://tympanus.net/codrops/

Testing Tools

Firefox User Agent Add-on Supports ipad and iphone Great for testing mobile browser detection, url and theme switching

Apple XCode ios Simulator http://developer.apple.com/xcode/

Awesome Resources http://lb.cm/bc11-mobile-notes

Discussion