SlideShare a Scribd company logo
1 of 40
Strathmore Mobile Boot Camp
                November 2010
         Mobile Website Development
           Mobile Internet Standards


Facilitated by:
Michael Wakahe
Shujaa Solutions Ltd
Table of Contents
 Introduction to Mobile Web Standards

 Structure

 Presentation

 Client Side Scripting

 MIME Types

 Standardization Bodies

                   Copyright © Shujaa Solutions Ltd. 2010. All
                               Rights Reserved.
Introduction to Mobile
    Web Standards




     Copyright © Shujaa Solutions Ltd. 2010. All
                 Rights Reserved.
Mobile Web Standards

 Fundamentally, there is one Web.




 Its content is standardized

  markup, styles, scripts, and multimedia viewable

  using web browsers.
                   Copyright © Shujaa Solutions Ltd. 2010. All
                               Rights Reserved.
Mobile Web Standards

 A standards-based approach to Mobile Web

  development ensures compliance and usability

  across mobile browsers & platforms.

 Knowing all the rules & knowing when to ignore the

  rules is necessary for success on the Mobile Web.

                  Copyright © Shujaa Solutions Ltd. 2010. All
                              Rights Reserved.
Mobile Web Standards

 Various standards involved in:

    Structure

    Presentation

    Client Side Scripting




                     Copyright © Shujaa Solutions Ltd. 2010. All
                                 Rights Reserved.
Structure




Copyright © Shujaa Solutions Ltd. 2010. All
            Rights Reserved.
Mobile Web Standards
 XML-formatted markup defines the document
  structure

 Handsets may support WML, XHTML, HTML4, HTML5
  in varying degrees

 These XML standards have various versions &
  derivations

                  Copyright © Shujaa Solutions Ltd. 2010. All
                              Rights Reserved.
Mobile Web Standards
 Previously WML was dominant, now best
  results with XHTML MP

 Specifically XHTML MP 1.0

 Most modern phones support WAP 2.0, which
  uses XHTML MP as the primary markup
  language while WAP 1.0 used WML.

               Copyright © Shujaa Solutions Ltd. 2010. All
                           Rights Reserved.
Mobile Web Standards
 XHTML-MP (Extensible Hypertext Markup
  Language - Mobile Profile) is a specialization
  XHTML designed to incorporate features
  useful to mobile devices.

 XHTML-MP 1.0 was defined by the OMA and is
  an extension of the original W3C-inspired
  XHTML Basic 1.0.


                Copyright © Shujaa Solutions Ltd. 2010. All
                            Rights Reserved.
Mobile Web Standards
 Over time, OMA has developed XHTML-MP
  and now has a proposed 1.2 version of its
  specification.

 XHTML-MP comes with a mobile-friendly
  means of using CSS to separate presentation
  from the markup, just like on the desktop.


               Copyright © Shujaa Solutions Ltd. 2010. All
                           Rights Reserved.
Mobile Web Standards
 XHTML-MP 1.0 sets the base tags for mobile
  markup.
 XHTML-MP 1.1 adds the <script> tag and
  support for mobile JavaScript.
 XHTML-MP 1.2 adds more form tags and text
  input modes.
 Currently many mobile browsers do not
  support XHTML-MP 1.2.
               Copyright © Shujaa Solutions Ltd. 2010. All
                           Rights Reserved.
Mobile Web Standards
 Mobile Web sites targeting only smartphones
  can use the full feature set of HTML 4 & in the
  near future, HTML 5.

 Using desktop markup also invites
  transcoders - network appliances designed to
  optimize the Desktop Web for mobile devices
  by reformatting markup

                Copyright © Shujaa Solutions Ltd. 2010. All
                            Rights Reserved.
Mobile Web Standards
 HTML 5 is the next major release of the foundational
  language of the Web.

 It is currently a draft recommendation undergoing
  active revision at the W3C
  (http://www.w3.org/TR/html5/)

 HTML 5 will be the next standard for markup and
  APIs supported in Web browsers.
                  Copyright © Shujaa Solutions Ltd. 2010. All
                              Rights Reserved.
Presentation




Copyright © Shujaa Solutions Ltd. 2010. All
            Rights Reserved.
Mobile Web Standards

 Cascading Style Sheets (CSS) control the

  presentation.

 Most XHTML-MP mobile browsers support Wireless

  CSS, CSS Mobile Profile, and/or CSS 2.

 CSS 3 is new, coming along with HTML5
                  Copyright © Shujaa Solutions Ltd. 2010. All
                              Rights Reserved.
Mobile Web Standards
 The OMA-managed Wireless CSS standard is a
  subset of CSS and is also part of the WAP 2.0
  specification.

 Note that Wireless CSS is not backwards
  compatible with WML.



                Copyright © Shujaa Solutions Ltd. 2010. All
                            Rights Reserved.
Mobile Web Standards

 Wireless CSS and CSS Mobile Profile are tightly
  related, but independent mobile subsets of
  CSS2 used to style XHTML-MP documents.



 Wireless CSS is a CSS2 subset standardized by
  the Open Mobile Alliance.
                Copyright © Shujaa Solutions Ltd. 2010. All
                            Rights Reserved.
Mobile Web Standards

 CSS Mobile Profile is a CSS2 subset—with
  some features borrowed from CSS3—that is
  standardized by the W3C.

 The W3C’s goal is to align CSS Mobile Profile
  with Wireless CSS as much as possible.


                Copyright © Shujaa Solutions Ltd. 2010. All
                            Rights Reserved.
Mobile Web Standards
 Overall, Wireless CSS is a more restricted subset and
  an older standard targeted at Web browsers on
  resource-limited mobile devices.

 CSS Mobile Profile adds in much more of the CSS2
  standard to enable richer web documents but risks
  full support on mass market mobile browsers.


                  Copyright © Shujaa Solutions Ltd. 2010. All
                              Rights Reserved.
Mobile Web Standards
 You can add Wireless CSS to your document the same way as
  you would for a normal HTML document.

 Link to an external global stylesheet using the following line:
    <link href="external.css" rel="stylesheet" type="text/css" />

 Insert styles at the document head the following example
  shows:
        <style>
            p{
                  font-size: small;
            }
        </style>

                          Copyright © Shujaa Solutions Ltd. 2010. All
                                      Rights Reserved.
Mobile Web Standards
 Wireless CSS supports a lot CSS attributes, but
  not all of them.

 More advanced styling techniques won’t likely
  work across multiple mobile browsers.

 The best advice is to keep your CSS as simple
  as possible.

                Copyright © Shujaa Solutions Ltd. 2010. All
                            Rights Reserved.
Client Side Scripting




    Copyright © Shujaa Solutions Ltd. 2010. All
                Rights Reserved.
Mobile Web Standards

 Client-side scripting mainly through Javascript

 ECMAScript-MP or mobile JavaScript targets mobile

  phones

 WMLScript is a scripting language which

  complements WML.
                   Copyright © Shujaa Solutions Ltd. 2010. All
                               Rights Reserved.
Mobile Web Standards

 Client-side scripting in mobile browsers used to be

  the exclusive domain of smartphones, but this is

  rapidly changing.

 Many mass-market mobile devices beginning to

  support mobile JavaScript.

                  Copyright © Shujaa Solutions Ltd. 2010. All
                              Rights Reserved.
Mobile Web Standards
 As with any client-side mobile technology, testing
  JavaScript on actual mobile devices is critical for
  effective development

 Testing on emulators and in Firefox might not
  uncover syntax problems and performance issues
  that can occur on the target mobile device.

                  Copyright © Shujaa Solutions Ltd. 2010. All
                              Rights Reserved.
Mobile Web Standards
 Mobile and desktop JavaScript have virtually
  identical syntax.



 The mobile version is stringent about ending
  lines with semicolons.

                 Copyright © Shujaa Solutions Ltd. 2010. All
                             Rights Reserved.
Mobile Web Standards
 Mobile JavaScript reduces the supported
  character sets and excludes computationally
  intensive language elements.

 It differs from its desktop counterpart in the
  extent of its DOM and event support in the
  mobile browser.
                 Copyright © Shujaa Solutions Ltd. 2010. All
                             Rights Reserved.
Mobile Web Standards
 DOM and event support can vary from one
  browser vendor and version to another.



 On-device testing is critical for success with
  mobile JavaScript.

                 Copyright © Shujaa Solutions Ltd. 2010. All
                             Rights Reserved.
Mobile Web Standards
 You can use device awareness and content
 adaptation techniques that enable conditional
 inclusion of scripting to target only mobile
 browsers with support for JavaScript.




               Copyright © Shujaa Solutions Ltd. 2010. All
                           Rights Reserved.
MIME Types




Copyright © Shujaa Solutions Ltd. 2010. All
            Rights Reserved.
Mobile Web Standards
 Mobile MIME types (or content types) identify
  the format of Mobile Web content.

 Formats are differentiated by web servers and
  browser clients in an HTTP transaction using
  MIME types


                Copyright © Shujaa Solutions Ltd. 2010. All
                            Rights Reserved.
Mobile Web Standards
 Text documents containing mobile markup



 Binary files include viewable or playable
  content like ringtones, wallpaper and
  videos, and binary executable mobile
  applications
                 Copyright © Shujaa Solutions Ltd. 2010. All
                             Rights Reserved.
Standardization Bodies




     Copyright © Shujaa Solutions Ltd. 2010. All
                 Rights Reserved.
Mobile Web Standards
 Mobile Industry Groups and Standards Bodies
  adherence to Mobile Web industry standards and
  best practices is important for flexible and cross-
  platform development.

 Several Internet and mobile industry bodies govern
  Mobile Web standards and recommended best
  practices
                   Copyright © Shujaa Solutions Ltd. 2010. All
                               Rights Reserved.
Mobile Web Standards
 W3C: This body standardizes mobile markup
  languages and publishes best practices documents
  for Mobile Web development and testing.




                 Copyright © Shujaa Solutions Ltd. 2010. All
                             Rights Reserved.
Mobile Web Standards
 Open Mobile Alliance (formerly WAP Forum): This
  body standardizes mobile markup and style
  languages and other mobile technologies designed
  to be interoperable across devices, geographies, and
  mobile networks.




                  Copyright © Shujaa Solutions Ltd. 2010. All
                              Rights Reserved.
Mobile Web Standards
 dotMobi (http://mtld.mobi): This body controls the
  .mobi top-level domain, the content of which must
  be device-adaptive and compatible with mobile
  devices.

 This body also publishes best practices for Mobile
  Web development and nurtures mobile
  developers, marketers, and operators with online
                  Copyright © Shujaa Solutions Ltd. 2010. All
  communities.                Rights Reserved.
Mobile Web Standards
 Mobile Marketing Association: This body
 centralizes technology recommendations and
 best practices for marketing and advertising
 on mobile devices.




               Copyright © Shujaa Solutions Ltd. 2010. All
                           Rights Reserved.
Mobile Web Standards
 Open Mobile Terminal Platform (OMTP)
 (www.omtp.org/): This operator-sponsored
 mobile industry group standardizing mobile
 device access from Web applications.




              Copyright © Shujaa Solutions Ltd. 2010. All
                          Rights Reserved.

More Related Content

What's hot

What's hot (20)

Destination Sequenced Distance Vector Routing (DSDV)
Destination Sequenced Distance Vector Routing (DSDV)Destination Sequenced Distance Vector Routing (DSDV)
Destination Sequenced Distance Vector Routing (DSDV)
 
Distance Vector Routing Protocols
Distance Vector Routing ProtocolsDistance Vector Routing Protocols
Distance Vector Routing Protocols
 
Ch5
Ch5Ch5
Ch5
 
Pstn (Public Switched Telephone Networks)
Pstn (Public Switched Telephone Networks)Pstn (Public Switched Telephone Networks)
Pstn (Public Switched Telephone Networks)
 
Mobile Transport layer
Mobile Transport layerMobile Transport layer
Mobile Transport layer
 
Global system for mobile communication(GSM)
Global system for mobile communication(GSM)Global system for mobile communication(GSM)
Global system for mobile communication(GSM)
 
Geo-Cast Routing Protocol
Geo-Cast Routing ProtocolGeo-Cast Routing Protocol
Geo-Cast Routing Protocol
 
Computer network switching
Computer network switchingComputer network switching
Computer network switching
 
Authentication service security
Authentication service securityAuthentication service security
Authentication service security
 
Address resolution protocol (ARP)
Address resolution protocol (ARP)Address resolution protocol (ARP)
Address resolution protocol (ARP)
 
Generations of Mobile Communications
Generations of Mobile CommunicationsGenerations of Mobile Communications
Generations of Mobile Communications
 
Transport layer protocol
Transport layer protocolTransport layer protocol
Transport layer protocol
 
Mobile Computing I-Unit Notes
Mobile Computing I-Unit NotesMobile Computing I-Unit Notes
Mobile Computing I-Unit Notes
 
wireless network IEEE 802.11
 wireless network IEEE 802.11 wireless network IEEE 802.11
wireless network IEEE 802.11
 
WSN-Routing Protocols Energy Efficient Routing
WSN-Routing Protocols Energy Efficient RoutingWSN-Routing Protocols Energy Efficient Routing
WSN-Routing Protocols Energy Efficient Routing
 
IoT Networking
IoT NetworkingIoT Networking
IoT Networking
 
Architecture of Mobile Computing
Architecture of Mobile ComputingArchitecture of Mobile Computing
Architecture of Mobile Computing
 
Network Layer design Issues.pptx
Network Layer design Issues.pptxNetwork Layer design Issues.pptx
Network Layer design Issues.pptx
 
IEEE 802.11 and Bluetooth
IEEE 802.11 and BluetoothIEEE 802.11 and Bluetooth
IEEE 802.11 and Bluetooth
 
Mobile Network Layer
Mobile Network LayerMobile Network Layer
Mobile Network Layer
 

Viewers also liked

Wireless local loop 26 june
Wireless local loop 26 juneWireless local loop 26 june
Wireless local loop 26 june
Ahmed Albidhany
 
Cell Station Pada Jaringan Wireless Local Loop
Cell Station Pada Jaringan Wireless Local LoopCell Station Pada Jaringan Wireless Local Loop
Cell Station Pada Jaringan Wireless Local Loop
Materi Kuliah Online
 
Wireless local loop
Wireless local loopWireless local loop
Wireless local loop
akki_hearts
 
Virtual Network Computing
Virtual Network ComputingVirtual Network Computing
Virtual Network Computing
rojalina nanda
 
Local multipoint distribution service(lmds)
Local multipoint distribution service(lmds)Local multipoint distribution service(lmds)
Local multipoint distribution service(lmds)
Vivek Kumar
 
Module 9: Challenges & Pitfalls
Module 9: Challenges & PitfallsModule 9: Challenges & Pitfalls
Module 9: Challenges & Pitfalls
Cardet1
 

Viewers also liked (20)

Wireless Local Loop
Wireless Local LoopWireless Local Loop
Wireless Local Loop
 
Wireless local loop 26 june
Wireless local loop 26 juneWireless local loop 26 june
Wireless local loop 26 june
 
Cell Station Pada Jaringan Wireless Local Loop
Cell Station Pada Jaringan Wireless Local LoopCell Station Pada Jaringan Wireless Local Loop
Cell Station Pada Jaringan Wireless Local Loop
 
Wireless Local Loop
Wireless Local LoopWireless Local Loop
Wireless Local Loop
 
Wireless local loop
Wireless local loopWireless local loop
Wireless local loop
 
Virtual Network Computing
Virtual Network ComputingVirtual Network Computing
Virtual Network Computing
 
Iridium , Globalstar , ICO satellite system
Iridium , Globalstar , ICO satellite systemIridium , Globalstar , ICO satellite system
Iridium , Globalstar , ICO satellite system
 
Wireless in local loop
Wireless in local loopWireless in local loop
Wireless in local loop
 
Virtual network computing ppt
Virtual network computing pptVirtual network computing ppt
Virtual network computing ppt
 
Wireless Markup Language,wml,mobile computing
Wireless Markup Language,wml,mobile computingWireless Markup Language,wml,mobile computing
Wireless Markup Language,wml,mobile computing
 
Wireless Markup Language
Wireless Markup LanguageWireless Markup Language
Wireless Markup Language
 
variable frequency drive (VFD) installation
variable frequency drive (VFD) installationvariable frequency drive (VFD) installation
variable frequency drive (VFD) installation
 
Wireless local loop
Wireless local loopWireless local loop
Wireless local loop
 
Mobile transport layer - traditional TCP
Mobile transport layer - traditional TCPMobile transport layer - traditional TCP
Mobile transport layer - traditional TCP
 
Local multipoint distribution service(lmds)
Local multipoint distribution service(lmds)Local multipoint distribution service(lmds)
Local multipoint distribution service(lmds)
 
Mobile satellite communication
Mobile satellite communicationMobile satellite communication
Mobile satellite communication
 
3 g and 4g final ppt
3 g and 4g final ppt3 g and 4g final ppt
3 g and 4g final ppt
 
Wireless local loop
Wireless local loopWireless local loop
Wireless local loop
 
Module 9: Challenges & Pitfalls
Module 9: Challenges & PitfallsModule 9: Challenges & Pitfalls
Module 9: Challenges & Pitfalls
 
speed control of three phase induction motor
speed control of three phase induction motorspeed control of three phase induction motor
speed control of three phase induction motor
 

Similar to Mobile Internet Standards

Developing Pages for Mobile Web 3 2-15-09
Developing Pages for Mobile Web 3 2-15-09Developing Pages for Mobile Web 3 2-15-09
Developing Pages for Mobile Web 3 2-15-09
Carolyn Bickford
 
IBM Mobile portal experience
IBM Mobile portal experienceIBM Mobile portal experience
IBM Mobile portal experience
Vincent Perrin
 
Mobile web technologies_overview_v1_0_en
Mobile web technologies_overview_v1_0_enMobile web technologies_overview_v1_0_en
Mobile web technologies_overview_v1_0_en
Hemant Shah
 

Similar to Mobile Internet Standards (20)

Mobile Internet Standards
Mobile Internet StandardsMobile Internet Standards
Mobile Internet Standards
 
Introduction to Mobile Internet
Introduction to Mobile InternetIntroduction to Mobile Internet
Introduction to Mobile Internet
 
Mobile website development Services
Mobile website development Services Mobile website development Services
Mobile website development Services
 
Mobile Website Development
Mobile Website DevelopmentMobile Website Development
Mobile Website Development
 
Cross platform development - Rhomobile
Cross platform development - RhomobileCross platform development - Rhomobile
Cross platform development - Rhomobile
 
Developing Pages for Mobile Web 3 2-15-09
Developing Pages for Mobile Web 3 2-15-09Developing Pages for Mobile Web 3 2-15-09
Developing Pages for Mobile Web 3 2-15-09
 
IBM Mobile portal experience
IBM Mobile portal experienceIBM Mobile portal experience
IBM Mobile portal experience
 
chapter2
chapter2chapter2
chapter2
 
Mobile web technologies_overview_v1_0_en
Mobile web technologies_overview_v1_0_enMobile web technologies_overview_v1_0_en
Mobile web technologies_overview_v1_0_en
 
Introduction to Mobile Internet
Introduction to Mobile InternetIntroduction to Mobile Internet
Introduction to Mobile Internet
 
Leading frameworks to power your front end development
Leading frameworks to power your front end developmentLeading frameworks to power your front end development
Leading frameworks to power your front end development
 
10 Things To Make You a Great Mobile Web Developer
10 Things To Make You a Great Mobile Web Developer10 Things To Make You a Great Mobile Web Developer
10 Things To Make You a Great Mobile Web Developer
 
10 Things To Make You a Great Mobile Web Developer
10 Things To Make You a Great Mobile Web Developer10 Things To Make You a Great Mobile Web Developer
10 Things To Make You a Great Mobile Web Developer
 
10 things to make you a Great Mobile Web Developer
10 things to make you a Great Mobile Web Developer10 things to make you a Great Mobile Web Developer
10 things to make you a Great Mobile Web Developer
 
Vodafone 360 and widgets
Vodafone 360 and widgetsVodafone 360 and widgets
Vodafone 360 and widgets
 
Mobile applications chapter 4
Mobile applications chapter 4Mobile applications chapter 4
Mobile applications chapter 4
 
Fundamental of-web design-trends-20142
Fundamental of-web design-trends-20142Fundamental of-web design-trends-20142
Fundamental of-web design-trends-20142
 
Nemo intro-100811
Nemo intro-100811Nemo intro-100811
Nemo intro-100811
 
Banking system-رويال كلاس للبحوث الأكاديمية
Banking system-رويال كلاس للبحوث الأكاديمية Banking system-رويال كلاس للبحوث الأكاديمية
Banking system-رويال كلاس للبحوث الأكاديمية
 
MOBEE ADVANCE RADIO MOBILE PORTAL
MOBEE ADVANCE RADIO MOBILE PORTALMOBEE ADVANCE RADIO MOBILE PORTAL
MOBEE ADVANCE RADIO MOBILE PORTAL
 

More from Shujaa Solutions Ltd

More from Shujaa Solutions Ltd (7)

Inoorero Universty Mobile boot camp schedule
Inoorero Universty Mobile boot camp scheduleInoorero Universty Mobile boot camp schedule
Inoorero Universty Mobile boot camp schedule
 
Nazarene boot camp schedule
Nazarene boot camp scheduleNazarene boot camp schedule
Nazarene boot camp schedule
 
Techno Trend 2012 Presentation
Techno Trend 2012 PresentationTechno Trend 2012 Presentation
Techno Trend 2012 Presentation
 
An overview of mobile technologies
An overview of mobile technologiesAn overview of mobile technologies
An overview of mobile technologies
 
Hivos Seminar - Dar es Salaam 2010
Hivos Seminar - Dar es Salaam 2010Hivos Seminar - Dar es Salaam 2010
Hivos Seminar - Dar es Salaam 2010
 
Server Side Technologies in Mobile Development
Server Side Technologies in Mobile DevelopmentServer Side Technologies in Mobile Development
Server Side Technologies in Mobile Development
 
Mobile Internet - Course Outline
Mobile Internet - Course OutlineMobile Internet - Course Outline
Mobile Internet - Course Outline
 

Recently uploaded

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Recently uploaded (20)

presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 

Mobile Internet Standards

  • 1. Strathmore Mobile Boot Camp November 2010 Mobile Website Development Mobile Internet Standards Facilitated by: Michael Wakahe Shujaa Solutions Ltd
  • 2. Table of Contents  Introduction to Mobile Web Standards  Structure  Presentation  Client Side Scripting  MIME Types  Standardization Bodies Copyright © Shujaa Solutions Ltd. 2010. All Rights Reserved.
  • 3. Introduction to Mobile Web Standards Copyright © Shujaa Solutions Ltd. 2010. All Rights Reserved.
  • 4. Mobile Web Standards  Fundamentally, there is one Web.  Its content is standardized markup, styles, scripts, and multimedia viewable using web browsers. Copyright © Shujaa Solutions Ltd. 2010. All Rights Reserved.
  • 5. Mobile Web Standards  A standards-based approach to Mobile Web development ensures compliance and usability across mobile browsers & platforms.  Knowing all the rules & knowing when to ignore the rules is necessary for success on the Mobile Web. Copyright © Shujaa Solutions Ltd. 2010. All Rights Reserved.
  • 6. Mobile Web Standards  Various standards involved in:  Structure  Presentation  Client Side Scripting Copyright © Shujaa Solutions Ltd. 2010. All Rights Reserved.
  • 7. Structure Copyright © Shujaa Solutions Ltd. 2010. All Rights Reserved.
  • 8. Mobile Web Standards  XML-formatted markup defines the document structure  Handsets may support WML, XHTML, HTML4, HTML5 in varying degrees  These XML standards have various versions & derivations Copyright © Shujaa Solutions Ltd. 2010. All Rights Reserved.
  • 9. Mobile Web Standards  Previously WML was dominant, now best results with XHTML MP  Specifically XHTML MP 1.0  Most modern phones support WAP 2.0, which uses XHTML MP as the primary markup language while WAP 1.0 used WML. Copyright © Shujaa Solutions Ltd. 2010. All Rights Reserved.
  • 10. Mobile Web Standards  XHTML-MP (Extensible Hypertext Markup Language - Mobile Profile) is a specialization XHTML designed to incorporate features useful to mobile devices.  XHTML-MP 1.0 was defined by the OMA and is an extension of the original W3C-inspired XHTML Basic 1.0. Copyright © Shujaa Solutions Ltd. 2010. All Rights Reserved.
  • 11. Mobile Web Standards  Over time, OMA has developed XHTML-MP and now has a proposed 1.2 version of its specification.  XHTML-MP comes with a mobile-friendly means of using CSS to separate presentation from the markup, just like on the desktop. Copyright © Shujaa Solutions Ltd. 2010. All Rights Reserved.
  • 12. Mobile Web Standards  XHTML-MP 1.0 sets the base tags for mobile markup.  XHTML-MP 1.1 adds the <script> tag and support for mobile JavaScript.  XHTML-MP 1.2 adds more form tags and text input modes.  Currently many mobile browsers do not support XHTML-MP 1.2. Copyright © Shujaa Solutions Ltd. 2010. All Rights Reserved.
  • 13. Mobile Web Standards  Mobile Web sites targeting only smartphones can use the full feature set of HTML 4 & in the near future, HTML 5.  Using desktop markup also invites transcoders - network appliances designed to optimize the Desktop Web for mobile devices by reformatting markup Copyright © Shujaa Solutions Ltd. 2010. All Rights Reserved.
  • 14. Mobile Web Standards  HTML 5 is the next major release of the foundational language of the Web.  It is currently a draft recommendation undergoing active revision at the W3C (http://www.w3.org/TR/html5/)  HTML 5 will be the next standard for markup and APIs supported in Web browsers. Copyright © Shujaa Solutions Ltd. 2010. All Rights Reserved.
  • 15. Presentation Copyright © Shujaa Solutions Ltd. 2010. All Rights Reserved.
  • 16. Mobile Web Standards  Cascading Style Sheets (CSS) control the presentation.  Most XHTML-MP mobile browsers support Wireless CSS, CSS Mobile Profile, and/or CSS 2.  CSS 3 is new, coming along with HTML5 Copyright © Shujaa Solutions Ltd. 2010. All Rights Reserved.
  • 17. Mobile Web Standards  The OMA-managed Wireless CSS standard is a subset of CSS and is also part of the WAP 2.0 specification.  Note that Wireless CSS is not backwards compatible with WML. Copyright © Shujaa Solutions Ltd. 2010. All Rights Reserved.
  • 18. Mobile Web Standards  Wireless CSS and CSS Mobile Profile are tightly related, but independent mobile subsets of CSS2 used to style XHTML-MP documents.  Wireless CSS is a CSS2 subset standardized by the Open Mobile Alliance. Copyright © Shujaa Solutions Ltd. 2010. All Rights Reserved.
  • 19. Mobile Web Standards  CSS Mobile Profile is a CSS2 subset—with some features borrowed from CSS3—that is standardized by the W3C.  The W3C’s goal is to align CSS Mobile Profile with Wireless CSS as much as possible. Copyright © Shujaa Solutions Ltd. 2010. All Rights Reserved.
  • 20. Mobile Web Standards  Overall, Wireless CSS is a more restricted subset and an older standard targeted at Web browsers on resource-limited mobile devices.  CSS Mobile Profile adds in much more of the CSS2 standard to enable richer web documents but risks full support on mass market mobile browsers. Copyright © Shujaa Solutions Ltd. 2010. All Rights Reserved.
  • 21. Mobile Web Standards  You can add Wireless CSS to your document the same way as you would for a normal HTML document.  Link to an external global stylesheet using the following line:  <link href="external.css" rel="stylesheet" type="text/css" />  Insert styles at the document head the following example shows:  <style>  p{  font-size: small;  }  </style> Copyright © Shujaa Solutions Ltd. 2010. All Rights Reserved.
  • 22. Mobile Web Standards  Wireless CSS supports a lot CSS attributes, but not all of them.  More advanced styling techniques won’t likely work across multiple mobile browsers.  The best advice is to keep your CSS as simple as possible. Copyright © Shujaa Solutions Ltd. 2010. All Rights Reserved.
  • 23. Client Side Scripting Copyright © Shujaa Solutions Ltd. 2010. All Rights Reserved.
  • 24. Mobile Web Standards  Client-side scripting mainly through Javascript  ECMAScript-MP or mobile JavaScript targets mobile phones  WMLScript is a scripting language which complements WML. Copyright © Shujaa Solutions Ltd. 2010. All Rights Reserved.
  • 25. Mobile Web Standards  Client-side scripting in mobile browsers used to be the exclusive domain of smartphones, but this is rapidly changing.  Many mass-market mobile devices beginning to support mobile JavaScript. Copyright © Shujaa Solutions Ltd. 2010. All Rights Reserved.
  • 26. Mobile Web Standards  As with any client-side mobile technology, testing JavaScript on actual mobile devices is critical for effective development  Testing on emulators and in Firefox might not uncover syntax problems and performance issues that can occur on the target mobile device. Copyright © Shujaa Solutions Ltd. 2010. All Rights Reserved.
  • 27. Mobile Web Standards  Mobile and desktop JavaScript have virtually identical syntax.  The mobile version is stringent about ending lines with semicolons. Copyright © Shujaa Solutions Ltd. 2010. All Rights Reserved.
  • 28. Mobile Web Standards  Mobile JavaScript reduces the supported character sets and excludes computationally intensive language elements.  It differs from its desktop counterpart in the extent of its DOM and event support in the mobile browser. Copyright © Shujaa Solutions Ltd. 2010. All Rights Reserved.
  • 29. Mobile Web Standards  DOM and event support can vary from one browser vendor and version to another.  On-device testing is critical for success with mobile JavaScript. Copyright © Shujaa Solutions Ltd. 2010. All Rights Reserved.
  • 30. Mobile Web Standards  You can use device awareness and content adaptation techniques that enable conditional inclusion of scripting to target only mobile browsers with support for JavaScript. Copyright © Shujaa Solutions Ltd. 2010. All Rights Reserved.
  • 31. MIME Types Copyright © Shujaa Solutions Ltd. 2010. All Rights Reserved.
  • 32. Mobile Web Standards  Mobile MIME types (or content types) identify the format of Mobile Web content.  Formats are differentiated by web servers and browser clients in an HTTP transaction using MIME types Copyright © Shujaa Solutions Ltd. 2010. All Rights Reserved.
  • 33. Mobile Web Standards  Text documents containing mobile markup  Binary files include viewable or playable content like ringtones, wallpaper and videos, and binary executable mobile applications Copyright © Shujaa Solutions Ltd. 2010. All Rights Reserved.
  • 34. Standardization Bodies Copyright © Shujaa Solutions Ltd. 2010. All Rights Reserved.
  • 35. Mobile Web Standards  Mobile Industry Groups and Standards Bodies adherence to Mobile Web industry standards and best practices is important for flexible and cross- platform development.  Several Internet and mobile industry bodies govern Mobile Web standards and recommended best practices Copyright © Shujaa Solutions Ltd. 2010. All Rights Reserved.
  • 36. Mobile Web Standards  W3C: This body standardizes mobile markup languages and publishes best practices documents for Mobile Web development and testing. Copyright © Shujaa Solutions Ltd. 2010. All Rights Reserved.
  • 37. Mobile Web Standards  Open Mobile Alliance (formerly WAP Forum): This body standardizes mobile markup and style languages and other mobile technologies designed to be interoperable across devices, geographies, and mobile networks. Copyright © Shujaa Solutions Ltd. 2010. All Rights Reserved.
  • 38. Mobile Web Standards  dotMobi (http://mtld.mobi): This body controls the .mobi top-level domain, the content of which must be device-adaptive and compatible with mobile devices.  This body also publishes best practices for Mobile Web development and nurtures mobile developers, marketers, and operators with online Copyright © Shujaa Solutions Ltd. 2010. All communities. Rights Reserved.
  • 39. Mobile Web Standards  Mobile Marketing Association: This body centralizes technology recommendations and best practices for marketing and advertising on mobile devices. Copyright © Shujaa Solutions Ltd. 2010. All Rights Reserved.
  • 40. Mobile Web Standards  Open Mobile Terminal Platform (OMTP) (www.omtp.org/): This operator-sponsored mobile industry group standardizing mobile device access from Web applications. Copyright © Shujaa Solutions Ltd. 2010. All Rights Reserved.