From 7c6d5e1cc1179af39116af010f7b54b4d8c27a60 Mon Sep 17 00:00:00 2001 From: Gerald Bauer Date: Tue, 19 Jul 2016 19:08:31 +0200 Subject: [PATCH] use markdown --- mobile.textile => mobile.md | 178 ++++++++++++++++++------------------ 1 file changed, 90 insertions(+), 88 deletions(-) rename mobile.textile => mobile.md (67%) diff --git a/mobile.textile b/mobile.md similarity index 67% rename from mobile.textile rename to mobile.md index 501079a..c014585 100644 --- a/mobile.textile +++ b/mobile.md @@ -8,17 +8,13 @@ gradient: top_bottom blue navy %%%%%%%%%%%%% % Slides Start Here -h1. Create Mobile Web Apps with the iUI JavaScript Library +# Create Mobile Web Apps with the iUI JavaScript Library -"Gerald Bauer":http://geraldbauer.ca @ "MobileCampVancouver2":http://barcamp.org/MobileCampVancouver2, Vancouver, British Columbia, September 2008 +[Gerald Bauer](http://geraldbauer.ca) @ [MobileCampVancouver2](http://barcamp.org/MobileCampVancouver2), Vancouver, British Columbia, September 2008 ---- -("Source":http://slideshow.rubyforge.org/svn/samples/mobile.textile) -{{help}} - -h1. What's the Mobile Web? +# What's the Mobile Web? The mobile web is just like the regular web but you access it on the go using mobile devices such as mobile phones, mobile music/media players, mobile internet tablets etcetera. @@ -34,15 +30,15 @@ One Web = Use "classic" HTML, CSS, JavaScript, etcetera on the mobile web. No need for different "standards". -h1. Why does the mobile web matter? +# Why does the mobile web matter? * Billions of mobile phones. * More and more "smart" phones have built-in industry-strength browsers. -h1. How does the mobile web differ from the "classic" web? +# How does the mobile web differ from the "classic" web? -h3. Usually smaller screen +### Usually smaller screen e.g. Apple's iPhone screen size is 320x480 pixel or 480x320 pixel. @@ -50,50 +46,50 @@ Note, iPhone's browser lets you zoom in and zoom out. By default for non-mobile web screen size optimized sites iPhone will zoom out to make the screen appear to have a size of 980 pixels (instead of the actual 320). -h3. Limited keyboard for text entry and limited clicking (no mouse) +### Limited keyboard for text entry and limited clicking (no mouse) Use accesskey for links allowing you to "click" links using your phone key numbers ( such as 1,2,3,4,5,etc.) -h3. Limited connectivity/offline +### Limited connectivity/offline -h3. Special links for phone numbers +### Special links for phone numbers -{{{ +``` 1-604-555-5555 -}}} +``` -h1. What's iUI? +# What's iUI? -iUI is an open-source framework (really just one @iui.js@ - JavaScript file, -one @iui.css@ - style sheet and many graphics) +iUI is an open-source framework (really just one `iui.js` - JavaScript file, +one `iui.css` - style sheet and many graphics) created by Joe Hewitt (of Firebug fame) and now working at Facebook (and responsible for - surprise, surprise - the mobile web version of Facebook). -* "iUI Project Site":http://code.google.com/p/iui -* "iUI Intro":http://www.joehewitt.com/blog/introducing_iui.php by Joe Hewitt +* [iUI Project Site](http://code.google.com/p/iui) +* [iUI Intro](http://www.joehewitt.com/blog/introducing_iui.php) by Joe Hewitt -h1. iUI Design +# iUI Design * Single-Page Web Application (Clicking on link fires off an Ajax/JavaScript request -> Page gets updated w/ animation effect!) -* Ajax/JavaScript Machinery Hidden - Just use plain HTML list tags (@ul@, [@li@]), links ([@a@]) and it works; no JavaScript coding required. +* Ajax/JavaScript Machinery Hidden - Just use plain HTML list tags (`ul`, `li`), links (`a`) and it works; no JavaScript coding required. * Back button still works. -h1. iUI - Getting Started in Three Minutes +# iUI - Getting Started in Three Minutes -Step 1: Download and Unzip iUI Package @ "code.google.com/p/iui":http://code.google.com/p/iui +Step 1: Download and Unzip iUI Package @ [code.google.com/p/iui](http://code.google.com/p/iui) Step 2: Try the Music Example or the Theaters Search Example (Open Up Page in a WebKit Browser) That's it. No Developer $$$ Fee. No F!?#!ing Non-Disclosure Agreement (NDA). -h1. iUI - Lists +# iUI - Lists -!iui-hoods.png! +![](i/iui-hoods.png) -{{{ +``` -}}} +``` + +(Source: [Roomienator](http://rubybook.ca/2008/02/12/iui)) -(Source: "Roomienator":http://rubybook.ca/2008/02/12/iui) -h1. iUI - Groups and Lists +# iUI - Groups and Lists -!iui-home.png! +![](i/iui-home.png) -{{{ +``` -}}} +``` -Add @class='group'@ to mark list item for grouping. That's it. +Add `class='group'` to mark list item for grouping. That's it. -h1. iUI - Panels +# iUI - Panels -!iui-panel.png! +![](i/iui-panel.png) -{{{ +```

