Description: You may have definite ideas about writing code when working alone, but team development requires that everyone use the same approach. With the JavaScript practices in this book—including code style, programming tips, and automation—you will learn how to write maintainable code that other team members can easily understand, adapt, and extend. Author Nicholas Zakas assembled this collection of best practices as a front-end tech leader at Yahoo!, after completing his own journey from solo hacker to team player. He also includes rules recommended by other industry authorities. Use these tips and techniques to help your team set aside individual preferences and function at a higher level. * Establish specific code conventions for your team * Use tools such as JSLint and JSHint to keep your team on track * Adopt style guidelines, such as basic formatting, to help your team produce uniform code * Apply several programming practices to solve problems and improve code quality * Create an automated JavaScript build system using a variety of utilities * Integrate browser-based JavaScript testing with tools such as the YUI Test Selenium Driver Nicholas C. Zakas is a Web Software Engineer who specializes in user interface design and implementation for Web applications using JavaScript, Dynamic HTML, CSS, XML, and XSLT. He is currently principal front end engineer for the Yahoo! homepage and is a contributor to the Yahoo! User Interface (YUI) library, having written the Cookie Utility, Profiler, and YUI Test. Introduction Preface Style Guidelines Chapter 1: Basic Formatting Chapter 2: Comments Chapter 3: Statements and Expressions Chapter 4: Variables, Functions, and Operators Programming Practices Chapter 5: Loose Coupling of UI Layers Chapter 6: Avoid Globals Chapter 7: Event Handling Chapter 8: Avoid Null Comparisons Chapter 9: Separate Configuration Data from Code Chapter 10: Throw Your Own Errors Chapter 11: Don't Modify Objects You Don't Own Chapter 12: Browser Detection Automation Chapter 13: File and Directory Structure Chapter 14: Ant Chapter 15: Validation Chapter 16: Concatenation and Baking Chapter 17: Minification and Compression Chapter 18: Documentation Chapter 19: Automated Testing Chapter 20: Putting It Together JavaScript Style Guide JavaScript Tools Colophon
Price: 24.91 GBP
Location: Gloucester
End Time: 2024-10-10T11:46:08.000Z
Shipping Cost: 18.38 GBP
Product Images
Item Specifics
Return postage will be paid by: Buyer
Returns Accepted: Returns Accepted
After receiving the item, your buyer should cancel the purchase within: 60 days
Return policy details:
EAN: 9781449327682
UPC: 9781449327682
ISBN: 9781449327682
MPN: N/A
Book Title: Maintainable JavaScript: Writing Readable Code by
Item Height: 1.4 cm
Item Length: 23.2 cm
Item Weight: 0.33 kg
Item Width: 17.9 cm
Publisher: O'reilly Media, INC International Concepts USA
Publication Year: 2012
Subject: Computer Science
Number of Pages: 170 Pages
Language: English
Publication Name: Maintainable Javascript
Type: Textbook
Author: Nicholas C. Zakas
Format: Paperback