HTML5 Developer's Cookbook


Book Description

2012 Jolt Productivity Award winner! Using HTML5, web developers can create standards-based browser applications with extraordinary richness and power, incorporating everything from drag-and-drop to native audio and video–all without any third-party plug-ins. Simply put, every web developer needs to master HTML5–and the sooner you do so, the greater advantage you’ll have. HTML5 Developer’s Cookbook provides all the expert advice and proven code you need to start building production-quality HTML5 applications right now. Authors Chuck Hudson and Tom Leadbetter present tested, modular recipes at beginner, intermediate, and advanced levels. You’ll learn exactly how to deliver state-of-the-art user experiences by integrating HTML5’s new and enhanced elements with CSS3, multimedia, and JavaScript APIs. Reflecting current standards, this book prioritizes HTML5 features with substantial browser support and identifies the level of browser support for each feature discussed. Coverage includes Understanding and using HTML5’s new structural elements Using grouping, text-level, and redefined semantics Managing browser-handling in HTML5 Leveraging new CSS3 layout and style techniques Maximizing interactivity with HTML5 Web Forms Embedding audio and video with HTML5 Drawing with the canvas Controlling browser histories Integrating location awareness with the Geolocation API Implementing client side storage Working with local files Managing communication and threading Optimizing the HTML5 browser experience Integrating device data Turn to HTML5 Developer’s Cookbook for expert answers, real solutions, and the code required to implement them. It’s all you need to jumpstart any HTML5 project and create rich, high-value web applications your users will love.




The Web Game Developer's Cookbook


Book Description

Want to start building great web games with HTML5 and JavaScript? Moving from Flash or other game platforms? Already building HTML5 games and want to get better and faster at it? This guide brings together everything you need: expert guidance, sample projects, and working code! Evan Burchard walks you step-by-step through quickly building 10 popular types of games. Each chapter implements a game within a well-understood genre; introduces a different free, open source, and easy-to-use HTML5 game engine; and is accompanied with full JavaScript source code listings. Each game recipe uses tested and well-proven patterns that address the development challenges unique to that genre, and shows how to use existing tools and engines to build complete substantial game projects in just hours. Need a quick JavaScript primer? Evan Burchard provides that, too! Coverage includes • Mastering an essential HTML5/JavaScript game development toolset: browser, text editor, terminal, JavaScript console, game engine, and more • Accelerating development with external libraries and proven patterns • Managing browser differences between IE, Firefox, and Chrome • Getting up to speed on web development with a QUIZ game built with JavaScript, HTML, CSS, and JQuery • Creating INTERACTIVE FICTION “gamebooks” that leverage new CSS3 features and impress.js • Building PARTY games around the lightweight atom.js engine • Developing PUZZLE games with the easel.js graphics rendering engine • Writing PLATFORMERS with melon.js and its integrated tilemap editor • Coding intense 2-player FIGHTING games for web browsers with game.js • Building a SPACE SHOOTER with the jQuery-based gameQuery game engine • Implementing pseudo-3D techniques like ray casting for an FPS (First Person Shooter) style game • Producing a 16 bit RPG (Role Playing Game) complete with interfaces for dialog, inventories, and turn-based battles with enchant.js • Building an isometric RTS (Real Time Strategy) game that incorporates server components along with node.js, socket.io, and crafty.js • Engaging players with content that encourages exploration Turn to The Web Game Developer’s Cookbook for proven, expert answers–and the code you need to implement them. It’s all you need to jumpstart any web game project!




The Core IOS 6 Developer's Cookbook


Book Description

The Core iOS 6 Developer's Cookbook brings together reliable, proven solutions for the heart of day-to-day iOS 6 development. World-renowned iOS programming expert Erica Sadun covers all the classes you'll need to create successful iOS 6 mobile apps with standard APIs and interface elements and take full advantage of iOS 6 graphics, touches, and views. As in her previous bestselling iOS books, Sadun translates today's development best practices into working code, distilling key concepts into concise recipes that are easy to understand and transfer into your own projects. This isn't just cut-and-paste; using her examples, Sadun fully explains both the "how" and "why" of effective iOS 6 development. All code has been fully revised and extensively tested to reflect the latest iOS 6 features and the newest iPhone, iPad, and iPod touch capabilities. Throughout, every chapter groups related tasks together, so you can jump straight to your solution, without having to identify the right class or framework first. Coverage includes Supporting direct user input through multitouch and gestures, including custom gesture recognizers Building, customizing, and using iOS 6 controls Alerting users via popup dialogs, progress bars, local notifications, popovers, audio pings, and other techniques Assembling views and animation, organizing view hierarchies, and understanding how views work together Using iOS 6's breakthrough autolayout constraints system to simplify support for multiple screen geometries controlling keyboards, making onscreen elements "text aware," and efficiently scanning and formatting text Using view controllers to organize your users' workspaces Managing photos, videos, email, text messages, and iOS 6-enhanced social media updates Implementing VoiceOver accessibility to reach even more users Organizing apps simply and intuitively with tables and adding flexibility with iOS 6's brand new collection views Getting started with Core Data managed data stores Leveraging iOS 6's powerful networking and web services support




Cocos2d for IPhone 1 Game Development Cookbook


Book Description

