jQuery Mobile Web Development Essentials - Third Edition
图书信息
| 作者 | Raymond Camden |
| 出版社 | Packt Publishing |
| ISBN | 9781783555062 |
| 出版时间 | 2016-03-28 |
| 字数 | 116.3万 |
| 分类 | 进口书,外文原版书,电脑,网络 |
读书简介
Build a powerful and practical jQuery-based framework in order to create mobile-optimized websites About This Book Build websites with jQuery Mobile that work beautifully across a wide range of mobile devices Become a competent jQuery Mobile developer and learn the building blocks of jQuery Mobile’s component-driven design This book covers key concepts but with a focus on providing the practical skills required Who This Book Is For This book is for any web developer who is looking to create mobile-optimized websites. Basic knowledge of HTML is required. Minor familiarity with JavaScript would help but is not required. What You Will Learn Create mobile-optimized sites using simple HTML Structure your sites so users can browse them on mobile devices Find out how to work with multiple pages in the JQM framework and embed multiple pages in HTML files Enhance simple pages using various toolbars Include mobile-optimized forms for interactive sites Convert desktop sites into mobile versions Use HTML5’s local storage feature in jQuery Mobile to include persistent client-side storage Explore the rich sets of widgets and themes available and discover how to modify them for use in your jQuery Mobile site In Detail jQuery Mobile is a HTML5-based touch-optimized web framework. jQuery Mobile can be used to build responsive cross-platform websites and apps for a wide range of smartphones, tablets, and desktop devices. The jQuery Mobile framework can be integrated with other mobile app frameworks such as PhoneGap, IBM Worklight, and more. Introduction to jQuery Mobile explains how to add the framework to your HTML pages to create rich, mobile-optimized web pages with minimal effort. You’ll learn how to use jQuery Mobile’s automatic enhancements and configure the framework for customized, powerful mobile-friendly websites. We then dig into forms, events, and styling. You'll see how jQuery Mobile automatically enhances content, and will find out how to use the JavaScript API to build complex sites. We’ll introduce you to how jQuery Mobile can be themed as well looking into how JavaScript can be used for deep sets of customizations. The examples are ready to run and can be used to help kick-start your own site. Along the way, you will leverage all the concepts you learn to build three sample mobile applications. Style and approach Through a set of easy to follow instructions, we’ll show you how to use jQuery Mobile’s features one easy-to-use widget at a time. You’ll see examples for each feature as well as screenshots to demonstrate what they should look like on a mobile device. You can then take these example files and modify them as you learn to experiment.
目录
jQuery Mobile Web Development Essentials Third Edition
Table of Contents
jQuery Mobile Web Development Essentials Third Edition
Credits
About the Authors
About the Reviewer
www.PacktPub.com
eBooks, discount offers, and more
Why subscribe?
Preface
What is jQuery Mobile?
What's the cost?
What do you need to know?
What about native apps?
Help!
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Downloading the color images of this book
Errata
Piracy
Questions
1. Preparing Your First jQuery Mobile Project
Important preliminary points
Building an HTML page
Getting jQuery Mobile
Implementing jQuery Mobile
Working with data attributes
Summary
2. Working with jQuery Mobile Pages
Important preliminary points
Adding multiple pages to one file
jQuery Mobile, links, and you
Working with multiple files
jQuery Mobile and URLs
Additional customization
Page titles
Prefetching content
Changing page transitions
Summary
3. Enhancing Pages with Headers, Footers, and Toolbars
Important preliminary points
Adding headers
Icon sneak peek
Working with back buttons
Working with footers
Creating fixed and fullscreen headers and footers
Fullscreen headers and footers
Working with navigation bars
Persisting navigation bar footers across multiple pages
Summary
4. Working with Lists
Creating lists
Working with list features
Creating inset lists
Creating list dividers
Autodividers
Creating lists with count bubbles
Using thumbnails and icons
Creating split button lists
Summary
5. Getting Practical – Building a Simple Hotel Mobile Website
Welcome to Hotel Camden
The home page
Finding the hotel
Listing the hotel rooms
Contacting the hotel
Summary
6. Working with Forms and jQuery Mobile
Before you begin
What jQuery Mobile does with forms
Working with radio buttons and checkboxes
Working with select menus
Custom select fields
Search, toggle, and slider fields
Search fields
Flip switch fields
Slider fields
Using native form controls
Working with mini fields
Summary
7. Creating Grids, Panels, and Other Widgets
Laying out content with grids
Making responsive grids
Working with collapsible content
Using popups
Responsive tables
Working with panels
Using filterable widgets
Working with tabs
Summary
8. Moving Further with the Notekeeper Mobile Application
What is a mobile application?
Designing your first mobile application
Listing out the requirements
Building your wireframes
Designing the Add Note wireframe
The Display Notes wireframe
The View Note/Delete button wireframe
Writing the HTML
Adding functionality with JavaScript
Storing Notekeeper data
Using localStorage
Effective use of boilerplates
Building the Add Note feature
Adding bindings
Collecting and storing data
Building the Display Notes feature
Dynamically adding notes to our listview
Viewing a note
Using the .on() method
Dynamically creating a new page
Deleting a note
Summary
9. jQuery Mobile Configuration, Utilities, and JavaScript Methods
Configuring jQuery Mobile
Using jQuery Mobile utilities
Page methods and utilities
Utilities related to path and URL
jQuery Mobile widget and form utilities
Summary
10. Working with Events
Working with physical events
Handling page events
What about $(document).ready?
Creating a real example
Summary
11. Enhancing jQuery Mobile
What's possible for designs?
The visual building blocks of jQuery Mobile
Border-radius
Applying drop shadows
Using text-shadow
Using box-shadow
CSS gradients
The basics of jQuery Mobile theming
Bars (.ui-bar-?)
Content blocks (.ui-body-?)
Buttons and listviews (.ui-btn-?)
Mixing and matching swatches
Site-wide active state
Default icons
Creating and using a custom theme
What's ThemeRoller?
Using ThemeRoller
Preview
Colors
Inspector
Tools
Creating a theme for Notekeeper
Exporting your theme
Updating the Notekeeper app
Adding our custom theme
Summary
12. Creating Native Applications
HTML as a native application
Working with PhoneGap
Adding the PhoneGap functionality
Summary
13. Becoming an Expert – Building an RSS Reader Application
RSS reader – the application
Creating the RSS reader application
The displayFeeds function
Storing our feeds
Adding an RSS feed
Viewing a feed
Creating the entry view
Going further
Summary
Index
- 502(暂无)
- 纸上王国(邓安庆)
- GBT 51338-2018 分布式电源并网工程调试与验收标准(电力企业联合会)
- 中国企业家成长30年:企业家精神引领企业迈向高质量发展(李兰)
- 做人要大气(郑斌)
- Orlando Furioso: Bilingual Edition (English – Italian)(Ludovico Ariosto)
- 葛冰动物童话·飞熊“佐罗”(葛冰)
- Gone With the Windsors(Laurie Graham)
