HTML5 and JavaScript Web Apps. Bridging the Gap Between the Web and the Mobile Web - Helion
ISBN: 978-14-493-3301-0
stron: 172, Format: ebook
Data wydania: 2012-10-30
Księgarnia: Helion
Cena książki: 80,73 zł (poprzednio: 94,98 zł)
Oszczędzasz: 15% (-14,25 zł)
This hands-on book looks past the hype and buzzwords surrounding HTML5 and gives you a conservative and practical approach to using HTML5, JavaScript MVC frameworks, and the latest W3C specifications. You’ll quickly master how to build mobile and desktop web apps that are widely supported across all major web browsers and devices.
Even though Web Storage, Web Workers, Geolocation, Device Orientation, and WebSockets have been covered many times in the past, it is often from a very high or basic level. This book goes into the trenches to review actual use cases for each of these APIs and gives real-world examples on how to use each one. If you're familiar with JavaScript, CSS and HTML basics and are ready to start piecing together the architecture of HTML5, then this book is for you.
- Assemble a coherent architectural whole from HTML5’s complex collection of parts
- Gain a clear understanding of client-side architecture and the "mobile first" approach
- Design, create, and tune eye-catching and robust mobile web apps
- Explore how the top five JavaScript MVC frameworks interact with the server
- Learn best practices for setting up a raw WebSocket server
- Examine how sites such as Google, Twitter, and Amazon store data on the client
- Use real-world methods for applying geolocation, and learn the pitfalls of various implementations
- Process images and other data in the background with Web Workers
Osoby które kupowały "HTML5 and JavaScript Web Apps. Bridging the Gap Between the Web and the Mobile Web", wybierały także:
- HTML5. Kurs video. Poziom pierwszy. Programowanie dla początkujących webmasterów 89,00 zł, (26,70 zł -70%)
- Tworzenie gier w języku HTML5 dla profesjonalistów. Wydanie II 67,42 zł, (20,90 zł -69%)
- HTML 5. Kurs video. Poziom drugi. Tworzenie profesjonalnych stron WWW 89,00 zł, (35,60 zł -60%)
- Sass od podstaw. Kurs video. Budowa kompleksowej strony w oparciu o metodologię BEM 47,93 zł, (22,05 zł -54%)
- HTML i CSS. Przewodnik dla pocz 69,00 zł, (34,50 zł -50%)
Spis treści
HTML5 and JavaScript Web Apps. Bridging the Gap Between the Web and the Mobile Web eBook -- spis treści
- HTML5 and JavaScript Web Apps
- SPECIAL OFFER: Upgrade this ebook with OReilly
- Preface
- Who This Book Is For
- Who This Book Is Not For
- What Youll Learn
- About the Code
- Conventions Used in This Book
- Using Code Examples
- Safari Books Online
- How to Contact Us
- Acknowledgments
- 1. Client-Side Architecture
- Before HTML5
- More Code on the Client
- The Browser as a Platform
- Conclusion
- 2. The Mobile Web
- Mobile First
- Deciding What to Support
- Mobile Web Browsers
- WebKit
- Mobile Safari (iOS6)
- Android
- Mobile Firefox
- Opera Mobile
- Internet Explorer Mobile
- WebKit
- Mobile Web Browsers
- Mobile Browser Market Share
- Browser Grading
- HTML5 in the Enterprise
- Graceful Degradation
- QA and Device Testing
- 3. Building for the Mobile Web
- Mobile Web Look and Feel
- The Look
- The Feel
- Hardware acceleration
- Interactions and Transitions
- Sliding
- Flipping
- Rotating
- Debugging Hardware Acceleration
- Using Safari
- Using Chrome
- Memory Consumption
- Fetching and Caching
- Network Type Detection and Handling
- Frameworks and Approaches
- Single Page
- jQuery Mobile
- jQTouch
- No Page Structure
- xui
- 100% JavaScript Driven
- Sencha Touch
- Wink Toolkit
- The-M-Project
- Mobile Debugging
- weinre
- Adobe Shadow
- Opera Remote Debugging
- Single Page
- Mobile Web Look and Feel
- 4. The Desktop Web
- The Browser as a Platform
- Client Versus Server HTML Generation
- Device and Feature Detection
- Client-Side Feature Detection
- Client-Side userAgent Detection
- Server-Side userAgent Detection
- Compression
- GZIP Versus DEFLATE
- Minification
- Bringing it all together
- JavaScript MVC Frameworks and the Server
- The Top Five Frameworks
- Backbone
- Backbone server synchronization
- Backbone and legacy servers
- Ember
- Ember server synchronization
- Angular
- Angular server synchronization
- Batman
- Batman server synchronization
- Knockout
- Knockout server synchronization
- The Browser as a Platform
- 5. WebSockets
- Building the Stack
- On the Server, Behind the Scenes
- Programming Models
- Relaying Events from the Server to the Browser
- Using the new and shiny
- Binary Data Over WebSockets
- Managing Proxies
- Building your own
- Frameworks
- Vert.x
- Socket.IO
- Atmosphere
- Relaying Events from the Server to the Browser
- Building the Stack
- 6. Optimizing with Web Storage
- The Storage API
- The StorageEvent API
- Whats Racy and Whats Not?
- Using JSON to Encode and Decode
- Security and Private Browsing
- Security
- Private Browsing
- Whos Using Web Storage?
- Using Web Storage Today
- Enable automatic sign-in
- Caching with a timestamp
- Using Web Storage Today
- Syncing Data from the Client Side
- Database Syncing with Backbone
- Using Web Storage in Any Browser
- Frameworks
- LawnChair
- persistence.js
- 7. Geolocation
- A Practical Use Case: User Tracking
- A Practical Use Case: Reverse Geocoding
- Frameworks
- geo-location-javascript
- Webshims lib
- 8. Device Orientation API
- A Practical Use Case: Scrolling with Device Movement
- 9. Web Workers
- A Practical Use Case: Pooling and Parallelizing Jobs
- Other Uses
- A Practical Use Case: Pooling and Parallelizing Jobs
- Index
- About the Author
- Colophon
- SPECIAL OFFER: Upgrade this ebook with OReilly
- Copyright