Wednesday, September 12, 2012

Maintainable JavaScript

Posted by Unknown On 3:42 PM | No comments

Book Detail
Paperback: 242 pages
Publisher: O’Reilly Media (May 2012)
Language: English
ISBN-10: 1449327680
ISBN-13: 978-1449327682
File Size: 8.2 Mb | File Format: PDF + EPUB
Book 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
About the Author

Nicholas C. Zakas is a front-end consultant, author, and speaker. He worked at Yahoo! for almost five years, where he was front-end tech lead for the Yahoo! homepage and a contributor to the YUI library. He is the author of Professional JavaScript for Web Developers (Wrox, 2012), Professional Ajax (Wrox, 2007), and High Performance JavaScript (O’Reilly, 2010). Nicholas is a strong advocate for development best practices including progressive enhancement, accessibility, performance, scalability, and maintainability. He blogs regularly at http://www.nczonline.net/ and can be found on Twitter via @slicknet.

Table of Contents

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

Appendix JavaScript Style Guide
Appendix JavaScript Tools
Colophon

Download Ebook : Maintainable JavaScript

Rapidgator : Maintainable JavaScript

Uppit : Maintainable JavaScript

Ziddu : Maintainable JavaScript

MF : Maintainable JavaScript

0 comments:

Post a Comment