- Build familiarity with jQuery principles - Learn new HTML5 features and APIs - Build a toolset of coding techniques for building web apps - Learn to incorporate jQuery and HTML5 together to build new experiences in web applications - Architect jQuery to build maintainable and scalable code - Manage rendering and validating forms, interacting with editable content, setting default placeholders, and validating forms - Optimize loading of website resources by caching CSS and JavaScript in the browser - Dynamically save files to a browser's local filesystem, and asynchronously upload files to a server - Access a webcam right from the browser, and create a photo-booth application that takes your picture - Use multi-threading to build fast and fluid web apps that never stutter - Implement real-time messaging, build live chat rooms and push notifications to a browser - Write immersive audio and video applications - Build interactive 3D interfaces with WebGL and HTML5 Canvas
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.
The Definitive Guide to HTML & CSS--Fully Updated Written by a Web development expert, the fifth edition of this trusted resource has been thoroughly revised and reorganized to address HTML5, the revolutionary new Web standard. The book covers all the elements supported in today's Web browsers--from the standard (X)HTML tags to the archaic and proprietary tags that may be encountered. HTML & CSS: The Complete Reference, Fifth Edition contains full details on CSS 2.1 as well as every proprietary and emerging CSS3 property currently supported. Annotated examples of correct markup and style show you how to use all of these technologies to build impressive Web pages. Helpful appendixes cover the syntax of character entities, fonts, colors, and URLs. This comprehensive reference is an essential tool for professional Web developers. Master transitional HTML 4.01 and XHTML 1.0 markup Write emerging standards-based markup with HTML5 Enhance presentation with Cascading Style Sheets (CSS1 and CSS 2.1) Learn proprietary and emerging CSS3 features Learn how to read (X)HTML document type definitions (DTDs) Apply everything in an open standards-focused fashion Thomas A. Powell is president of PINT, Inc. (pint.com), a nationally recognized Web agency. He developed the Web Publishing Certificate program for the University of California, San Diego Extension and is an instructor for the Computer Science Department at UCSD. He is the author of the previous bestselling editions of this book and Ajax: The Complete Reference, and co-author of JavaScript: The Complete Reference.
The Definitive Guide to HTML5 provides the breadth of information you'll need to start creating the next generation of HTML5 websites. It covers all the base knowledge required for standards-compliant, semantic, modern website creation. It also covers the full HTML5 ecosystem and the associated APIs that complement the core HTML5 language. The Definitive Guide to HTML5 begins by tackling the basics of HTML5, ensuring that you know best practices and key uses of all of the important elements, including those new to HTML5. This section also covers extended usage of CSS3, JavaScript, and DOM manipulation, making you proficient in all core aspects of modern website creation. The final part of the book covers the associated W3C APIs that surround the HTML5 specification. You will achieve a thorough working knowledge of the Geolocation API, web storage, creating offline applications, and the new drag and drop functionality. The Definitive Guide to HTML5 also dives into the key media enhancements of HTML5 and its surrounding technologies: Canvas, video and audio.
Go beyond design concepts—build dynamic data visualizations using JavaScript JavaScript and jQuery for Data Analysis and Visualization goes beyond design concepts to show readers how to build dynamic, best-of-breed visualizations using JavaScript—the most popular language for web programming. The authors show data analysts, developers, and web designers how they can put the power and flexibility of modern JavaScript libraries to work to analyze data and then present it using best-of-breed visualizations. They also demonstrate the use of each technique with real-world use cases, showing how to apply the appropriate JavaScript and jQuery libraries to achieve the desired visualization. All of the key techniques and tools are explained in this full-color, step-by-step guide. The companion website includes all sample codes used to generate the visualizations in the book, data sets, and links to the libraries and other resources covered. Go beyond basic design concepts and get a firm grasp of visualization approaches and techniques using JavaScript and jQuery Discover detailed, step-by-step directions for building specific types of data visualizations in this full-color guide Learn more about the core JavaScript and jQuery libraries that enable analysis and visualization Find compelling stories in complex data, and create amazing visualizations cost-effectively Let JavaScript and jQuery for Data Analysis and Visualization be the resource that guides you through the myriad strategies and solutions for combining analysis and visualization with stunning results.
JavaScript--the powerful, object-based scripting language that can be embedded directly into HTML pages--has earned its place in the web developer's toolkit, to the extent that it's now considered required knowledge for web developers. You can use JavaScript to create dynamic, interactive applications that run completely within a web browser. JavaScript is also the language of choice for developing Dynamic HTML content. Because its syntax is based on the popular programming languages C, C++, and Java, JavaScript is familiar and easy to learn for experienced programmers. At the same time, it's an interpreted scripting language, providing a flexible, forgiving programming environment for new programmers. The JavaScript Pocket Reference, 2nd Edition, provides a complete overview of the core JavaScript language and client-side scripting environment, as well as quick-reference material on core and client-side objects, methods, and properties. The new edition has been revised to cover JavaScript 1.5, and is particularly useful for developers working with the standards-compliant web browsers, such as Internet Explorer 6, Netscape 7, and Mozilla. Ideal as an introduction for beginners and a quick reference for advanced developers, this pocket-sized book is easy to take anywhere and serves as the perfect companion volume to the bestselling JavaScript: The Definitive Guide, 4th Edition. O'Reilly's Pocket References have become a favorite among developers everywhere. By providing a wealth of important details in a concise, well-organized format, these handy books deliver just what you need to complete the task at hand. When you've reached a sticking point and need to get to the answer quickly, the new JavaScript Pocket Reference is the book you'll want close at hand.
It’s widely predicted that mobile phones and tablets will overtake desktop PCs as the most common Web access devices within the next two or three years. Adobe is responding to this dramatic shift by focusing on new tools to develop websites for multiple platforms with HTML, CSS, and JavaScript in Dreamweaver CS5.5. In particular, Dreamweaver engineers have been working closely with the developers of jQuery, the de-facto standard JavaScript framework, to develop jQuery Mobile. This is a new JavaScript/CSS framework designed to create websites and applications that work consistently in all major mobile platforms, including iPhone, Android, BlackBerry, and Symbian (Nokia). This book explores in depth the integration of jQuery Mobile in Dreamweaver, together with other new features aimed at building websites that work across multiple devices. Using a series of practical examples, the book will show how to optimize an existing website for display in desktops, tablets, and mobile phones, using CSS media queries. Readers will also learn how to create a dedicated mobile site using jQuery Mobile. Although Dreamweaver will generate much of the necessary code automatically, the book will explain the structure of jQuery Mobile websites and web applications, so that developers can go beyond the basics to add custom functionality and design features. The book will also utilize the core jQuery framework, demonstrating how the new jQuery code hinting in Dreamweaver CS5.5 speeds up the development process for experienced developers and acts as a learning aid for those new to jQuery. Readers will learn how to convert a jQuery Mobile web application into a native app (that can be loaded on an iPhone or Android device) using PhoneGap, another open source framework.
The best way to learn anything is by doing. The author uses a friendly tone and fun examples to ensure that you learn the basics of application development. Once you have read this book, you should have the necessary skills to build your own applications.If you have no experience but want to learn how to create applications in HTML5, this book is the only help you'll need. Using practical examples, HTML5 Web Application Development by Example will develop your knowledge and confidence in application development.
Explains how to build complex scripting functionality with minimal coding, providing coverage of functions ranging from incorporating Ajax apps and overcoming the limits of HTML and CSS to building plug-ins and using animation