12.07.2015 Views

Pro JavaScript for Web Apps pdf - EBook Free Download

Pro JavaScript for Web Apps pdf - EBook Free Download

Pro JavaScript for Web Apps pdf - EBook Free Download

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

CHAPTER 8 CREATING MOBILE WEB APPS&nbsp;For the most part, this is a straight<strong>for</strong>ward web app that relies on the core functionality of jQueryMobile, but you need to be aware of some wrinkles and additions that I describe in the followingsections. You can see the landscape and portrait layouts <strong>for</strong> a small-screen device in Figure 8-2. The webapp also supports layouts <strong>for</strong> mobile devices with larger screens. I have not shown these layouts, butthey are similar to those shown in the figure, but with the CheeseLux logo and the full category namesdisplayed in the navigation buttons.Figure 8-2. The basic implementation of the mobile CheeseLux web appYou will notice new data bindings and view model items in this listing. The <strong>for</strong>matText data bindinglets me apply a prefix and suffix to the text content of an element, which simplifies working with209www.it-ebooks.info

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!