Annotation Cocos2d for iPhone is a robust but simple-to-use 2D game framework for iPhone. It is easy to use, fast, flexible, free, and Appstore approved. More than 2500 AppStore games already use it, including many best-seller games. Do you want to take your cocos2d game development skills to the next level and become more professional in cocos2d game design?Cocos2d for iPhone 1 Game Development Cookbook will help you reach that next level. You will find over 100 recipes here that explain everything from the drawing of a single sprite to AI pathfinding and advanced networking. Full working examples are emphasized.Starting with the first chapter, Graphics, you will be taken through every major topic of game development. You will find both simple and complex recipes in the book.Each recipe is either a solution to a common problem (playing video files, accelerometer steering) or a cool advanced technique (3D rendering, textured polygons).This cookbook will have you creating professional quality iOS games quickly with its breadth of working example code.




The Android Tablet Developer's Cookbook


Book Description

The Android Tablet Developer's Cookbook helps experienced Android developers leverage new Android 4.2.2 features to build compelling applications that take full advantage of tablets' bigger screens, dual-core processors, and larger, faster memory.Tightly focused on Android 4.2.2's tablet-related capabilities, it presents an unparalleled library of easy-to-reuse code for solving real-world problems. Everything's organized in modular, standalone sections to help you quickly find what you're looking for, even when you need to use multiple classes together.Throughout, B.M. Harwani clearly explains how Android tablet apps are unique, how to leverage Android skills and libraries you've already mastered, and how to efficiently integrate tablet APIs and features. From media to NFC, porting phone apps to integrating analytics, this book will help you do it fast and do it right.Coverage includes Providing user control via the system clipboard, notifications, and pending intents Supporting drag and drop for both text and images Displaying navigation and core app functionality via the ActionBar Using widgets to present calendars, number pickers, image stacks, and options lists Delivering powerful graphics via animation and hardware accelerated 2D Recording audio, video, and images Responding to sensors Pairing tablets to other Bluetooth-enabled Android devices or PCs Using Wi-Fi Direct to share media Creating custom home screen widgets Making the most of threads and the AsyncTask class Exchanging data via JSON Displaying and browsing Web content via the WebView widget Creating fragments dynamically at runtime and implementing communication between fragments Porting apps from smartphones to tablets and building new apps for both Supporting older versions of the Android SDK Sharing data and messages via NFC with Android Beam Integrating app analytics and tracking Turn to The Android Tablet Developer's Cookbook for proven, expert answers--and the code you need to implement them. It's all you need to jump-start any project and quickly create compelling Android tablet apps that sell!




Lua Game Development Cookbook


Book Description

The Lua language allows developers to create everything from simple to advanced applications and to create the games they want. Creating a good game is an art, and using the right tools and knowledge is essential in making game development easier. This book will guide you through each part of building your game engine and will help you understand how computer games are built. The book starts with simple game concepts used mainly in 2D side-scroller games, and moves on to advanced 3D games. Plus, the scripting capabilities of the Lua language give you full control over game. By the end of this book, you will have learned all about the components that go into a game, created a game, and solved the problems that may arise along the way.




Android NDK Game Development Cookbook


Book Description

A systematic guide consisting of over 70 recipes which focus on helping you build portable mobile games and aims to enhance your game development skills with clear instructions.If you are a C++ developer who wants to jump into the world of Android game development and who wants to use the power of existing C++ libraries in your existing Android Java applications, then this book is for you. You need to have basic knowledge of C or C++ including pointer manipulation, multithreading, and object-oriented programming concepts as well as some experience developing applications without using an IDE.




Web Developer's Cookbook


Book Description

This collection of more than 300 ready-to-use recipes for often-needed solutions is the ultimate time saver for Web developers.




HTML5 Canvas Cookbook


Book Description

Annotation The HTML5 canvas is revolutionizing graphics and visualizations on the Web. Powered by JavaScript, the HTML5 Canvas API enables web developers to create visualizations and animations right in the browser without Flash. Although the HTML5 Canvas is quickly becoming the standard for online graphics and interactivity, many developers fail to exercise all of the features that this powerful technology has to offer.The HTML5 Canvas Cookbook begins by covering the basics of the HTML5 Canvas API and then progresses by providing advanced techniques for handling features not directly supported by the API such as animation and canvas interactivity. It winds up by providing detailed templates for a few of the most common HTML5 canvas applicationsdata visualization, game development, and 3D modeling. It will acquaint you with interesting topics such as fractals, animation, physics, color models, and matrix mathematics.By the end of this book, you will have a solid understanding of the HTML5 Canvas API and a toolbox of techniques for creating any type of HTML5 Canvas application, limited only by the extent of your imagination.




Apache Camel Developer's Cookbook


Book Description

This book is written in a Cookbook style with short recipes showing developers how to effectively implement EIP without breaking everything in the process. It is concise and to the point, and it helps developers get their data flowing between different components without the need to read through page upon page of theory, while also enabling the reader to learn how to create exciting new projects. Camel Enterprise Integration Cookbook is intended for developers who have some familiarity with Apache Camel and who want a quick lookup reference to practical, proven tips on how to perform common tasks. Every recipe also includes a summary and reference pointers for more details that make it easy for you to get a deeper understanding of the Apache Camel capabilities that you will use day to day.