Mastering Ruby ClosuresRuby developers use the Ruby language as the yardstick for expressivity, flexibility, and elegance - and a large part of this is due to blocks, lambdas, and procs. These language features make Ruby one of the most beautiful and pleasant languages to work with. Learn how to understand and craft code that will take you closer to Ruby mastery.
Start with the basics of closures and then dive into blocks, as you learn about the patterns that involve blocks, and how they are used in real-world code. Then create and use procs and lambdas. Finally, build your own lazy enumerables with advanced Ruby features such as fibers and generators. Along the way, work with computer science concepts such as closures, free variables and first-class functions. Spot a closure easily. Identify the patterns where you can effectively use blocks and re-implement common standard library methods using them. Trace through how Symbol#to_proc works and find out the different ways of calling procs. This succinct gu ...
React Native CookbookTackling an app development project on multiple platforms is usually an arduous task, but with React Native, you can build cross-platform mobile apps that look and behave just like native apps built with Swift or Java. If you're familiar with JavaScript, the recipes in this cookbook will help you understand the React Native ecosystem, deal with design and hardware issues, take on the deployment process, and write maintainable code.
How do you organize a project? Or design an app that can access a device's camera? Based on author Jonathan Lebensold's personal journey through the app development process, the recipes in this cookbook will not only provide you with quick answers, they can also inspire you to come up with your own solutions.
Examine the software tools you'll use to build a React Native app; Leverage components and JavaScript libraries in the React ecosystem; Design cross-platform apps that balance UX, platform conventions, and technical complexity; Get common use case ...
JSON at WorkJSON is becoming the backbone for meaningful data interchange over the internet. This format is now supported by an entire ecosystem of standards, tools, and technologies for building truly elegant, useful, and efficient applications. With this hands-on guide, author and architect Tom Marrs shows you how to build enterprise-class applications and services by leveraging JSON tooling and message/document design.
JSON at Work provides application architects and developers with guidelines, best practices, and use cases, along with lots of real-world examples and code samples. You'll start with a comprehensive JSON overview, explore the JSON ecosystem, and then dive into JSON's use in the enterprise.
Get acquainted with JSON basics and learn how to model JSON data; Learn how to use JSON with Node.js, Ruby on Rails, and Java; Structure JSON documents with JSON Schema to design and test APIs; Search the contents of JSON documents with JSON Search tools; Convert JSON documents to other d ...
Articulating Design DecisionsTalking to people about your designs might seem like a basic skill, but it can be difficult to do efficiently and well. And, in many cases, how you communicate about your work with stakeholders, clients, and other non-designers is more critical than the designs themselves - simply because the most articulate person usually wins.
This practical guide focuses on principles, tactics, and actionable methods for presenting your designs. Whether you design UX, websites, or products, you'll learn how to win over anyone who has influence over the project - with the goal of creating the best experience for the end user.
Walk through the process of preparing for and presenting your designs; Understand stakeholder perspectives, and learn how to empathize with them; Cultivate both implicit and explicit listening skills; Learn tactics and formulas for expressing the most effective response to feedback; Discover why the way you follow through is just as crucial as the meeting itself; Educate y ...
Development with the Force.com Platform, 2nd EditionUsing Force.com, you can build enterprise applications with world-class value, scalability, and reliability - and do it in days or weeks, not months or years. In this book, top Force.com developer Jason Ouellette offers all the technical guidance and sample code you'll need to get outstanding results with the newest version of Force.com. Drawing on his experience building three of the world's top ten Force.com applications, Jason Ouellette walks you through the entire project lifecycle, from identifying potential applications to prototyping, coding, and deployment. Throughout, he offers practical insights you won't find in Salesforce.com's documentation - or anywhere else. ...
Building Networks and Servers Using BeagleBoneCreate your own video theatre and music jukebox using Beaglebone. Make your multimedia library available to all the devices on your network, without spending an excessive amount of money on computer components and software.
You'll start off by installing the Debian operating system image onto your BeagleBone, and setting up the software required to serve up both audio and video files to any device on the network. Next, you'll move on to network monitoring software, and install traceroute, MTR (My traceroute), Nmap, and iptraf-ng, to monitor the traffic on your local network. Once the monitoring software is set up, you'll create a RAID array to store all your media files. You'll then go one step further, and set up live and recorded video streaming using a web-based application. Finally, you'll learn to add Wi-Fi connectivity to your multimedia server by setting up WAP on your BeagleBone system. ...
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. ...
Away3D 3.6 EssentialsCreate stunning 3D environments with highly detailed textures. Animate and transform all types of 3D objects, including 3D Text. Eliminate the need for expensive hardware with proven Away3D optimization techniques, without compromising on visual appeal. Written in a practical and illustrative style, which will appeal to Away3D beginners and Flash developers alike. ...
Beginning Programming with Java For Dummies, 5th EditionAre you new to programming and have decided that Java is your language of choice? Are you a wanna-be programmer looking to learn the hottest lingo around? Look no further! Beginning Programming with Java For Dummies, 5th Edition is the easy-to-follow guide you'll want to keep in your back pocket as you work your way toward Java mastery! In plain English, it quickly and easily shows you what goes into creating a program, how to put the pieces together, ways to deal with standard programming challenges, and so much more.
Whether you're just tooling around or embarking on a career, this is the ideal resource you'll turn to again and again as you perfect your understanding of the nuances of this popular programming language. Packed with tons of step-by-step instruction, this is the only guide you need to start programming with Java like a pro.
Updated for Java 9, learn the language with samples and the Java toolkit; Familiarize yourself with decisions, conditions, statements, and inf ...
Beginning jQuery, 2nd EditionNavigate the tricky issues around cross-browser inconsistencies and use jQuery to avoid wasting time fixing these bugs. This book is your step-by-step guide to learning the jQuery library and allows you to concentrate on what really matters to you, mastering the most popular JavaScript library in a web developer's toolkit.
Throughout this book, you'll discover how expressive yet concise jQuery's code is and how much quicker and efficiently you can develop with jQuery. Beginning jQuery takes you from the basics of getting you started with jQuery, right through to extending jQuery by writing your own plug-ins. You'll discover best practices you can follow, how you can avoid common mistakes, and learn about the many other assets that jQuery has to offer.
This second edition is completely updated for jQuery version 3.x, including integration with npm, and guidelines for working with the Data set API specification.
Use jQuery's powerful tools to dynamically update content on your ...