SlideShare une entreprise Scribd logo
1  sur  9
Mobile Apps Development
Using HTML5, CSS3 and jQuery
Junejo Naeem Ahmed
WHAT YOU SHOULD ALREADY KNOW
JavaScript
HTML5 & CSS
Mobile Web Fundamentals
jQuery
INTRODUCTION TO JQUERY MOBILE
• jQuery Mobile is a cross platform way of building mobile
web apps.
• Now, remember, these are not native applications, these
are web applications and jQuery Mobile is a cross platform
framework for building these mobile web apps.
• jQuery Mobile relies on HTML5, CSS3, JavaScript and AJAX.
• jQuery Mobile enhances existing Web pages with a
consistent look across multiple modern mobile OSs.
• So, by using the jQuery Mobile library, you can give your
application a consistent look and feel, and it's configurable
enough where you can define your own CSS themes.
INTRODUCTION TO JQUERY MOBILE
Advantages
• it uses familiar HTML5
technologies to build
native-looking apps.
• works across multiple
platforms.
• Again, it provides a
consistent look and feel
for mobile applications.
• it's small and lightweight,
and modular.
Disadvantages
• relies on whatever the
platform's browser is,
which may on may not
support all of the library's
features.
• doesn't provide native
access to some platform
features.
• performance is not going
to be as fast as native
applications.
jQuery Mobile has some advantages and some disadvantages.
FIRST JQUERY MOBILE APP
• 3 files to include: jQuery, jQuery Mobile, CSS.
• declare the viewport meta tag.
• The viewport meta tag explains to the mobile
browser how large the page is and what kind of
virtual page size it should use when displaying the
content.
• markup our content as usual.
• enclose content within data-role attribute set to
the word page.
data-role=“page”
JQUERY MOBILE PAGE ARCHITECTURE
Internal Pages
• <body>
<div data-role=“page”>
(page content)
</div>
<div data-role=“page”>
(page content)
</div>
</body>
HTML
Page 1
Page 2
JQUERY MOBILE PAGE TRANSITIONS
Transitions Description
Fade Fades in the next page over the current one
Flip Flips in the next page over the current one
Pop The next page springs into view
Slide The next page slides in from the side
SlideDown The next page slides in from the top
SlideUp The next page slides in from the bottom
JQUERY MOBILE FORM BASICS
• JQuery Mobile automatically enhances elements.
• All of the elements in a form should be wrapped in a
proper form tag.
• Form controls should have unique IDs across your
entire site.
• Form Submissions are handled automatically via AJAX.
• Items are grouped using CSS class ui-field-contain
• jQuery Mobile requires all form controls to have labels
for accessibility.
• To hide a label, use the built in CSS class called ui-
hidden-accessible.
JQUERY MOBILE BUTTONS
• <button> Button </button>
• <input type=“Button” value=“Button” />
• <a href=“#” class=“ui-btn”>Button</a>
Button

Contenu connexe

Tendances

Website development Plumbing Company
Website development   Plumbing CompanyWebsite development   Plumbing Company
Website development Plumbing Company
rallysolutions
 

Tendances (20)

Advanced JQuery Mobile tutorial with Phonegap
Advanced JQuery Mobile tutorial with Phonegap Advanced JQuery Mobile tutorial with Phonegap
Advanced JQuery Mobile tutorial with Phonegap
 
Jquery mobile
Jquery mobileJquery mobile
Jquery mobile
 
jQuery Mobile: Progressive Enhancement with HTML5
jQuery Mobile: Progressive Enhancement with HTML5jQuery Mobile: Progressive Enhancement with HTML5
jQuery Mobile: Progressive Enhancement with HTML5
 
Responsive vs. Adaptive
Responsive vs. AdaptiveResponsive vs. Adaptive
Responsive vs. Adaptive
 
MVVM & Validation with Kendo UI
MVVM & Validation with Kendo UIMVVM & Validation with Kendo UI
MVVM & Validation with Kendo UI
 
Website development Plumbing Company
Website development   Plumbing CompanyWebsite development   Plumbing Company
Website development Plumbing Company
 
Barry mobile-seo
Barry mobile-seoBarry mobile-seo
Barry mobile-seo
 
Dictionary by phoneGap
Dictionary by phoneGapDictionary by phoneGap
Dictionary by phoneGap
 
Web 1.0
Web 1.0Web 1.0
Web 1.0
 
Search engine optimization(seo) (1)
Search engine optimization(seo) (1)Search engine optimization(seo) (1)
Search engine optimization(seo) (1)
 
AppNotch
AppNotchAppNotch
AppNotch
 
