ppk on JavaScript

ppk on JavaScript
Author: Peter-Paul Koch
Publisher: New Riders
Total Pages: 628
Release: 2006-09-26
Genre: Computers
ISBN: 0132704951

Whether you're an old-school scripter who needs to modernize your JavaScripting skills or a standards-aware Web developer who needs best practices and code examples, you'll welcome this guide from a JavaScript master. Other JavaScript books use example scripts that have little bearing on real-world Web development and are useful only in the chapter at hand. In contrast, Peter-Paul Koch's book uses eight real-world scripts he created for real-world clients in order to earn real-world money. That means the scripts are guaranteed to do something useful (and sellable!) that enhances the usability of the page they're used on. The book's example scripts include one that sorts a data table according to the user's search queries, a form validation script, a script that shows form fields only when the user needs them, a drop-down menu, and a data retrieval script that uses simple Ajax and shows the data in an animation. After an overview of JavaScript's purpose, Peter-Paul provides theoretical chapters on the context (jobs for JavaScript, CSS vs. JavaScript), the browsers (debugging, the arcana of the browser string), and script preparation. Then follow practical chapters on Core, BOM, Events, DOM, CSS Modification, and Data Retrieval, all of which are explained through a combination of theoretical instruction and the taking apart of the relevant sections of the example scripts.

JavaScript Web Applications

JavaScript Web Applications
Author: Alex MacCaw
Publisher: "O'Reilly Media, Inc."
Total Pages: 281
Release: 2011-08-11
Genre: Computers
ISBN: 1449315283

Building rich JavaScript applications that bring a desktop experience to the Web requires moving state from the server to the client side—not a simple task. This hands-on book takes proficient JavaScript developers through all the steps necessary to create state-of-the-art applications, including structure, templating, frameworks, communicating with the server, and many other issues. Throughout the book, you'll work with real-world example applications to help you grasp the concepts involved. Learn how to create JavaScript applications that offer a more responsive and improved experience. Use the Model-View-Controller (MVC) pattern, and learn how to manage dependencies inside your application Get an introduction to templating and data binding Learn about loading remote data, Ajax, and cross-domain requests Create realtime applications with WebSockets and Node.js Accept dropped files and upload data with progress indicators Use major frameworks and libraries, including jQuery, Spine, and Backbone Write tests and use the console to debug your applications Get deployment best practices, such as caching and minification

JavaScript Cookbook

JavaScript Cookbook
Author: Shelley Powers
Publisher: "O'Reilly Media, Inc."
Total Pages: 556
Release: 2010-07-07
Genre: Computers
ISBN: 1449395929

Why reinvent the wheel every time you run into a problem with JavaScript? This cookbook is chock-full of code recipes that address common programming tasks, as well as techniques for building web apps that work in any browser. Just copy and paste the code samples into your project—you’ll get the job done faster and learn more about JavaScript in the process. You'll also learn how to take advantage of the latest features in ECMAScript 5 and HTML5, including the new cross-domain widget communication technique, HTML5's video and audio elements, and the drawing canvas. You'll find recipes for using these features with JavaScript to build high-quality application interfaces. Create interactive web and desktop applications Work with JavaScript objects, such as String, Array, Number, and Math Use JavaScript with Scalable Vector Graphics (SVG) and the canvas element Store data in various ways, from the simple to the complex Program the new HTML5 audio and video elements Implement concurrent programming with Web Workers Use and create jQuery plug-ins Use ARIA and JavaScript to create fully accessible rich internet applications

JavaScript: The Missing Manual

JavaScript: The Missing Manual
Author: David Sawyer McFarland
Publisher: "O'Reilly Media, Inc."
Total Pages: 547
Release: 2008-07-21
Genre: Computers
ISBN: 059655530X

JavaScript is an essential language for creating modern, interactive websites, but its complex rules challenge even the most experienced web designers. With JavaScript: The Missing Manual, you'll quickly learn how to use JavaScript in sophisticated ways -- without pain or frustration -- even if you have little or no programming experience. JavaScript expert David McFarland first teaches you the basics by having you build a simple program. Then you'll learn how to work with jQuery, a popular library of pre-built JavaScript components that's free and easy to use. With jQuery, you can quickly build modern, interactive web pages -- without having to script everything from scratch! Learn how to add scripts to a web page, store and manipulate information, communicate with the browser window, respond to events like mouse clicks and form submissions, and identify and modify HTML Get real-world examples of JavaScript in action Learn to build pop-up navigation bars, enhance HTML tables, create an interactive photo gallery, and make web forms more usable Create interesting user interfaces with tabbed panels, accordion panels, and pop-up dialog boxes Learn to avoid the ten most common errors new programmers make, and how to find and fix bugs Use JavaScript with Ajax to communicate with a server so that your web pages can receive information without having to reload

Learn to Code HTML and CSS

Learn to Code HTML and CSS
Author: Shay Howe
Publisher: New Riders
Total Pages: 305
Release: 2014-04-22
Genre: Computers
ISBN: 0133477576

HTML and CSS can be a little daunting at first but fear not. This book, based on Shay Howe's popular workshop covers the basics and breaks down the barrier to entry, showing readers how they can start using HTML and CSS through practical techniques today. They'll find accompanying code examples online, while they explore topics such as the different structures of HTML and CSS, and common terms. After establishing a basic understanding of HTML and CSS a deeper dive is taken into the box model and how to work with floats. The book includes an exercise focused on cleaning up a web page by improving the user interface and design, solely using HTML and CSS. With a few quick changes the web page changes shape and comes to life. Interactive, technically up-to-the-minute and easy-to-understand, this book will advance a student's skills to a professional level.

