|
April 20, 2016
Debunk the myth that JavaScript is not easily testable. Whether you use Node.js, Express, MongoDB, jQuery, AngularJS, or directly manipulate the DOM, you can test-drive JavaScript. Your investment in writing tests will pay high dividends as you create code that's predictable and cost-effective to change. Now in beta from pragprog.com/book/vsjavas.
Also this week, Designed for Use, Second Edition is now in print and shipping from pragprog.com/book/lmuse2. This book is for designers, developers, and product managers who are charged with what sometimes seems like an impossible task: making sure products work the way your users expect them to. It's not as easy as it sounds.
Come and get 'em!
Test-Driving JavaScript Applications: Rapid, Confident, Maintainable Code
Design and code JavaScript applications with automated tests. Writing meaningful tests is a skill that takes learning, some unlearning, and a lot of practice, and with this book, you'll hone that skill. Fire up the editor and get hands-on through practical exercises for effective automated testing and designing maintainable, modular code.
Start by learning when and why to do manual testing vs. automated verification. Focus tests on the important things, like the pre-conditions, the invariants, complex logic, and gnarly edge cases. Then begin to design asynchronous functions using automated tests. Carefully decouple and mock out intricate dependencies such as the DOM, geolocation API, file and database access, and Ajax calls to remote servers.
Step by step, test code that uses Node.js, Express, MongoDB, jQuery, and AngularJS. Know when and how to use tools such as Chai, Istanbul, Karma, Mocha, Protractor, and Sinon. Create tests with minimum effort and run them fast without having to spin up web servers or manually edit HTML pages to run in browsers. Then explore end-to-end testing to ensure all parts are wired and working well together.
Don't just imagine creating testable code, write it.
Now in beta from pragprog.com/book/vsjavas.
Designed for Use, Second Edition: Create Usable Interfaces for Applications and the Web
Interaction design—the way the apps on our phones work, the way we enter a destination into our car's GPS—is becoming more and more important. Identify and fix bad software design by making usability the cornerstone of your design process.
Lukas weaves together hands-on techniques and fundamental concepts. Each technique chapter explains a specific approach you can use to make your product more user friendly, such as storyboarding, usability tests, and paper prototyping. Idea chapters are concept-based: how to write usable text, how realistic your designs should look, when to use animations. This new edition is updated and expanded with new chapters covering requirements gathering, how the design of data structures influences the user interface, and how to do design work as a team. Through copious illustrations and supporting psychological research, expert developer and user interface designer Lukas Mathis gives you a deep dive into research, design, and implementation—the essential stages in designing usable interfaces for applications and websites.
Lukas inspires you to look at design in a whole new way, explaining exactly what to look for—and what to avoid—in creating products that get people excited.
Now in print and shipping from pragprog.com/book/lmuse2.
Did You Know?
We publish books across a range of technologies for folks at different levels of abilities, all the way from novice to expert. If you haven't browsed all of our titles recently, come take a look:
Agile Practices • Android, iPhone, and Mobile Programming • Career
Development • Cool Things for Smart People • DIY & Hardware •
For Beginners • Gaming • Java and JVM Languages • Mac, iPhone,
and iPad Programming • Pragmatic exPress • Ruby and Rails •
Testing, Design, and Cloud Computing • Tools, Frameworks, Languages
• Web 2.0+
Come check out all our categories at pragprog.com/categories
Don't Get Left Out
Are your friends jealous that you get these spiffy email newsletters and they don't? Clue them in that all they need to do is create an account on pragprog.com (email address and password is all it takes) and select the checkbox to receive newsletters.
Are you following us on Twitter and/or Facebook? Here's where you can find us and keep up with the latest news and commentary, and occasional discounts:
Tell your friends! Tweet this
Follow us on Twitter: @pragprog, @pragpub, Andy @PragmaticAndy and Dave @pragdave.
Andy & Dave
The Pragmatic Programmers
Books • eBooks • PragPub Magazine • Audiobooks and Screencasts PragProg.com
Manage your subscription using your account, or permanently unsubscribe here. Sent by the Pragmatic Programmers, LLC. • 2831 El Dorado Pkwy, #103-381 • Frisco TX 75033
|