HTML5 in Action


Book Description

Summary HTML5 in Action provides a complete introduction to web development using HTML5. You'll explore every aspect of the HTML5 specification through real-world examples and code samples. It's much more than just a specification reference, though. It lives up to the name HTML5 in Action by giving you the practical, hands-on guidance you'll need to use key features. About the Technology HTML5 is not a few new tags and features added to an old standard—it's the foundation of the modern web, enabling its interactive services, single-page UI, interactive games, and complex business applications. With support for standards-driven mobile app development, powerful features like local storage and WebSockets, superb audio and video APIs, and new layout options using CSS3, SVG, and Canvas, HTML5 has entered its prime time. About the Book HTML5 in Action provides a complete introduction to web development using HTML5. It explores the HTML5 specification through real-world examples and code samples. It earns the name "in Action" by giving you the practical, hands-on guidance you'll need to confidently build the sites and applications you—and your clients—have been wanting for years. This book concentrates on new HTML5 features and assumes you are familiar with standard HTML. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. What's Inside New semantic elements and form input types Single-page application design Creating interactive graphics Mobile web apps About the Authors Rob Crowther is a web developer and blogger and the author of Manning's Hello! HTML5 & CSS3. Joe Lennon is an enterprise mobile application developer. Ash Blue builds award-winning interactive projects. Greg Wanish is an independent web and eCommerce developer. Table of Contents PART 1 INTRODUCTION HTML5: from documents to applications PART 2 BROWSER-BASED APPS Form creation: input widgets, data binding, and data validation File editing and management: rich formatting, file storage, drag and drop Messaging: communicating to and from scripts in HTML5 Mobile applications: client storage and offline execution PART 3 INTERACTIVE GRAPHICS, MEDIA, AND GAMING 2D Canvas: low-level, 2D graphics rendering SVG: responsive in-browser graphics Video and audio: playing media in the browser WebGL: 3D application development Plus 10 Appendixes




Pro HTML5 Programming


Book Description

HTML5 is here, and with it, web applications have acquired power, ease, scalability, and responsiveness like never before. With this book, developers will learn how to use the latest cutting-edge HTML5 web technology—available in the most recent versions of modern browsers—to build web applications with unparalleled functionality, speed, and responsiveness. This new edition includes major revisions for WebSockets functionality, reflecting the new W3C specification. It also features new chapters covering the drag-and-drop API as well as SVG. Explains how to create real-time HTML5 applications that tap the full potential of modern browsers Provides practical, real-world examples of HTML5 features in action Covers all the new HTML5 APIs to get you up-to-speed quickly with HTML5 Fully updated to include the latest revisions of the WebSocket API, and much more.




HTML5 for Publishers


Book Description

HTML5 is revolutionizing the Web, and now it's coming to your ebook reader! With the release of the EPUB 3 specification, HTML5 support is officially a part of the EPUB standard, and publishers are able to take full advantage of HTML5's rich feature set to add rich media and interactivity to their ebook content. HTML5 for Publishers gives an overview of some of the most exciting features HTML5 provides to ebook content creators--audio/video, geolocation, and the Canvas--and shows how to put them in action. Learn how to: Intersperse audio/video with textual content Create a graphing calculator to display algebraic equations on the Canvas Use geolocation to customize a work of fiction with details from the reader's locale Employ MathML to create an interactive equation solver Make a coloring book using SVG and JavaScript




HTML5 Geolocation


Book Description

Truly revolutionary: now you can write geolocation applications directly in the browser, rather than develop native apps for particular devices. This concise book demonstrates the W3C Geolocation API in action, with code and examples to help you build HTML5 apps using the "write once, deploy everywhere" model. Along the way, you get a crash course in geolocation, browser support, and ways to integrate the API with common geo tools like Google Maps. Ideal for experienced JavaScript developers. Learn how geo information is gathered from different sources, depending on the device Discover how coordinate systems work, including geodetic systems and datums Use the API to collect location information from a user’s browser with JavaScript code Place geo information on a map using the Google Maps or ArcGIS JavaScript APIs Save geo data with databases, the Keyhole Markup Language, or the shapefile format Be familiar with several practical uses for geo data, such as geomarketing, geosocial, geotagging, and geo-applications




HTML5 Game Development For Dummies


Book Description

