Dependency Injection with AngularJSDependency injection facilitates better testing by allowing us to mock dependencies in testing environments so that we only test one thing at a time. It also enables us to write more maintainable code by decoupling our objects from their implementations. The motivation for using it in AngularJS is to make it easier to transparently load mocked objects in tests.
This book is a practical manual to get you started on dependency injection. It will also take you along the road to creating testable and reusable code. Ensuring productivity and stability are the two most important things that you will learn.
Dependency Injection with AngularJS will introduce you to AngularJS using a simple sample project. By portraying different ways of developing code modules, it will show you the advantages of dependency injection. This will lead to the ability to create reusable components that can easily be tested. ...
Groovy 2 CookbookGet up to speed with Groovy, a language for the Java Virtual Machine (JVM) that integrates features of both object-oriented and functional programming. This book will show you the powerful features of Groovy 2 applied to real-world scenarios and how the dynamic nature of the language makes it very simple to tackle problems that would otherwise require hours or days of research and implementation.
Groovy 2 Cookbook contains a vast number of recipes covering many facets of today's programming landscape. From language-specific topics such as closures and metaprogramming, to more advanced applications of Groovy flexibility such as DSL and testing techniques, this book gives you quick solutions to everyday problems. ...
xUnit Test PatternsAutomated testing is a cornerstone of agile development. An effective testing strategy will deliver new functionality more aggressively, accelerate user feedback, and improve quality. However, for many developers, creating effective automated tests is a unique and unfamiliar challenge.
xUnit Test Patterns is the definitive guide to writing automated tests using xUnit, the most popular unit testing framework in use today. Agile coach and test automation expert Gerard Meszaros describes 68 proven patterns for making tests easier to write, understand, and maintain. He then shows you how to make them more robust and repeatable - and far more cost-effective. ...
Java Performance: The Definitive GuideCoding and testing are often considered separate areas of expertise. In this comprehensive guide, author and Java expert Scott Oaks takes the approach that anyone who works with Java should be equally adept at understanding how code behaves in the JVM, as well as the tunings likely to help its performance.
You'll gain in-depth knowledge of Java application performance, using the Java Virtual Machine (JVM) and the Java platform, including the language and API. Developers and performance engineers alike will learn a variety of features, tools, and processes for improving the way Java 7 and 8 applications perform. ...
Continuous Enterprise Development in JavaLearn a use-case approach for developing Java enterprise applications in a continuously test-driven fashion. With this hands-on guide, authors and JBoss project leaders Andrew Lee Rubinger and Aslak Knutsen show you how to build high-level components, from persistent storage to the user interface, using the Arquillian testing platform and several other JBoss projects and tools.
Through the course of the book, you'll build a production-ready software conference tracker called GeekSeek, using source code from GitHub. Rubinger and Knutsen demonstrate why testing is the very foundation of developmen-essential for ensuring that code is consumable, complete, and correct. ...
Getting Started with Bluetooth Low EnergyWith Bluetooth Low Energy (BLE), smart devices are about to become even smarter. This practical guide demonstrates how this exciting wireless technology helps developers build mobile apps that share data with external hardware, and how hardware engineers can gain easy and reliable access to mobile operating systems.
This book provides a solid, high-level overview of how devices use BLE to communicate with each other. You'll learn useful low-cost tools for developing and testing BLE-enabled mobile apps and embedded firmware and get examples using various development platforms—including iOS and Android for app developers and embedded platforms for product designers and hardware engineers. ...
The ThoughtWorks Anthology, Volume 2When you hit a rough spot in software development, it's nice to know that someone has been there before. The domain experts at ThoughtWorks share what they've learned in this anthology, bringing together the best field-tested insights in IT and software development. You'll benefit from their experience in areas from testing to information visualization, from object oriented to functional programming, from incremental development to driving innovation in delivery. You'll find yourself referring to this collection of solved problems whenever you need an expert's insight. ...
ThoughtWorks AnthologyThis collection of essays covers a wide range of issues facing software developers today. In this book, you'll find a treasure trove of pragmatic advice to improve the effectiveness of your development efforts.
You'll find essays on testing, controlling a project, the creation of domain specific languages, issues of build and deploy, programming languages, techniques for software development, and more! ...
MCTS Self-Paced Training Kit (Exam 70-511)Announcing an all-new Self-Paced Training Kit designed to help maximize your performance on 70-511, the required exam for the MCTS certification: Windows Application Development with Microsoft .NET Framework 4. This 2-in-1 kit includes the official Microsoft study guide, plus practice tests to help you assess your skills. It comes packed with the tools and features exam candidates want most - including in-depth, self-paced training based on final exam content; rigorous, objective-by-objective review; exam tips from expert, exam-certified authors; and customizable testing options. It also provides real-world scenarios, case study examples, and troubleshooting labs for the skills and expertise you can use on the job. ...
Programming Microsoft ASP.NET MVCDelve into the features, principles, and pillars of the ASP.NET MVC framework-deftly guided by Web development luminary Dino Esposito. ASP.NET MVC forces developers to think in terms of distinct components-model, view, controller-that make it easier to manage application complexity. Plunge into the framework's internal mechanics and gain a practical, what-why-how perspective behind each ASP.NET MVC building block. You'll understand how and when to use this programming model as an alternative to Web Forms-to gain full control of HTML, simplify testing and extensibility, and design better Web sites and experiences. ...