SlideShare una empresa de Scribd logo
1 de 32
Descargar para leer sin conexión
Hi! I’m David
About me:
• Senior Web Developer, Southern Bancorp
• Multiple disciplines including: PHP, Javascript, Objective-C ,
  MySQL, CSS, HTML, Graphic Design, WordPress and Joomla
  themes/modules/plugins/widgets
• <3 building interesting data driven web sites
…And YOU?
Today’s Sessions
• 9:00am – 12:00pm

   – Seven life changing reasons why you should design
     for the mobile web

   – Why is jQuery so dang cool?

   – A Brief History of jQuery

   – jQuery Mobile: “What It Do?”

   – Creating gorgeous mobile web apps (in about 30 seconds)

   – GAMES!
Today’s Sessions
• 12:45pm – 4:00pm
  – Time to get your hands dirty

  – “Hello” + $(“#world”).val() + “!”;

  – Toolbars foolbars

  – Buttons… and danger

  – Creating forms that don’t suck

  – Great resources

  – Closing arguments + bonus: 24 reasons why I love beer
Bribery!
Also Learning
Seven life changing reasons
why you should design for the mobile web

Reason #1:

By 2014, mobile internet should take over
    desktop usage


Source: http://www.digitalbuzzblog.com/2011-mobile-statistics-stats-facts-marketing-infographic/
Seven life changing reasons
why you should design for the mobile web

Reason #2:

85% of mobile devices will be web enabled by
    2012


Source: http://www.google.com/think/insights/topics/think-mobile.html
Seven life changing reasons
why you should design for the mobile web

Reason #3:

More than 50% of U.S. adults will be using a
   smartphone by the end of 2011


Source: http://www.google.com/think/insights/topics/think-mobile.html
Seven life changing reasons
why you should design for the mobile web

Reason #4:

In a typical week, 81% of smartphone users
   will browse the Internet



Source: http://www.google.com/think/insights/topics/think-mobile.html
Seven life changing reasons
why you should design for the mobile web

Reason #5:
49% of those who have seen a mobile ad take action. Of
   those:
     – 49% purchase
     – 42% click on the ad
     – 35% visit website
Source: http://www.google.com/think/insights/topics/think-mobile.html
Seven life changing reasons
why you should design for the mobile web

Reason #6:

29% of smartphone owners in the U.S. have
     made an online purchase using their
     smartphone

Source: https://docs.google.com/gview?url=http://www.gstatic.com/ads/research/en/2011_Google_MMA_Global_Perspectives.pdf&chrome=true
Seven life changing reasons
why you should design for the mobile web

Reason #7:

Everybody’s doing it: “We understand that the
  new rule is ‘Mobile First.’ ” ~ Eric Schmidt,
  Google CEO
“OK OK OK! I get it.”
Why is jQuery so dang cool?
• jQuery makes writing Javascript almost effortless
   – DOM selectors! $(“li.navigation”)

   – Daisy chain events and commands
     $(“li.navigation”).click(function() {
       alert(‘You clicked me!’);
     }).mouseover(function() {
       alert(‘You moused over me!’);
     }).css(‘color’, ‘red’);

   – Automaticly cross-browser compatible (mostly)
Why is jQuery so dang cool?
• jQuery is used…. a lot… by a lot of people. This
  means:
   – Extensive cache of plugins and themes that you can straight-up
     jack from jQuery.com for use in your mobile site.

   – Quick and easy access to help from websites like
     stackoverflow.com
A brief history of jQuery
2005:

John Resig posts about improving upon Behaviour.js
  methods. Description of jQuery by Behaviour.js
  website: “Jquery is like behaviour that has been sent
  back from the future by a secret f$%# government
  lab”
A brief history of jQuery
2006:
• jQuery announced at BarCampNYC and world rejoices
• jQuery 1.0 released
2007:
• Plugin repository created
• jQuery UI announced
A brief history of jQuery
2008:
• jQuery UI release candidate made available
2009:
• Boring
2010
• jQuery Mobile project announced and world rejoices once
  more
jQuery Mobile: “What It Do?”
jQuery Mobile: “What It Do?”
The company line: “A unified user interface system that
  works seamlessly across all popular mobile device
  platforms, built on the rock-solid jQuery and jQuery
  UI foundation. Focused on a lightweight codebase
  built on progressive enhancement with a flexible,
  easily themeable design.”
jQuery Mobile: “What It Don’t?”
ALERT! You should probably stay away from developing with jQuery Mobile for these devices:
Blackberry 4.x
All older smartphone platforms and feature phones
Any device that doesn’t support media queries
MeeGo – Originally a target platform, but Nokia decision to relegate this platform to
    “experimental”, the good folks at jQuery are considering dropping support.
Samsung Bada – The project doesn’t currently have test devices or emulators although so far
    it’s showing good support. No guarantee of future support.
Creating gorgeous mobile web apps
(in about 30 seconds)
1.   Open our example files folder and go to /like_a_boss/
2.   Open index.html and check it out.
3.   Open index.html in your favorite text editor
4.   Edit line #23:
     <div data-role="page" id="main_page">
5.   Change to:
     <div data-role="page" id="main_page" data-theme="e" data-content-theme="e">
6.   Save and reopen
7.   BAM!
Let’s get to work!
“Hello” + $(“#world”).val() + “!”;
1.    Open our example files folder and go to /helloworld/
2.    Open index.html and check it out
3.    Open index.html in your favorite text editor
4.    Create new page containing text “Hello World!”
5.    Create button to link to that page
     1.   Use data-role=“button”
6.    Save that bad boy
Let’s get to work!
Toolbars foolbars
1.   Open our example files folder and go to /foolbars/
2.   Open index.html and check it out
3.   Open index.html in your favorite text editor
4.   Learn more about buttons and come back 
5.   Add buttons to toolbar like so:
     <a href="index.html" data-icon=“delete”>Cancel</a>
     <h1>Toolbars Foolbars</h1>
     <a href="index.html" data-icon=“check”>Save</a>
6.   Add footer buttons using a horizontal controlgroup
Let’s get to work!
Buttons… and danger
1.        Open our example files folder and go to /dangerbuttons/
2.        Open index.html and check it out
3.        Open index.html in your favorite text editor
4.        Add positioning data rolls to each test button
     1.       Positions are: top, bottom, left, right and notext
     2.       Use data-iconpos=“whatever”

5.        Change themes for each individual button
     1.       Themes are: a, b, c, d, e
     2.       Use data-theme=“whatever”

6.        TEST TEST TEST TEST TEST
Let’s get to work!
Buttons… and danger
1.        Add icons to grouped buttons
     1.        Icons are: arrow-l, arrow-r, arrow-u, arrow-d, delete, plus, minus, check, gear, refresh, forward,
               back, grid, star, alert, info, home, search
     2.        Use data-icon=“whatever”

2.        Make group buttons horizontal
     1.        Add data-type=“horizontal” to your controlgroup

3.        Add additional inline buttons
     1.        Play with different theme options to differentiate buttons

4.        Test it!!
Let’s get to work!
Creating forms that don’t suck
1.    Open our example files folder and go to /suckbegone/
2.    Open index.html and check it out
3.    Open index.html in your favorite text editor
4.    Create a contact form that includes at least:
     1.   Name, e-mail, phone, subject, website rating, city, state, zip code
5.    Turn off native selection (HOLY $#%#! THIS IS AWESOME)
6.    Save, test, HALELUJAH!
Great Resources
•   jQuery 1.6 Visual Cheat Sheet
    http://woorkup.com/2011/05/12/jquery-visual-cheat-sheet-1-6/
•   jQueryMobile.com
•   jQuery Mobile on github
    https://github.com/jquery/jquery-mobile
•   Stack Overflow
    http://stackoverflow.com/
Keep in touch!

    http://flickr.hudsoncs.com/


    _davidhudson


    david@hudsoncs.com
24 reasons why I love beer

Más contenido relacionado

Destacado

Bullying
BullyingBullying
BullyingRui8d
 
Social media danger
Social media dangerSocial media danger
Social media dangerleaderj
 
Z force touch screen technology
Z force touch screen technologyZ force touch screen technology
Z force touch screen technologylokesh naidu
 
Safe Battery Handling
Safe Battery HandlingSafe Battery Handling
Safe Battery HandlingRahul Ahuja
 
Swift Delhi: Practical POP
Swift Delhi: Practical POPSwift Delhi: Practical POP
Swift Delhi: Practical POPNatasha Murashev
 
Manual Handling Training in Work Places
Manual Handling Training in Work PlacesManual Handling Training in Work Places
Manual Handling Training in Work PlacesRahul Ahuja
 
The Three Lies About Your Age
The Three Lies About Your AgeThe Three Lies About Your Age
The Three Lies About Your AgeSean Si
 
The Art of the Presentation
The Art of the PresentationThe Art of the Presentation
The Art of the PresentationJeffrey Stevens
 
Future Social: 10 Key Trends in Social Media
Future Social: 10 Key Trends in Social MediaFuture Social: 10 Key Trends in Social Media
Future Social: 10 Key Trends in Social MediaWe Are Social Singapore
 
How to Use Social Media to Influence the World
How to Use Social Media to Influence the WorldHow to Use Social Media to Influence the World
How to Use Social Media to Influence the WorldSean Si
 
Teaching Students with Emojis, Emoticons, & Textspeak
Teaching Students with Emojis, Emoticons, & TextspeakTeaching Students with Emojis, Emoticons, & Textspeak
Teaching Students with Emojis, Emoticons, & TextspeakShelly Sanchez Terrell
 
Mobile-First SEO - The Marketers Edition #3XEDigital
Mobile-First SEO - The Marketers Edition #3XEDigitalMobile-First SEO - The Marketers Edition #3XEDigital
Mobile-First SEO - The Marketers Edition #3XEDigitalAleyda Solís
 

Destacado (16)

my smartphone
my smartphonemy smartphone
my smartphone
 
Bullying
BullyingBullying
Bullying
 
Social media danger
Social media dangerSocial media danger
Social media danger
 
Z force touch screen technology
Z force touch screen technologyZ force touch screen technology
Z force touch screen technology
 
Firewall presentation
Firewall presentationFirewall presentation
Firewall presentation
 
Firewall
Firewall Firewall
Firewall
 
Safe Battery Handling
Safe Battery HandlingSafe Battery Handling
Safe Battery Handling
 
Swift Delhi: Practical POP
Swift Delhi: Practical POPSwift Delhi: Practical POP
Swift Delhi: Practical POP
 
Manual Handling Training in Work Places
Manual Handling Training in Work PlacesManual Handling Training in Work Places
Manual Handling Training in Work Places
 
The Three Lies About Your Age
The Three Lies About Your AgeThe Three Lies About Your Age
The Three Lies About Your Age
 
The Art of the Presentation
The Art of the PresentationThe Art of the Presentation
The Art of the Presentation
 
Future Social: 10 Key Trends in Social Media
Future Social: 10 Key Trends in Social MediaFuture Social: 10 Key Trends in Social Media
Future Social: 10 Key Trends in Social Media
 
How to Use Social Media to Influence the World
How to Use Social Media to Influence the WorldHow to Use Social Media to Influence the World
How to Use Social Media to Influence the World
 
Teaching Students with Emojis, Emoticons, & Textspeak
Teaching Students with Emojis, Emoticons, & TextspeakTeaching Students with Emojis, Emoticons, & Textspeak
Teaching Students with Emojis, Emoticons, & Textspeak
 
Mobile-First SEO - The Marketers Edition #3XEDigital
Mobile-First SEO - The Marketers Edition #3XEDigitalMobile-First SEO - The Marketers Edition #3XEDigital
Mobile-First SEO - The Marketers Edition #3XEDigital
 
Build Features, Not Apps
Build Features, Not AppsBuild Features, Not Apps
Build Features, Not Apps
 

Similar a Introduction to jQuery Mobile

TOC Workshop 2013
TOC Workshop 2013TOC Workshop 2013
TOC Workshop 2013Haig Armen
 
7 Actionable SEO Strategies to Build Real Revenue Now
7 Actionable SEO Strategies to Build Real Revenue Now7 Actionable SEO Strategies to Build Real Revenue Now
7 Actionable SEO Strategies to Build Real Revenue NowMiva
 
John Lincoln, MivaCon 2016 - 7 Actionable SEO Strategies to Build Real Revenu...
John Lincoln, MivaCon 2016 - 7 Actionable SEO Strategies to Build Real Revenu...John Lincoln, MivaCon 2016 - 7 Actionable SEO Strategies to Build Real Revenu...
John Lincoln, MivaCon 2016 - 7 Actionable SEO Strategies to Build Real Revenu...John Lincoln
 
Responsive Web Design - Tom Robertshaw
Responsive Web Design - Tom RobertshawResponsive Web Design - Tom Robertshaw
Responsive Web Design - Tom RobertshawMeet Magento Spain
 
Adobe phonegap-workshop-2013
Adobe phonegap-workshop-2013Adobe phonegap-workshop-2013
Adobe phonegap-workshop-2013Haig Armen
 
UTEP AITP Presentation - 10/17/2012
UTEP AITP Presentation - 10/17/2012UTEP AITP Presentation - 10/17/2012
UTEP AITP Presentation - 10/17/2012impulsedev
 
Responsive Design Overview for UB CIT
Responsive Design Overview for UB CITResponsive Design Overview for UB CIT
Responsive Design Overview for UB CITAdrian Roselli
 
Beginning jQuery Mobile
Beginning jQuery MobileBeginning jQuery Mobile
Beginning jQuery MobileTroy Miles
 
Web Apps and Responsive Design for Libraries
Web Apps and Responsive Design for LibrariesWeb Apps and Responsive Design for Libraries
Web Apps and Responsive Design for LibrariesMatt Machell
 
Lean Development: Design Through Iterative Experiments
Lean Development: Design Through Iterative ExperimentsLean Development: Design Through Iterative Experiments
Lean Development: Design Through Iterative ExperimentsSalesforce Developers
 
ICT Projects for Social Change.pptx
ICT Projects for Social Change.pptxICT Projects for Social Change.pptx
ICT Projects for Social Change.pptxALCondezEdquibanEbue
 
Multi screen HTML5
Multi screen HTML5Multi screen HTML5
Multi screen HTML5Ron Reiter
 
Absolute Beginners Guide to Drupal
Absolute Beginners Guide to DrupalAbsolute Beginners Guide to Drupal
Absolute Beginners Guide to DrupalRod Martin
 
Tales from the Accessibility Trenches
Tales from the Accessibility TrenchesTales from the Accessibility Trenches
Tales from the Accessibility Trenchesgraemecoleman
 
Curtin University Frontend Web Development
Curtin University Frontend Web DevelopmentCurtin University Frontend Web Development
Curtin University Frontend Web DevelopmentDaryll Chu
 
Web app with j query &amp; javascript (5:4)
Web app with j query &amp; javascript (5:4)Web app with j query &amp; javascript (5:4)
Web app with j query &amp; javascript (5:4)Thinkful
 
Web Performance & You - HighEdWeb Arkansas Version
Web Performance & You - HighEdWeb Arkansas VersionWeb Performance & You - HighEdWeb Arkansas Version
Web Performance & You - HighEdWeb Arkansas VersionDave Olsen
 

Similar a Introduction to jQuery Mobile (20)

TOC Workshop 2013
TOC Workshop 2013TOC Workshop 2013
TOC Workshop 2013
 
7 Actionable SEO Strategies to Build Real Revenue Now
7 Actionable SEO Strategies to Build Real Revenue Now7 Actionable SEO Strategies to Build Real Revenue Now
7 Actionable SEO Strategies to Build Real Revenue Now
 
John Lincoln, MivaCon 2016 - 7 Actionable SEO Strategies to Build Real Revenu...
John Lincoln, MivaCon 2016 - 7 Actionable SEO Strategies to Build Real Revenu...John Lincoln, MivaCon 2016 - 7 Actionable SEO Strategies to Build Real Revenu...
John Lincoln, MivaCon 2016 - 7 Actionable SEO Strategies to Build Real Revenu...
 
Responsive Web Design - Tom Robertshaw
Responsive Web Design - Tom RobertshawResponsive Web Design - Tom Robertshaw
Responsive Web Design - Tom Robertshaw
 
Adobe phonegap-workshop-2013
Adobe phonegap-workshop-2013Adobe phonegap-workshop-2013
Adobe phonegap-workshop-2013
 
CMS Joomla
CMS JoomlaCMS Joomla
CMS Joomla
 
UTEP AITP Presentation - 10/17/2012
UTEP AITP Presentation - 10/17/2012UTEP AITP Presentation - 10/17/2012
UTEP AITP Presentation - 10/17/2012
 
Responsive Design Overview for UB CIT
Responsive Design Overview for UB CITResponsive Design Overview for UB CIT
Responsive Design Overview for UB CIT
 
Web works hol
Web works holWeb works hol
Web works hol
 
Beginning jQuery Mobile
Beginning jQuery MobileBeginning jQuery Mobile
Beginning jQuery Mobile
 
Web Apps and Responsive Design for Libraries
Web Apps and Responsive Design for LibrariesWeb Apps and Responsive Design for Libraries
Web Apps and Responsive Design for Libraries
 
Lean Development: Design Through Iterative Experiments
Lean Development: Design Through Iterative ExperimentsLean Development: Design Through Iterative Experiments
Lean Development: Design Through Iterative Experiments
 
ICT Projects for Social Change.pptx
ICT Projects for Social Change.pptxICT Projects for Social Change.pptx
ICT Projects for Social Change.pptx
 
Multi screen HTML5
Multi screen HTML5Multi screen HTML5
Multi screen HTML5
 
Swf search final
Swf search finalSwf search final
Swf search final
 
Absolute Beginners Guide to Drupal
Absolute Beginners Guide to DrupalAbsolute Beginners Guide to Drupal
Absolute Beginners Guide to Drupal
 
Tales from the Accessibility Trenches
Tales from the Accessibility TrenchesTales from the Accessibility Trenches
Tales from the Accessibility Trenches
 
Curtin University Frontend Web Development
Curtin University Frontend Web DevelopmentCurtin University Frontend Web Development
Curtin University Frontend Web Development
 
Web app with j query &amp; javascript (5:4)
Web app with j query &amp; javascript (5:4)Web app with j query &amp; javascript (5:4)
Web app with j query &amp; javascript (5:4)
 
Web Performance & You - HighEdWeb Arkansas Version
Web Performance & You - HighEdWeb Arkansas VersionWeb Performance & You - HighEdWeb Arkansas Version
Web Performance & You - HighEdWeb Arkansas Version
 

Último

Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 

Último (20)

Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 

Introduction to jQuery Mobile

  • 1.
  • 2. Hi! I’m David About me: • Senior Web Developer, Southern Bancorp • Multiple disciplines including: PHP, Javascript, Objective-C , MySQL, CSS, HTML, Graphic Design, WordPress and Joomla themes/modules/plugins/widgets • <3 building interesting data driven web sites
  • 4. Today’s Sessions • 9:00am – 12:00pm – Seven life changing reasons why you should design for the mobile web – Why is jQuery so dang cool? – A Brief History of jQuery – jQuery Mobile: “What It Do?” – Creating gorgeous mobile web apps (in about 30 seconds) – GAMES!
  • 5. Today’s Sessions • 12:45pm – 4:00pm – Time to get your hands dirty – “Hello” + $(“#world”).val() + “!”; – Toolbars foolbars – Buttons… and danger – Creating forms that don’t suck – Great resources – Closing arguments + bonus: 24 reasons why I love beer
  • 8. Seven life changing reasons why you should design for the mobile web Reason #1: By 2014, mobile internet should take over desktop usage Source: http://www.digitalbuzzblog.com/2011-mobile-statistics-stats-facts-marketing-infographic/
  • 9. Seven life changing reasons why you should design for the mobile web Reason #2: 85% of mobile devices will be web enabled by 2012 Source: http://www.google.com/think/insights/topics/think-mobile.html
  • 10. Seven life changing reasons why you should design for the mobile web Reason #3: More than 50% of U.S. adults will be using a smartphone by the end of 2011 Source: http://www.google.com/think/insights/topics/think-mobile.html
  • 11. Seven life changing reasons why you should design for the mobile web Reason #4: In a typical week, 81% of smartphone users will browse the Internet Source: http://www.google.com/think/insights/topics/think-mobile.html
  • 12. Seven life changing reasons why you should design for the mobile web Reason #5: 49% of those who have seen a mobile ad take action. Of those: – 49% purchase – 42% click on the ad – 35% visit website Source: http://www.google.com/think/insights/topics/think-mobile.html
  • 13. Seven life changing reasons why you should design for the mobile web Reason #6: 29% of smartphone owners in the U.S. have made an online purchase using their smartphone Source: https://docs.google.com/gview?url=http://www.gstatic.com/ads/research/en/2011_Google_MMA_Global_Perspectives.pdf&chrome=true
  • 14. Seven life changing reasons why you should design for the mobile web Reason #7: Everybody’s doing it: “We understand that the new rule is ‘Mobile First.’ ” ~ Eric Schmidt, Google CEO
  • 15. “OK OK OK! I get it.”
  • 16. Why is jQuery so dang cool? • jQuery makes writing Javascript almost effortless – DOM selectors! $(“li.navigation”) – Daisy chain events and commands $(“li.navigation”).click(function() { alert(‘You clicked me!’); }).mouseover(function() { alert(‘You moused over me!’); }).css(‘color’, ‘red’); – Automaticly cross-browser compatible (mostly)
  • 17. Why is jQuery so dang cool? • jQuery is used…. a lot… by a lot of people. This means: – Extensive cache of plugins and themes that you can straight-up jack from jQuery.com for use in your mobile site. – Quick and easy access to help from websites like stackoverflow.com
  • 18. A brief history of jQuery 2005: John Resig posts about improving upon Behaviour.js methods. Description of jQuery by Behaviour.js website: “Jquery is like behaviour that has been sent back from the future by a secret f$%# government lab”
  • 19. A brief history of jQuery 2006: • jQuery announced at BarCampNYC and world rejoices • jQuery 1.0 released 2007: • Plugin repository created • jQuery UI announced
  • 20. A brief history of jQuery 2008: • jQuery UI release candidate made available 2009: • Boring 2010 • jQuery Mobile project announced and world rejoices once more
  • 22. jQuery Mobile: “What It Do?” The company line: “A unified user interface system that works seamlessly across all popular mobile device platforms, built on the rock-solid jQuery and jQuery UI foundation. Focused on a lightweight codebase built on progressive enhancement with a flexible, easily themeable design.”
  • 23. jQuery Mobile: “What It Don’t?” ALERT! You should probably stay away from developing with jQuery Mobile for these devices: Blackberry 4.x All older smartphone platforms and feature phones Any device that doesn’t support media queries MeeGo – Originally a target platform, but Nokia decision to relegate this platform to “experimental”, the good folks at jQuery are considering dropping support. Samsung Bada – The project doesn’t currently have test devices or emulators although so far it’s showing good support. No guarantee of future support.
  • 24. Creating gorgeous mobile web apps (in about 30 seconds) 1. Open our example files folder and go to /like_a_boss/ 2. Open index.html and check it out. 3. Open index.html in your favorite text editor 4. Edit line #23: <div data-role="page" id="main_page"> 5. Change to: <div data-role="page" id="main_page" data-theme="e" data-content-theme="e"> 6. Save and reopen 7. BAM!
  • 25. Let’s get to work! “Hello” + $(“#world”).val() + “!”; 1. Open our example files folder and go to /helloworld/ 2. Open index.html and check it out 3. Open index.html in your favorite text editor 4. Create new page containing text “Hello World!” 5. Create button to link to that page 1. Use data-role=“button” 6. Save that bad boy
  • 26. Let’s get to work! Toolbars foolbars 1. Open our example files folder and go to /foolbars/ 2. Open index.html and check it out 3. Open index.html in your favorite text editor 4. Learn more about buttons and come back  5. Add buttons to toolbar like so: <a href="index.html" data-icon=“delete”>Cancel</a> <h1>Toolbars Foolbars</h1> <a href="index.html" data-icon=“check”>Save</a> 6. Add footer buttons using a horizontal controlgroup
  • 27. Let’s get to work! Buttons… and danger 1. Open our example files folder and go to /dangerbuttons/ 2. Open index.html and check it out 3. Open index.html in your favorite text editor 4. Add positioning data rolls to each test button 1. Positions are: top, bottom, left, right and notext 2. Use data-iconpos=“whatever” 5. Change themes for each individual button 1. Themes are: a, b, c, d, e 2. Use data-theme=“whatever” 6. TEST TEST TEST TEST TEST
  • 28. Let’s get to work! Buttons… and danger 1. Add icons to grouped buttons 1. Icons are: arrow-l, arrow-r, arrow-u, arrow-d, delete, plus, minus, check, gear, refresh, forward, back, grid, star, alert, info, home, search 2. Use data-icon=“whatever” 2. Make group buttons horizontal 1. Add data-type=“horizontal” to your controlgroup 3. Add additional inline buttons 1. Play with different theme options to differentiate buttons 4. Test it!!
  • 29. Let’s get to work! Creating forms that don’t suck 1. Open our example files folder and go to /suckbegone/ 2. Open index.html and check it out 3. Open index.html in your favorite text editor 4. Create a contact form that includes at least: 1. Name, e-mail, phone, subject, website rating, city, state, zip code 5. Turn off native selection (HOLY $#%#! THIS IS AWESOME) 6. Save, test, HALELUJAH!
  • 30. Great Resources • jQuery 1.6 Visual Cheat Sheet http://woorkup.com/2011/05/12/jquery-visual-cheat-sheet-1-6/ • jQueryMobile.com • jQuery Mobile on github https://github.com/jquery/jquery-mobile • Stack Overflow http://stackoverflow.com/
  • 31. Keep in touch! http://flickr.hudsoncs.com/ _davidhudson david@hudsoncs.com
  • 32. 24 reasons why I love beer