Web Usability
Web UsabilityWeb Usability
Web Usability
 
Establishing Performance Contexts
Establishing Performance ContextsEstablishing Performance Contexts
Establishing Performance Contexts
 
Mobile Website or Responsive Design? The Answer is NEITHER.
Mobile Website or Responsive Design? The Answer is NEITHER.Mobile Website or Responsive Design? The Answer is NEITHER.
Mobile Website or Responsive Design? The Answer is NEITHER.
 
Should I Build a Separate Mobile Site or a Responsive Site? Neither! with Der...
Should I Build a Separate Mobile Site or a Responsive Site? Neither! with Der...Should I Build a Separate Mobile Site or a Responsive Site? Neither! with Der...
Should I Build a Separate Mobile Site or a Responsive Site? Neither! with Der...
 
Story mapping
Story mappingStory mapping
Story mapping
 
Building an Adaptive App in Ember
Building an Adaptive App in EmberBuilding an Adaptive App in Ember
Building an Adaptive App in Ember
 
adaptive_ember
adaptive_emberadaptive_ember
adaptive_ember
 
Beautiful UI in react native By - nativebase.io
Beautiful UI in react native By - nativebase.ioBeautiful UI in react native By - nativebase.io
Beautiful UI in react native By - nativebase.io
 
Benefits of developing a Single Page Web Applications using AngularJS
Benefits of developing a Single Page Web Applications using AngularJSBenefits of developing a Single Page Web Applications using AngularJS
Benefits of developing a Single Page Web Applications using AngularJS
 

Similaire à jQuery Mobile

J query mobile tech talk
J query mobile tech talkJ query mobile tech talk
J query mobile tech talk
woliverj
 
Real-world Dojo Mobile
Real-world Dojo MobileReal-world Dojo Mobile
Real-world Dojo Mobile
Andrew Ferrier
 
GeneralMobile Hybrid Development with WordPress
GeneralMobile Hybrid Development with WordPressGeneralMobile Hybrid Development with WordPress
GeneralMobile Hybrid Development with WordPress
GGDBologna
 
D2W Branding Using jQuery ThemeRoller
D2W Branding Using jQuery ThemeRollerD2W Branding Using jQuery ThemeRoller
D2W Branding Using jQuery ThemeRoller
WO Community
 

Similaire à jQuery Mobile (20)

J query mobile tech talk
J query mobile tech talkJ query mobile tech talk
J query mobile tech talk
 
Beginning jQuery Mobile
Beginning jQuery MobileBeginning jQuery Mobile
Beginning jQuery Mobile
 
Kentico Technical Learning: Exploring jQuery Mobile
Kentico Technical Learning: Exploring jQuery MobileKentico Technical Learning: Exploring jQuery Mobile
Kentico Technical Learning: Exploring jQuery Mobile
 
Multi screen HTML5
Multi screen HTML5Multi screen HTML5
Multi screen HTML5
 
Jquery mobile book review
Jquery mobile book reviewJquery mobile book review
Jquery mobile book review
 
jQuery Mobile
jQuery MobilejQuery Mobile
jQuery Mobile
 
Mobile JS Frameworks
Mobile JS FrameworksMobile JS Frameworks
Mobile JS Frameworks
 
JavaScript for ASP.NET programmers (webcast) upload
JavaScript for ASP.NET programmers (webcast) uploadJavaScript for ASP.NET programmers (webcast) upload
JavaScript for ASP.NET programmers (webcast) upload
 
Real-world Dojo Mobile
Real-world Dojo MobileReal-world Dojo Mobile
Real-world Dojo Mobile
 
KATHY ZHANG_3
KATHY ZHANG_3KATHY ZHANG_3
KATHY ZHANG_3
 
Mobile Hybrid Development with WordPress
Mobile Hybrid Development with WordPressMobile Hybrid Development with WordPress
Mobile Hybrid Development with WordPress
 
GeneralMobile Hybrid Development with WordPress
GeneralMobile Hybrid Development with WordPressGeneralMobile Hybrid Development with WordPress
GeneralMobile Hybrid Development with WordPress
 
Building Better Web Apps with Angular.js (SXSW 2014)
Building Better Web Apps with Angular.js (SXSW 2014)Building Better Web Apps with Angular.js (SXSW 2014)
Building Better Web Apps with Angular.js (SXSW 2014)
 
Jquery
Jquery Jquery
Jquery
 
D2W Branding Using jQuery ThemeRoller
D2W Branding Using jQuery ThemeRollerD2W Branding Using jQuery ThemeRoller
D2W Branding Using jQuery ThemeRoller
 
