Ansible Playbook EssentialsAnsible combines configuration management, orchestration, and parallel command execution into a single tool. Its batteries-included approach and built-in module library makes it easy to integrate it with cloud platforms, databases, and notification services without requiring additional plugins. Playbooks in Ansible define the policies your systems under management enforce. They facilitate effective configuration management rather than running ad hoc scripts to deploy complex applications.
This book will show you how to write a blueprint of your infrastructure encompassing multi-tier applications using Ansible's playbooks. Beginning with the basic concepts such as plays, tasks, handlers, inventory, and the YAML syntax that Ansible uses, you will see how to organize your code into a modular structure. Building on this, you will master techniques to create data-driven playbooks with variables, templates, logical constructs, and encrypted data. This book will also take you through advan ...
Redis EssentialsRedis is the most popular in-memory key-value data store. It's very lightweight and its data types give it an edge over the other competitors. If you need an in-memory database or a high-performance cache system that is simple to use and highly scalable, Redis is what you need.
Redis Essentials is a fast-paced guide that teaches the fundamentals on data types, explains how to manage data through commands, and shares experiences from big players in the industry.
We start off by explaining the basics of Redis followed by the various data types such as Strings, hashes, lists, and more. Next, Common pitfalls for various scenarios are described, followed by solutions to ensure you do not fall into common traps.
After this, major differences between client implementations in PHP, Python, and Ruby are presented. Next, you will learn how to extend Redis with Lua, get to know security techniques such as basic authorization, firewall rules, and SSL encryption, and discover how to use Tw ...
Sass and Compass for DesignersThe CSS preprocessor, Sass, is becoming the de-facto standard for producing cross-browser CSS more maintainable and with more ease. It supercharges CSS with features that make previously difficult and time-consuming tasks trivial. This book concentrates on distilling the techniques in a straightforward manner making it accessible to all, even to those that only know HTML and CSS.
We will start with a completely unstyled HTML document and build a responsive Sass and Compass powered website step by step.
Sass and Compass make CSS easy. You'll learn how to manipulate color in the stylesheet with a single command, create responsive grids with ease, automatically create image sprites, and create CSS3 powered rules that work across all modern browsers. ...
Beginning iPhone and iPad Web AppsThis book will help you join the thousands of successful iPhone apps developers without needing to learn Objective-C or the Cocoa touch APIs. If you want to apply your existing web development skills to iPhone and iPad development, then now you can. WebKit's support for HTML5 means any web developer can create compelling apps for both the iPhone and the larger-screen iPad. You'll learn about WebKit and Mobile Safari, HTML5 and CSS3, vector graphics and multimedia support. You'll discover the built-in hardware features of the iPhone and iPad and how best to take advantage of them. ...
Android RecipesIn this book, you'll start off with a recap of Android architecture and app fundamentals, and then get down to business and build an app with Google's Android SDK at the command line and Eclipse. Next, you'll learn how to accomplish practical tasks pertaining to the user interface, communications with the cloud, device hardware, data persistence, communications between applications, and interacting with Android itself. Finally, you'll learn how to leverage various libraries and Scripting Layer for Android (SL4A) to help you perform tasks more quickly, how to use the Android NDK to boost app performance, and how to design apps for performance, responsiveness, seamlessness, and more. ...
Swift Development for the Apple WatchApple Watch is the sort of science-fiction gadget that people used to dream about as kids. What kinds of apps do you envision for this new device? If you're comfortable using OS X, Xcode, and iOS - and familiar with Swift - this concise book shows you the basics of building your own apps for this wrist-mounted computer with Apple's WatchKit framework.
You'll learn what an Apple Watch is, what it isn't, and how and why people might interact with apps you build for it. This practical guide also examines the type of apps most suitable for this device, and shows you how to be a good citizen in the iOS/Watch ecosystem.
Learn the Watch app lifecycle, and understand how these apps interact with the user's iPhone; Build a Watch app and its iOS counterpart by adding controls, working with multiple screens, and sharing data; Design a simple glance, the non-interactive Watch component that provides quick-look information; Add functionality to the notification system, including actionable items, ...
High Performance Android AppsUnique and clever ideas are important when building a hot-selling Android app, but the real drivers for success are speed, efficiency, and power management. With this practical guide, you'll learn the major performance issues confronting Android app developers, and the tools you need to diagnose problems early.
Customers are finally realizing that apps have a major role in the performance of their Android devices. Author Doug Sillars not only shows you how to use Android-specific testing tools from companies including Google, Qualcomm, and AT&T, but also helps you explore potential remedies. You'll discover ways to build apps that run well on all 19,000 Android device types in use.
Understand how performance issues affect app sales and retention; Build an Android device lab to maximize UI, functional, and performance testing; Improve the way your app interacts with device hardware; Optimize your UI for fast rendering, scrolling, and animations; Track down memory leaks and CPU issues ...
Introduction to Python for Engineers and ScientistsFamiliarize yourself with the basics of Python for engineering and scientific computations using this concise, practical tutorial that is focused on writing code to learn concepts. Introduction to Python is useful for industry engineers, researchers, and students who are looking for open-source solutions for numerical computation.
In this book you will learn by doing, avoiding technical jargon, which makes the concepts easy to learn. First you'll see how to run basic calculations, absorbing technical complexities incrementally as you progress toward advanced topics. Throughout, the language is kept simple to ensure that readers at all levels can grasp the concepts.
Understand the fundamentals of the Python programming language; Apply Python to numerical computational programming projects in engineering and science; Discover the Pythonic way of life; Apply data types, operators, and arrays; Carry out plotting for visualization; Work with functions and loops. ...
Assessing and Improving Prediction and ClassificationAssess the quality of your prediction and classification models in ways that accurately reflect their real-world performance, and then improve this performance using state-of-the-art algorithms such as committee-based decision making, resampling the dataset, and boosting. This book presents many important techniques for building powerful, robust models and quantifying their expected behavior when put to work in your application.
Considerable attention is given to information theory, especially as it relates to discovering and exploiting relationships between variables employed by your models. This presentation of an often confusing subject avoids advanced mathematics, focusing instead on concepts easily understood by those with modest background in mathematics.
All algorithms include an intuitive explanation of operation, essential equations, references to more rigorous theory, and commented C++ source code. Many of these techniques are recent developments, still not in widesprea ...
Pro JavaFX 9Use the JavaFX platform to create rich-client Java applications and discover how you can use this powerful Java-based UI platform, which is capable of handling large-scale data-driven business applications for PC as well as mobile and embedded devices. The expert authors cover the new more modular JavaFX 9 APIs, development tools, and best practices and provide code examples that explore the exciting new features provided with JavaFX 9, part of Oracle's new Java 9 release. Pro JavaFX 9: A Definitive Guide to Building Desktop, Mobile, and Embedded Java Clients also contains engaging tutorials that cover virtually every facet of JavaFX development and reference materials on JavaFX that augment the JavaFX API documentation.
Create a user interface in JavaFX; Use SceneBuilder to create a user interface; Build dynamic UI layouts in JavaFX and using the JavaFX UI controls; Create charts in JavaFX; Leverage JavaFX languages and markup. ...