Implementing Responsive Design

Implementing Responsive Design
Author: Tim Kadlec
Publisher: New Riders
Total Pages: 643
Release: 2012-07-30
Genre: Computers
ISBN: 0132979365

New devices and platforms emerge daily. Browsers iterate at a remarkable pace. Faced with this volatile landscape we can either struggle for control or we can embrace the inherent flexibility of the web. Responsive design is not just another technique–it is the beginning of the maturation of a medium and a fundamental shift in the way we think about the web. Implementing Responsive Design is a practical examination of how this fundamental shift affects the way we design and build our sites. Readers will learn how to: Build responsive sites using a combination of fluid layouts, media queries, and fluid media Adopt a responsive workflow from the very start of a project Enhance content for different devices Use feature-detection and server-side enhancement to provide a richer experience

100 Things Every Designer Needs to Know About People

100 Things Every Designer Needs to Know About People
Author: Susan Weinschenk
Publisher: New Riders
Total Pages: 352
Release: 2020-06-01
Genre: Art
ISBN: 0136746888

WE DESIGN TO ELICIT RESPONSES from people. We want them to buy something, read more, or take action of some kind. Designing without understanding what makes people act the way they do is like exploring a new city without a map: results will be haphazard, confusing, and inefficient. This book combines real science and research with practical examples to deliver a guide every designer needs. With this book you’ll design more intuitive and engaging apps, software, websites and products that match the way people think, decide and behave. INCREASE THE EFFECTIVENESS OF YOUR PRODUCTS. Apply psychology and behavioral science to your designs. Here are some of the questions this book will answer: • What grabs and holds attention. • What makes memories stick? • What is more important, peripheral or central vision? • Can you predict the types of errors people will make? • What is the limit to someone’s social circle? • What line length for text is best? • Are some fonts better than others? These are just a few of the questions that the book answers in its deep-dive exploration of what makes people tick.

Secrets of the JavaScript Ninja

Secrets of the JavaScript Ninja
Author: John Resig
Publisher: Manning
Total Pages: 0
Release: 2013-01-17
Genre: Computers
ISBN: 9781933988696

Summary Secrets of the Javascript Ninja takes you on a journey towards mastering modern JavaScript development in three phases: design, construction, and maintenance. Written for JavaScript developers with intermediate-level skills, this book will give you the knowledge you need to create a cross-browser JavaScript library from the ground up. About this Book You can't always attack software head-on. Sometimes youcome at it sideways or sneak up from behind. You need tomaster an arsenal of tools and know every stealthy trick.You have to be a ninja. Secrets of the JavaScript Ninja leads you down the pathway toJavaScript enlightenment. This unique book starts with keyconcepts, like the relationships between functions, objects, andclosures, taught from the master's perspective. You'll grow fromapprentice to ninja as you soak up fresh insights on the techniquesyou use every day and discover features and capabilities you neverknew about. When you reach the final chapters, you'll be ready tocode brilliant JavaScript applications and maybe even write yourown libraries and frameworks. You don't have to be a ninja to read this book—just be willing tobecome one. Are you ready? 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 Functions, objects, closures, regular expressions, and more Seeing applications and libraries from the right perspective Dealing with the complexities of cross-browser development Modern JavaScript design About the Authors John Resig is an acknowledged JavaScript authority and the creatorof the jQuery library. Bear Bibeault is a web developer and coauthorof Ajax in Practice, Prototype and Scriptaculous in Action, and jQueryin Action from Manning. Table of Contents PART 1 PREPARING FOR TRAINING Enter the ninja Arming with testing and debugging PART 2 APPRENTICE TRAINING Functions are fundamental Wielding functions Closing in on closures Object-orientation with prototypes Wrangling regular expressions Taming threads and timers PART 3 NINJA TRAINING Ninja alchemy: runtime code evaluation With statements Developing cross-browser strategies Cutting through attributes, properties, and CSS PART 4 MASTER TRAINING Surviving events Manipulating the DOM CSS selector engines

Game Mechanics

Game Mechanics
Author: Ernest Adams
Publisher: New Riders
Total Pages: 442
Release: 2012-06-18
Genre: Computers
ISBN: 0132946688

This in-depth resource teaches you to craft mechanics that generate challenging, enjoyable, and well-balanced gameplay. You’ll discover at what stages to prototype, test, and implement mechanics in games and learn how to visualize and simulate game mechanics in order to design better games. Along the way, you’ll practice what you’ve learned with hands-on lessons. A free downloadable simulation tool developed by Joris Dormans is also available in order to follow along with exercises in the book in an easy-to-use graphical environment. In Game Mechanics: Advanced Game Design, you’ll learn how to: * Design and balance game mechanics to create emergent gameplay before you write a single line of code. * Visualize the internal economy so that you can immediately see what goes on in a complex game. * Use novel prototyping techniques that let you simulate games and collect vast quantities of gameplay data on the first day of development. * Apply design patterns for game mechanics—from a library in this book—to improve your game designs. * Explore the delicate balance between game mechanics and level design to create compelling, long-lasting game experiences. * Replace fixed, scripted events in your game with dynamic progression systems to give your players a new experience every time they play. "I've been waiting for a book like this for ten years: packed with game design goodness that tackles the science without undermining the art." --Richard Bartle, University of Essex, co-author of the first MMORPG “Game Mechanics: Advanced Game Design by Joris Dormans & Ernest Adams formalizes game grammar quite well. Not sure I need to write a next book now!” -- Raph Koster, author of A Theory of Fun for Game Design.