Reliable JavaScript: How to Code Safely in the World's Most Dangerous Language Год: 2015 Автор: Lawrence Spencer, Seth Richards Издательство: Wrox ISBN: 978-1-119-02872-7 Серия: Programmer to Programmer Язык: Английский Формат: PDF/EPUB Качество: Изначально компьютерное (eBook) Интерактивное оглавление: Да Количество страниц: 530 Описание: Reliable JavaScript, How to Code Safely in the World's Most Dangerous Language demonstrates how to create test-driven development for large-scale JavaScript applications that will stand the test of time and stay accurate through long-term use and maintenance. Taking a test-first approach to software architecture, this book walks you through several patterns and practices and explains what they are supposed to do by having you write unit tests. Write the code to pass the unit tests, so you not only develop your technique for structuring large-scale applications, but you also learn how to test your work. You'll come away with hands-on practice that results in code that is correct from the start, and has the test coverage to ensure that it stays correct during subsequent maintenance. All code is provided both in the text and on the web, so you can immediately get started designing more complete, robust applications. JavaScript has graduated from field-validation scripts to full-scale applications, but many developers still approach their work as if they were writing simple scripts. If you're one of those developers, this book is the solution you need to whip your code into shape and create JavaScript applications that work.
Write more concise and elegant code by thinking in JavaScript
Test the implementation and use of common design patterns
Master the use of advanced JavaScript features
Ensure your code's conformance to your organization's standards
Примеры страниц
Оглавление
INTRODUCTION PART I: LAYING A SOLID FOUNDATION CHAPTER 1: PRACTICING SKILLFUL SOFTWARE CHAPTER 2: TOOLING UP CHAPTER 3: CONSTRUCTING RELIABLE OBJECTS 81 PART II: TESTING PATTERN-BASED CODE CHAPTER 4: REVIEWING THE BENEFITS OF PATTERNS CHAPTER 5: ENSURING CORRECT USE OF THE CALLBACK PATTERN CHAPTER 6: ENSURING CORRECT USE OF THE PROMISE PATTERN CHAPTER 7: ENSURING CORRECT USE OF PARTIAL FUNCTION APPLICATION CHAPTER 8: ENSURING CORRECT USE OF THE MEMOIZATION PATTERN CHAPTER 9: ENSURING CORRECT IMPLEMENTATION OF THE SINGLETON PATTERN CHAPTER 10: ENSURING CORRECT IMPLEMENTATION OF THE FACTORY PATTERN CHAPTER 11: ENSURING CORRECT IMPLEMENTATION AND USE OF THE SANDBOX PATTERN CHAPTER 12: ENSURING CORRECT IMPLEMENTATION OF THE DECORATOR PATTERN CHAPTER 13: ENSURING CORRECT IMPLEMENTATION OF THE STRATEGY PATTERN CHAPTER 14: ENSURING CORRECT IMPLEMENTATION OF THE PROXY PATTERN PART III: TESTING AND WRITING WITH ADVANCED JAVASCRIPT FEATURES CHAPTER 16: CONFORMING TO INTERFACES IN AN INTERFACE-FREE LANGUAGE CHAPTER 17: ENSURING CORRECT ARGUMENT TYPES CHAPTER 18: ENSURING CORRECT USE OF CALL, APPLY, AND BIND CHAPTER 19: ENSURING THE CORRECT USE OF METHODBORROWING CHAPTER 20: ENSURING CORRECT USE OF MIXINS CHAPTER 21: TESTING ADVANCED PROGRAM ARCHITECTURES PART IV: SPECIAL SUBJECTS IN TESTING CHAPTER 22: TESTING ADVANCED PROGRAM ARCHITECTURES CHAPTER 23: ENSURING CONFORMANCE TO STANDARDS PART V: SUMMARY CHAPTER 24: SUMMARY OF THE PRINCIPLES OF TEST-DRIVEN DEVELOPMENT CHAPTER 25: SUMMARY OF JAVASCRIPT IDIOMS IN THIS BOOK INDEX
Programmer to Programmer - Spencer L., Richards S. - Reliable JavaScript: How to Code Safely in the World\'s Most Dangerous Language [2015, PDF/EPUB, ENG] download torrent for free and without registration
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum