SlideShare a Scribd company logo
1 of 34
Tech Talk presented by
   Visual Schedule
The Browser Wars
• There were no standards, so each browser
  required it’s own special coding to get your
  web page to display properly
W3C Standards
• The W3C came in and implemented standards
  that every browser had to use, this solved the
  problem.
The Mobile Browser Wars
• The problems of multi-browser support has
  come back for phones
• Most of the market is now Droid and iOS,
  which simplifies things,
  but doesn’t solve them
A Solution
• jQuery Mobile is a cross device package that
  simplifies creating web apps for mobile
  devices
• Before getting too much into the details
  though, we need to give an overview of how
  javascript libraries work
JavaScript Libraries
jQuery
• jQuery is a multi-browser JavaScript library
  designed to simplify the client-side scripting of
  HTML.
jQuery


jQuery
              jQuery UI
Mobile


                  TouchPunch
jQuery Mobile Overview

What is jQuery Mobile?
     jQuery Mobile is a web UI development
  framework that is touch-friendly. It allows you
  develop mobile web applications that work across
  basically all smartphones and tablets.
     jQuery’s motto is “write less, do more” and
  jQuery Mobile certainly follows this trend
Why should I use jQuery Mobile?
• It is easy to use!
   – The hard coding has already been done, all that is left
     is the implementation
• It is already debugged!
   – Any errors that occur are in a very limited area,
     making debugging much easier (also, moves work
     from coding to declaring, which is both good and bad)
• Maintainability!
   – The simplified code makes it easier to edit and update
jQuery Mobile Overview
                      HTML and XML
                  document object model
  The jQuery       (DOM) traversing and
                       manipulation
     Mobile
  framework           Event handling
 builds on top
 of the jQuery
core, providing    Communication with
                   the server (via Ajax)
 a number of
   additional
    features      Animation and image
                  effects for web pages.
jQuery Mobile Overview
• jQuery Mobile supports both high-end and
  less capable devices
jQuery Mobile Overview
• jQuery Mobile focuses on creating a
  framework that is compatible with a wide
  variety of smartphones and tablet computers.
• The JQuery Mobile framework is compatible
  with other mobile app frameworks and
  platforms:
  – PhoneGap
  – Worklight
jQuery Mobile Overview
Advantages
• General simplicity:
   – The framework is simple. You can develop pages
     mainly using markup with little to no JavaScript.
• Small size:
   – The jQuery Mobile framework is only 12KB for the
     JavaScript library and 6KB for the CSS.
• Theming:
   – It also provides a way to create your own application
     styling.
jQuery Mobile Overview
Advantages
• Accessibility
   – jQuery Mobile is built with accessibility in mind. It
     supports Accessible Rich Internet Applications which
     help make web pages accessible for assistive
     technologies.
• Progressive enhancement:
   – While implementing the latest HTML5, CSS3, and
     JavaScript, the jQuery Mobile philosophy is to support
     both high-end and less capable devices.
Why it is Important?
Multibrower Support
“Graceful Degradation”
• jQuery Mobile implements an idea called
  graceful degradation.
  – If a browser does not implement certain features,
    jQuery Mobile uses alternate methods or simpler
    versions rather than breaking
What does jQuery do by itself?
Java Script/jQuery code comparision
Java Script/jQuery code comparision
Java Script/jQuery code comparision
What does jQuery Mobile do?
• It adds tons of easily usable elements most of
  which are based off data-*
What it looks like
Coding Demo
• The code is editable here:
http://jsbin.com/enayan/1/edit

• A more complex layout:
http://jsbin.com/welcome/32654/edit
jQuery mobile code!
• Brief jQuery Mobile Tutorial:
  http://www.1stwebdesigner.com/css/jquery-
  mobile-need-to-know/
• jQuert Mobile Tutorials:
  http://jquerymobile.com/demos/1.2.0/
How it applies to us
• Our app needs to have two distinct parts
  – Reading (jQuery UI and Touch Punch):
     • Only able to pull the schedules that have been made
       from the server, and drag/drop tasks from “to-do” to
       “finished”
     • Only used on an iPad
  – Authoring (jQuery Mobile):
     • Able to push and pull from the server and create a
       variety of different schedules/schedule types
     • Needs to be functional from any device with an
       internet connection
jQuery


jQuery
              jQuery UI
Mobile


                  TouchPunch
jQuery UI?
• jQuery UI is more similar to the jQuery Core
  than jQuery Mobile is; jQuery UI still primarily
  uses JavaScript rather than HTML additions.
  – Like jQuery Mobile it adds many new features to
    the jQuery Core
  – However, despite having a greater variety of
    added function, it lacks one key component:
    innate touch recognition
Touch Punch!
• Touch Punch is an add on to jQuery UI that
  adds touch functions
  – It was originally made by one guy in about an
    hour, so he could show his friend how to do it
  – After he started getting a flood of requests for the
    code, he decided to clean it up and share it with
    the public
  – The website has a good demo of the added
    functions: http://touchpunch.furf.com/
Which to choose?
   jQuery UI/Touch Punch                jQuery Mobile
• Larger library, including    •   Smaller file size
  smoother drag and drop       •   Easier coding/debugging,
• Looks more like coding you       once you get used to it
  are already used to          •   Easier set up
• jQuery Mobile themes can     •   More Native feel on mobile
  look odd when not on             devices
  mobile devices               •   Only one file
                               •   Features “graceful
                                   degradation”
Conclusion
• jQuery Mobile helps ease cross platform coding
   – This saves you from the hassle of dealing with a variety of
     different browsers at different functionality levels
• jQuery Mobile helps simplify the coding process by
  having a lot of pre-made, easy-to-use functions
   – This will save you time, effort and a lot of frustration
     during your build process
• jQuery Mobile incorporates a wide variety touch
  events
   – This allows you to fully utilize the touch screen capability
     of mobile devices
QUESTIONS?

More Related Content

What's hot

Mobile web application production for business
Mobile web application production for businessMobile web application production for business
Mobile web application production for business
Hani Gamal
 
Real-world Dojo Mobile
Real-world Dojo MobileReal-world Dojo Mobile
Real-world Dojo Mobile
Andrew Ferrier
 
Case study: integrating azure with google app engine
Case study: integrating azure with google app engine Case study: integrating azure with google app engine
Case study: integrating azure with google app engine
Miguel Scotter
 

What's hot (20)

Synapse india reviews on cross plateform mobile apps development
Synapse india reviews on cross plateform mobile apps developmentSynapse india reviews on cross plateform mobile apps development
Synapse india reviews on cross plateform mobile apps development
 
Mobile web application production for business
Mobile web application production for businessMobile web application production for business
Mobile web application production for business
 
AppNotch
AppNotchAppNotch
AppNotch
 
Mobile applications chapter 2
Mobile applications chapter 2Mobile applications chapter 2
Mobile applications chapter 2
 
Consider Starting Small
Consider Starting SmallConsider Starting Small
Consider Starting Small
 
Real-world Dojo Mobile
Real-world Dojo MobileReal-world Dojo Mobile
Real-world Dojo Mobile
 
Case study: integrating azure with google app engine
Case study: integrating azure with google app engine Case study: integrating azure with google app engine
Case study: integrating azure with google app engine
 
Responsive Web Design: Advantages & Best Practice - Darrin Adams, Cantarus
Responsive Web Design: Advantages & Best Practice - Darrin Adams, CantarusResponsive Web Design: Advantages & Best Practice - Darrin Adams, Cantarus
Responsive Web Design: Advantages & Best Practice - Darrin Adams, Cantarus
 
Responsive Web Design - Advantages and Best Practice for Sports Direct
Responsive Web Design - Advantages and Best Practice for Sports DirectResponsive Web Design - Advantages and Best Practice for Sports Direct
Responsive Web Design - Advantages and Best Practice for Sports Direct
 
Joomla User eXperience - Joomla Day NYC 2011
Joomla User eXperience - Joomla Day NYC 2011Joomla User eXperience - Joomla Day NYC 2011
Joomla User eXperience - Joomla Day NYC 2011
 
Ux
UxUx
Ux
 
Mobile Information Architecture
Mobile Information ArchitectureMobile Information Architecture
Mobile Information Architecture
 
Mobile applications chapter 4
Mobile applications chapter 4Mobile applications chapter 4
Mobile applications chapter 4
 
Eureko frameworks
Eureko frameworksEureko frameworks
Eureko frameworks
 
Synapse india reviews on mobile application development
Synapse india reviews on mobile application developmentSynapse india reviews on mobile application development
Synapse india reviews on mobile application development
 
Mobile for the rest of us
Mobile for the rest of usMobile for the rest of us
Mobile for the rest of us
 
Design for iOS 7
Design for iOS 7Design for iOS 7
Design for iOS 7
 
Ionic Framework - get up and running to build hybrid mobile apps
Ionic Framework - get up and running to build hybrid mobile appsIonic Framework - get up and running to build hybrid mobile apps
Ionic Framework - get up and running to build hybrid mobile apps
 
Wireless Wednesdays: Part 1
Wireless Wednesdays: Part 1Wireless Wednesdays: Part 1
Wireless Wednesdays: Part 1
 
In-Browser Testing
In-Browser TestingIn-Browser Testing
In-Browser Testing
 

Similar to J query mobile tech talk

Mobile ECM with JavaScript - JSE 2011
Mobile ECM with JavaScript - JSE 2011Mobile ECM with JavaScript - JSE 2011
Mobile ECM with JavaScript - JSE 2011
Nuxeo
 
Intro j query_mobile_mojo
Intro j query_mobile_mojoIntro j query_mobile_mojo
Intro j query_mobile_mojo
Jeff Tillett
 
State of jQuery - AspDotNetStorefront Conference
State of jQuery - AspDotNetStorefront ConferenceState of jQuery - AspDotNetStorefront Conference
State of jQuery - AspDotNetStorefront Conference
dmethvin
 

Similar to J query mobile tech talk (20)

Mobile JS Frameworks
Mobile JS FrameworksMobile JS Frameworks
Mobile JS Frameworks
 
Mobile applications chapter 5
Mobile applications chapter 5Mobile applications chapter 5
Mobile applications chapter 5
 
Nonintrusive semantic html5
Nonintrusive semantic html5Nonintrusive semantic html5
Nonintrusive semantic html5
 
Jquery mobile
Jquery mobileJquery mobile
Jquery mobile
 
Introduction to hybrid application development
Introduction to hybrid application developmentIntroduction to hybrid application development
Introduction to hybrid application development
 
Jquery Mobile
Jquery MobileJquery Mobile
Jquery Mobile
 
jQuery Mobile
jQuery MobilejQuery Mobile
jQuery Mobile
 
chapter2
chapter2chapter2
chapter2
 
Mobile web development
Mobile web development Mobile web development
Mobile web development
 
Mobile ECM with JavaScript - JSE 2011
Mobile ECM with JavaScript - JSE 2011Mobile ECM with JavaScript - JSE 2011
Mobile ECM with JavaScript - JSE 2011
 
Start IoT with jQueryMobile - 기초1
Start IoT with jQueryMobile - 기초1Start IoT with jQueryMobile - 기초1
Start IoT with jQueryMobile - 기초1
 
Why Do Mobile Projects Fail?
Why Do Mobile Projects Fail?Why Do Mobile Projects Fail?
Why Do Mobile Projects Fail?
 
Multiplatform
MultiplatformMultiplatform
Multiplatform
 
Intro j query_mobile_mojo
Intro j query_mobile_mojoIntro j query_mobile_mojo
Intro j query_mobile_mojo
 
State of jQuery - AspDotNetStorefront Conference
State of jQuery - AspDotNetStorefront ConferenceState of jQuery - AspDotNetStorefront Conference
State of jQuery - AspDotNetStorefront Conference
 
Jquery mobile book review
Jquery mobile book reviewJquery mobile book review
Jquery mobile book review
 
DrupalCamp NH
DrupalCamp NHDrupalCamp NH
DrupalCamp NH
 
jQuery: The World's Most Popular JavaScript Library Comes to XPages
jQuery: The World's Most Popular JavaScript Library Comes to XPagesjQuery: The World's Most Popular JavaScript Library Comes to XPages
jQuery: The World's Most Popular JavaScript Library Comes to XPages
 
Webview: The fifth element
Webview: The fifth elementWebview: The fifth element
Webview: The fifth element
 
Introduction to j query mobile framework
Introduction to j query mobile frameworkIntroduction to j query mobile framework
Introduction to j query mobile framework
 

J query mobile tech talk

  • 1. Tech Talk presented by Visual Schedule
  • 2.
  • 3. The Browser Wars • There were no standards, so each browser required it’s own special coding to get your web page to display properly
  • 4. W3C Standards • The W3C came in and implemented standards that every browser had to use, this solved the problem.
  • 5. The Mobile Browser Wars • The problems of multi-browser support has come back for phones • Most of the market is now Droid and iOS, which simplifies things, but doesn’t solve them
  • 6. A Solution • jQuery Mobile is a cross device package that simplifies creating web apps for mobile devices • Before getting too much into the details though, we need to give an overview of how javascript libraries work
  • 8. jQuery • jQuery is a multi-browser JavaScript library designed to simplify the client-side scripting of HTML.
  • 9. jQuery jQuery jQuery UI Mobile TouchPunch
  • 10. jQuery Mobile Overview What is jQuery Mobile? jQuery Mobile is a web UI development framework that is touch-friendly. It allows you develop mobile web applications that work across basically all smartphones and tablets. jQuery’s motto is “write less, do more” and jQuery Mobile certainly follows this trend
  • 11. Why should I use jQuery Mobile? • It is easy to use! – The hard coding has already been done, all that is left is the implementation • It is already debugged! – Any errors that occur are in a very limited area, making debugging much easier (also, moves work from coding to declaring, which is both good and bad) • Maintainability! – The simplified code makes it easier to edit and update
  • 12. jQuery Mobile Overview HTML and XML document object model The jQuery (DOM) traversing and manipulation Mobile framework Event handling builds on top of the jQuery core, providing Communication with the server (via Ajax) a number of additional features Animation and image effects for web pages.
  • 13. jQuery Mobile Overview • jQuery Mobile supports both high-end and less capable devices
  • 14. jQuery Mobile Overview • jQuery Mobile focuses on creating a framework that is compatible with a wide variety of smartphones and tablet computers. • The JQuery Mobile framework is compatible with other mobile app frameworks and platforms: – PhoneGap – Worklight
  • 15. jQuery Mobile Overview Advantages • General simplicity: – The framework is simple. You can develop pages mainly using markup with little to no JavaScript. • Small size: – The jQuery Mobile framework is only 12KB for the JavaScript library and 6KB for the CSS. • Theming: – It also provides a way to create your own application styling.
  • 16. jQuery Mobile Overview Advantages • Accessibility – jQuery Mobile is built with accessibility in mind. It supports Accessible Rich Internet Applications which help make web pages accessible for assistive technologies. • Progressive enhancement: – While implementing the latest HTML5, CSS3, and JavaScript, the jQuery Mobile philosophy is to support both high-end and less capable devices.
  • 17. Why it is Important?
  • 19. “Graceful Degradation” • jQuery Mobile implements an idea called graceful degradation. – If a browser does not implement certain features, jQuery Mobile uses alternate methods or simpler versions rather than breaking
  • 20. What does jQuery do by itself?
  • 21. Java Script/jQuery code comparision
  • 22. Java Script/jQuery code comparision
  • 23. Java Script/jQuery code comparision
  • 24. What does jQuery Mobile do? • It adds tons of easily usable elements most of which are based off data-*
  • 26. Coding Demo • The code is editable here: http://jsbin.com/enayan/1/edit • A more complex layout: http://jsbin.com/welcome/32654/edit
  • 27. jQuery mobile code! • Brief jQuery Mobile Tutorial: http://www.1stwebdesigner.com/css/jquery- mobile-need-to-know/ • jQuert Mobile Tutorials: http://jquerymobile.com/demos/1.2.0/
  • 28. How it applies to us • Our app needs to have two distinct parts – Reading (jQuery UI and Touch Punch): • Only able to pull the schedules that have been made from the server, and drag/drop tasks from “to-do” to “finished” • Only used on an iPad – Authoring (jQuery Mobile): • Able to push and pull from the server and create a variety of different schedules/schedule types • Needs to be functional from any device with an internet connection
  • 29. jQuery jQuery jQuery UI Mobile TouchPunch
  • 30. jQuery UI? • jQuery UI is more similar to the jQuery Core than jQuery Mobile is; jQuery UI still primarily uses JavaScript rather than HTML additions. – Like jQuery Mobile it adds many new features to the jQuery Core – However, despite having a greater variety of added function, it lacks one key component: innate touch recognition
  • 31. Touch Punch! • Touch Punch is an add on to jQuery UI that adds touch functions – It was originally made by one guy in about an hour, so he could show his friend how to do it – After he started getting a flood of requests for the code, he decided to clean it up and share it with the public – The website has a good demo of the added functions: http://touchpunch.furf.com/
  • 32. Which to choose? jQuery UI/Touch Punch jQuery Mobile • Larger library, including • Smaller file size smoother drag and drop • Easier coding/debugging, • Looks more like coding you once you get used to it are already used to • Easier set up • jQuery Mobile themes can • More Native feel on mobile look odd when not on devices mobile devices • Only one file • Features “graceful degradation”
  • 33. Conclusion • jQuery Mobile helps ease cross platform coding – This saves you from the hassle of dealing with a variety of different browsers at different functionality levels • jQuery Mobile helps simplify the coding process by having a lot of pre-made, easy-to-use functions – This will save you time, effort and a lot of frustration during your build process • jQuery Mobile incorporates a wide variety touch events – This allows you to fully utilize the touch screen capability of mobile devices

Editor's Notes

  1. Good supportSpecific example