Sai Sharan_UI_Resume
Sai Sharan_UI_ResumeSai Sharan_UI_Resume
Sai Sharan_UI_Resume
 
Cross Platform Mobile Development
Cross Platform Mobile DevelopmentCross Platform Mobile Development
Cross Platform Mobile Development
 
Station Four: Web Redesign Presentation
Station Four: Web Redesign PresentationStation Four: Web Redesign Presentation
Station Four: Web Redesign Presentation
 
Front End Applications Using One Stop JavaScript Library from Telerik
Front End Applications Using One Stop JavaScript Library from TelerikFront End Applications Using One Stop JavaScript Library from Telerik
Front End Applications Using One Stop JavaScript Library from Telerik
 
Mobile ASP.Net Web Forms - Making the impossible possible | FalafelCON 2014
Mobile ASP.Net Web Forms - Making the impossible possible | FalafelCON 2014Mobile ASP.Net Web Forms - Making the impossible possible | FalafelCON 2014
Mobile ASP.Net Web Forms - Making the impossible possible | FalafelCON 2014
 

Plus de Naeem Junejo (6)

Freelancing
FreelancingFreelancing
Freelancing
 
Introduction databases and MYSQL
Introduction databases and MYSQLIntroduction databases and MYSQL
Introduction databases and MYSQL
 
WordPress theme setting page
WordPress theme setting pageWordPress theme setting page
WordPress theme setting page
 
Introduction To WordPress
Introduction To WordPressIntroduction To WordPress
Introduction To WordPress
 
Wordpress custom-posttype
Wordpress custom-posttypeWordpress custom-posttype
Wordpress custom-posttype
 
Wordpress theme development
Wordpress theme developmentWordpress theme development
Wordpress theme development
 

Dernier

Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 

Dernier (20)

Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 

jQuery Mobile

  • 1. Mobile Apps Development Using HTML5, CSS3 and jQuery Junejo Naeem Ahmed
  • 2. WHAT YOU SHOULD ALREADY KNOW JavaScript HTML5 & CSS Mobile Web Fundamentals jQuery
  • 3. INTRODUCTION TO JQUERY MOBILE • jQuery Mobile is a cross platform way of building mobile web apps. • Now, remember, these are not native applications, these are web applications and jQuery Mobile is a cross platform framework for building these mobile web apps. • jQuery Mobile relies on HTML5, CSS3, JavaScript and AJAX. • jQuery Mobile enhances existing Web pages with a consistent look across multiple modern mobile OSs. • So, by using the jQuery Mobile library, you can give your application a consistent look and feel, and it's configurable enough where you can define your own CSS themes.
  • 4. INTRODUCTION TO JQUERY MOBILE Advantages • it uses familiar HTML5 technologies to build native-looking apps. • works across multiple platforms. • Again, it provides a consistent look and feel for mobile applications. • it's small and lightweight, and modular. Disadvantages • relies on whatever the platform's browser is, which may on may not support all of the library's features. • doesn't provide native access to some platform features. • performance is not going to be as fast as native applications. jQuery Mobile has some advantages and some disadvantages.
  • 5. FIRST JQUERY MOBILE APP • 3 files to include: jQuery, jQuery Mobile, CSS. • declare the viewport meta tag. • The viewport meta tag explains to the mobile browser how large the page is and what kind of virtual page size it should use when displaying the content. • markup our content as usual. • enclose content within data-role attribute set to the word page. data-role=“page”
  • 6. JQUERY MOBILE PAGE ARCHITECTURE Internal Pages • <body> <div data-role=“page”> (page content) </div> <div data-role=“page”> (page content) </div> </body> HTML Page 1 Page 2
  • 7. JQUERY MOBILE PAGE TRANSITIONS Transitions Description Fade Fades in the next page over the current one Flip Flips in the next page over the current one Pop The next page springs into view Slide The next page slides in from the side SlideDown The next page slides in from the top SlideUp The next page slides in from the bottom
  • 8. JQUERY MOBILE FORM BASICS • JQuery Mobile automatically enhances elements. • All of the elements in a form should be wrapped in a proper form tag. • Form controls should have unique IDs across your entire site. • Form Submissions are handled automatically via AJAX. • Items are grouped using CSS class ui-field-contain • jQuery Mobile requires all form controls to have labels for accessibility. • To hide a label, use the built in CSS class called ui- hidden-accessible.
  • 9. JQUERY MOBILE BUTTONS • <button> Button </button> • <input type=“Button” value=“Button” /> • <a href=“#” class=“ui-btn”>Button</a> Button