Create games with graphics that pop for the web and mobile devices! HTML5 is the tool game developers and designers have been eagerly awaiting. It simplifies the job of creating graphically rich, interactive games for the Internet and mobile devices, and this easy-to-use guide simplifies the learning curve. Illustrated in full color, the book takes you step by step through the basics of HTML5 and how to use it to build interactive games with 2D graphics, video, database capability, and plenty of action. Learn to create sports and adventure games, pong games, board games, and more, for both mobile devices and the standard web. Learn to use the new HTML5 technology that makes it easier to create games with lots of action, colorful 2D graphics, and interactivity--for both the web and mobile devices Test and debug your games before deploying them Take advantage of how HTML5 allows for SQL-like data storage, which is especially valuable if you're not well versed in database management Explore creating games suitable for community activity and powerful, profitable games that require large amounts of data Whether you want to build games as a fun hobby or hope to launch a new career, this full-color guide covers everything you need to know to make the most of HTML5 for game design.




Dart in Action


Book Description

Summary Dart in Action introduces Google's Dart language and provides techniques and examples showing how to use it as a viable replacement for Java and JavaScript in browser-based desktop and mobile applications. It begins with a rapid overview of Dart language and tools, including features like interacting with the browser, optional typing, classes, libraries, and concurrency with isolates. After you master the core concepts, you'll move on to running Dart on the server and creating single page HTML5 web applications. About the Technology Dart is a web programming language developed by Google. It has modern OO features, just like Java or C#, while keeping JavaScript's dynamic and functional characteristics. Dart applications are "transpiled" to JavaScript, and they run natively in Dart-enabled browsers. With production-quality libraries and tools, Dart operates on both the client and the server for a consistent development process. About this Book Dart in Action introduces the Dart language and teaches you to use it in browser-based, desktop, and mobile applications. Not just a language tutorial, this book gets quickly into the nitty-gritty of using Dart. Most questions that pop up while you're reading are answered on the spot! OO newbies will appreciate the gentle pace in the early chapters. Later chapters take a test-first approach and encourage you to try Dart hands-on. To benefit from this book you'll need experience with HTML and JavaScript?a Java or C# background is helpful but not required. Purchase of the print book comes with an offer of a free PDF, ePub, and Kindle eBook from Manning. Also available is all code from the book. What's Inside Dart from the ground up Numerous code samples and diagrams Creating single-page web apps Transitioning from Java, C#, or JavaScript Running Dart in the browser and on the server About the Author Chris Buckett builds enterprise-scale web applications. He runs Dartwatch.com and is an active contributor to the dartlang list. "Includes numerous examples of core language features as well as more advanced HTML5 features."-;From the Foreword by Seth Ladd, Developer Advocate, Google Table of Contents PART 1 INTRODUCING DART Hello Dart "Hello World" with Dart tools Building and testing your own Dart app PART 2 CORE DART Functional first-class functions and closures Understanding libraries and privacy Constructing classes and interfaces Extending classes and interfaces Collections of richer classes Asynchronous programming with callbacks and futures PART 3 CLIENT-SIDE DART APPS Building a Dart web app Navigating offline data Communicating with other systems and languages PART 4 SERVER-SIDE DART Server interaction with files and HTTP Sending, syncing, and storing data Concurrency with isolates




Building Hypermedia APIs with HTML5 and Node


Book Description

With this concise book, you’ll learn the art of building hypermedia APIs that don’t simply run on the Web, but that actually exist in the Web. You’ll start with the general principles and technologies behind this architectural approach, and then dive hands-on into three fully-functional API examples. Too many APIs rely on concepts rooted in desktop and local area network patterns that don’t scale well—costly solutions that are difficult to maintain over time. This book shows system architects and web developers how to design and implement human- and machine-readable web services that remain stable and flexible as they scale. Learn the H-Factors for representing application metadata across all media types and formats Understand the four basic design elements for authoring hypermedia types Convert a simple read-only XML-based media type into a successful API design Examine the challenges and advantages of designing a hypermedia type with JSON Use HTML5’s rich set of hypermedia controls in the API design process Learn the details of documenting, publishing, and registering media type designs and link-relation types




Core HTML5 Canvas


Book Description

