Reliable JavaScript: How to Code Safely in the World's Most Dangerous Language (Paperback)

Lawrence D. Spencer, Seth H. Richards

  • 出版商: Wrox Press
  • 出版日期: 2015-07-20
  • 定價: $1,650
  • 售價: 6.0$990
  • 語言: 英文
  • 頁數: 528
  • 裝訂: Paperback
  • ISBN: 1119028728
  • ISBN-13: 9781119028727
  • 相關分類: JavaScript
  • 立即出貨

買這商品的人也買了...

商品描述

Create more robust applications with a test-first approach to JavaScript

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

If you're ready to step up your code and develop more complete software solutions, Reliable JavaScript is your essential resource.

商品描述(中文翻譯)

以測試驅動的方式創建更強大的JavaScript應用程式

《可靠的JavaScript:如何在這個世界上最危險的語言中安全編碼》展示了如何為大型JavaScript應用程式建立測試驅動開發,以確保其在長期使用和維護中保持準確性和穩定性。本書以測試驅動的軟體架構方式引導讀者,介紹了多種模式和實踐方法,並通過撰寫單元測試來解釋它們的作用。通過編寫能通過單元測試的程式碼,您不僅可以開發結構化大型應用程式的技巧,還可以學習如何測試您的工作。您將獲得實踐經驗,從一開始就能編寫正確的程式碼,並具有測試覆蓋率,以確保在後續維護中保持正確。所有程式碼都在書中和網上提供,因此您可以立即開始設計更完整、更強大的應用程式。

JavaScript已從字段驗證腳本發展為完整的應用程式,但許多開發人員仍然以編寫簡單腳本的方式進行工作。如果您是其中之一,本書將是您整理程式碼、創建可靠JavaScript應用程式的解決方案。

本書的特點包括:
- 以JavaScript思維方式編寫更簡潔、優雅的程式碼
- 測試常見設計模式的實現和使用
- 掌握高級JavaScript功能的使用
- 確保程式碼符合組織標準

如果您準備提升程式碼水平,開發更完整的軟體解決方案,《可靠的JavaScript》是您必備的資源。