[http://creativecommons.org/licenses/by/3.0/]
This work is licensed under a CC
Attribution 3.0 Unported License [http://creativecommons.org/licenses/by/3.0/]
Web-based mobile applications inherit important properties and constraints both because of their dependency on the Web, and because of their focus on mobile scenarios. In the previous two lectures, we have looked at the differences caused by typical mobile device usage, which often translate into different designs, and might even make Web-based solutions less than optimal in some situations. From the technical perspective, an important question is how easy it is to design and build Web-based applications for mobile devices, and in this lecture we look at the most important component in that picture, the mobile browser.
the standard mobile platform [Mobile Platforms]is more challenging than for computers
fat clients
fat clientsa while ago
thin clientsare more cost-effective (less local maintenance)
cloudadds flexibility
Application Storesremove some of the native application problems
eBay for applications)
Application Storesintroduce typical monopoly problems
Touch Webis a new term for explicitly
touch-friendlyWeb pages
classes
tr:nth-child(2n+1) /* represents every odd row of an HTML table */ tr:nth-child(odd) /* same */ tr:nth-child(2n+0) /* represents every even row of an HTML table */ tr:nth-child(even) /* same */[http://www.w3.org/TR/css3-selectors/#nth-child-pseudo]
Web 2.0 technologies
data URIs for additional functionalitybuckets)
XMLHttpRequestthreadsfor scripting)
other platformssuch as tablets, e-books, cars, consoles, …
least common denominatoris really low
classesto identify?
regular siteassuming a laptop/desktop computer and environment
mobile siteeither very basic (WAP) or touch-specific (iPhone)
@media all and (orientation:portrait) { … }
@media all and (orientation:landscape) { … } [http://www.w3.org/TR/css3-mediaqueries/#orientation]<link rel="stylesheet" media="print and (color)" href="http://…" /> <link rel="stylesheet" media="print and (monochrome)" href="http://…" />[http://www.w3.org/TR/css3-mediaqueries/#monochrome]