One of HTML5’s most exciting features, Canvas provides a powerful 2D graphics API that lets you implement everything from word processors to video games. In Core HTML5 Canvas, best-selling author David Geary presents a code-fueled, no-nonsense deep dive into that API, covering everything you need to know to implement rich and consistent web applications that run on a wide variety of operating systems and devices. Succinctly and clearly written, this book examines dozens of real-world uses of the Canvas API, such as interactively drawing and manipulating shapes, saving and restoring the drawing surface to temporarily draw shapes and text, and implementing text controls. You’ll see how to keep your applications responsive with web workers when you filter images, how to implement smooth animations, and how to create layered, 3D scrolling backgrounds with parallax. In addition, you’ll see how to implement video games with extensive coverage of sprites, physics, collision detection, and the implementation of a game engine and an industrial-strength pinball game. The book concludes by showing you how to implement Canvas-based controls that you can use in any HTML5 application and how to use Canvas on mobile devices, including iOS5. This authoritative Canvas reference covers The canvas element—using it with other HTML elements, handling events, printing a canvas, and using offscreen canvases Shapes—drawing, dragging, erasing, and editing lines, arcs, circles, curves, and polygons; using shadows, gradients, and patterns Text—drawing, positioning, setting font properties; building text controls Images—drawing, scaling, clipping, processing, and animating Animations—creating smooth, efficient, and portable animations Sprites—implementing animated objects that have painters and behaviors Physics—modeling physical systems (falling bodies, pendulums, and projectiles), and implementing tweening for nonlinear motion and animation Collision detection—advanced techniques, clearly explained Game development—all aspects of game development, such as time-based motion and high score support, implemented in a game engine Custom controls—infrastructure for implementing custom controls; implementing progress bars, sliders, and an image panner Mobile applications—fitting Canvas apps on a mobile screen, using media queries, handling touch events, and specifying iOS5 artifacts, such as app icons Throughout the book, Geary discusses high-quality, reusable code to help professional developers learn everything they really need to know, with no unnecessary verbiage. All of the book’s code and live demonstrations of key techniques are available at corehtml5canvas.com.




HTML5 for .NET Developers


Book Description

Summary HTML5 for .NET Developers teaches professional software engineers how to integrate the latest HTML5 APIs and semantic markup into rich web applications using JavaScript, ASP.NET MVC, and WCF. Written from the .NET perspective, this book is full of practical applications and ways to connect the new web standards with your existing development practices About the Technology A shift is underway for Microsoft developers—to build web applications you'll need to integrate HTML5 features like Canvas-based graphics and the new JavaScript-driven APIs with familiar technologies like ASP.NET MVC and WCF. This book is designed for you. About this Book HTML5 for .NET Developers teaches you how to blend HTML5 with your current .NET tools and practices. You'll start with a quick overview of the new HTML5 features and the semantic markup model. Then, you'll systematically work through the JavaScript APIs as you learn to build single page web apps that look and work like desktop apps. Along the way, you'll get tips and learn techniques that will prepare you to build "metro-style" applications for Windows 8 and WP 8. This book assumes you're familiar with HTML, and concentrates on the intersection between new HTML5 features and Microsoft-specific technologies. Purchase of the print book comes with an offer of a free PDF, ePub, and Kindle eBook from Manning. Also available is all code from the book. What's Inside HTML5 from a .NET perspective Local storage, threading, and WebSockets Using JSON-enabled web services WCF services for HTML5 How to build single page web apps "This book speaks directly to the interests and concerns of the .NET developer."—From the Forward by Scott Hanselman, Microsoft Table of Contents HTML5 and .NET A markup primer: classic HTML, semantic HTML, and CSS Audio and video controls Canvas The History API: Changing the game for MVC sites Geolocation and web mapping Web workers and drag and drop Websockets Local storage and state management Offline web applications




Pro HTML5 and CSS3 Design Patterns


Book Description

Pro HTML5 and CSS3 Design Patterns is a reference book and a cookbook on how to style web pages using CSS3 and HTML5. It contains 350 ready–to–use patterns (CSS3 and HTML5 code snippets) that you can copy and paste into your code. Each pattern can be combined with other patterns to create an unlimited number of solutions, and each pattern works reliably in all major browsers without the need for browser hacks. The book is completely up-to-date with code, best practices, and browser compatibilities for HTML5 and CSS3—enabling you to dive in and make use of these new technologies in production environments. Pro HTML5 and CSS3 Design Patterns is so much more than just a cookbook, though! It systematically covers every usable feature of CSS3 and combines these features with HTML5 to create reusable patterns. Each pattern has an intuitive name to make it easy to find, remember, and refer to. Accessibility and best practices are carefully engineered into each design pattern, example, and source code. The book’s layout, with a pattern’s example on the left page and its explanation on the right, makes it easy to find a pattern and study it without having to flip between pages. The book is also readable from cover to cover, with topics building carefully upon previous topics. Pro HTML5 and CSS3 Design Patterns book unleashes your productivity and creativity in web design and development. Instead of hacking your way toward a solution, you'll learn how to predictably create successful designs every time by reusing and combining modular design patterns.