About RoomieNATOR

Sample Mobile Web App using the iUI JavaScript Library w/ Ruby on Rails

-}}} +``` -Add @class='panel'@ to mark @div@ block as a panel. That's it. +Add `class='panel'` to mark `div` block as a panel. That's it. -h1. iUI - Link Types +# iUI - Link Types -* Intra-Page iUI Link (@#artists@) -* iUI Link (@/stats@) -* Plain Old Link (Reload New Page) (@target='_self'@) +* Intra-Page iUI Link (`#artists`) +* iUI Link (`/stats`) +* Plain Old Link (Reload New Page) (`target='_self'`) -!iui-links.png! +![](i/iui-links.png) -{{{ +``` -}}} +``` -h1. Intra-Page iUI Links +# Intra-Page iUI Links Browse Lists and Pages without Network Access -{{{ +``` ... -}}} +``` -h1. iUI - Forms +# iUI - Forms -!iui-form.png! +![](i/iui-form.png) -{{{ +```

Welcome to RoomieNATOR

@@ -214,15 +211,16 @@ h1. iUI - Forms Login
-}}} +``` + +Mark `div` block with `class='row'` for form rows and submit button with `class='whiteButton'`. -Mark @div@ block with @class='row'@ for form rows and submit button with @class='whiteButton'@. -h1. All Together Now +# All Together Now * Single-Page Web Application (Clicking on link fires off an Ajax/JavaScript request -> Page gets updated w/ animation effect) -{{{ +``` RoomieNATOR @@ -241,7 +239,7 @@ h1. All Together Now -}}} +``` * Include iUI Style Sheet * Include iUI JavaScript Library @@ -249,11 +247,11 @@ h1. All Together Now That's it. -h1. iUI - Lists and Ruby +# iUI - Lists and Ruby -!iui-hoods.png! +![](i/iui-hoods.png) -{{{ +``` -}}} +``` Generates -{{{ +``` -}}} +``` -h1. Alternatives +# Alternatives * CiUI (CNet iUI) -** "Project Site":http://code.google.com/p/ciui-dev -** "CNET Example":http://iphone.cnet.com + * [Project Site](http://code.google.com/p/ciui-dev) + * [CNET Example](http://iphone.cnet.com) and others -!ciui.png! +![](i/ciui.png) -h1. The Browser Players - WebKit, WebKit, WebKit +# The Browser Players - WebKit, WebKit, WebKit Good news. Microsoft's Internet Explorer Web Browser is an also ran. @@ -313,26 +311,30 @@ Other mobile browser include: * Mozilla Firefox Mobile (Fennec) (Open Source) -h1. Browser Innovation in WebKit +# Browser Innovation in WebKit * Better & More Web Markup Functionality (HTML5) -** more form functionality (datepickers, required, repeat, etc.) -** standard audio, video tags -** new tags such as header, footer, nav, aside, figure, dialog, m (mark), time, meter, progress -** much more + * more form functionality (datepickers, required, repeat, etc.) + * standard audio, video tags + * new tags such as header, footer, nav, aside, figure, dialog, m (mark), time, meter, progress + * much more + + * Better & More Scripting Functionality (JavaScript) -** 2D & 3D graphics using JavaScript (Canvas) built into browser (no Flash plugin required!) -** standard HTTP request service (also known as Ajax) -** offline storage -** much more + * 2D & 3D graphics using JavaScript (Canvas) built into browser (no Flash plugin required!) + * standard HTTP request service (also known as Ajax) + * offline storage + * much more + + * Better & More Cascading Style Stylesheet Functionality -** rounded borders, animation, etc. -** much more + * rounded borders, animation, etc. + * much more -h1. About Web Kit +# About Web Kit History/Beginnings: @@ -343,8 +345,8 @@ Building Blocks: KHTML, KJS Instead of building the browser for the Apple OS X from scratch Apple decides to build on/reuse the open source KHTML/KJS core. -* "Web Kit Open Source Project Site":http://webkit.org -* "Planet Web Kit":http://planet.webkit.org +* [Web Kit Open Source Project Site](http://webkit.org) +* [Planet Web Kit](http://planet.webkit.org) Desktop Browsers Using WebKit @@ -353,12 +355,12 @@ Desktop Browsers Using WebKit * Adobe Integrated Runtime (AIR) * Linux KDE Browser -h1. More Mobile Web Links -* "Official W3C Mobile Web Site":http://w3.org/Mobile -* "Official W3C Mobile Web Best Practices":http://w3.org/TR/mobile-bp -* "Planet Mobile Web":http://w3.org/Mobile/planet +# More Mobile Web Links + +* [Official W3C Mobile Web Site](http://w3.org/Mobile) +* [Official W3C Mobile Web Best Practices](http://w3.org/TR/mobile-bp) +* [Planet Mobile Web](http://w3.org/Mobile/planet) -h1. That's It. Thank You. +# That's It. Thank You. -{{ google_analytics :code => 'UA-397343-10' }}