Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Dealing with JavaScript in a large web application (reusability, bundling, unit testing...)

Maybe somebody can advise what tool, approach, reference I can use to achieve the following goals for a large web application when it comes to JavaScript: reusability, bundling, unit testing, many developers, stuff like that. For example I've checked out browserify tool but there's practically no documentation, no book nothing.

like image 598
SBel Avatar asked Jan 28 '12 17:01

SBel


1 Answers

Static Code Analysis:

JSLint, Google Closure Tools

JavaScript code checking beyond JSLint

Unit Testing:

JSUnit

JavaScript unit test tools for TDD

Bundling and Putting It Altogether

Java Based Builds - Wro4j - handles a lot of common web based tools such as JsHint, CssLint, JsMin, Google Closure compressor, YUI Compressor, UglifyJs, Dojo Shrinksafe, Css Variables Support, JSON Compression, Less, Sass, CoffeeScript...

PHP Based Builds - What's your all-in-one web resource optimizer?

Multi-developer Environments

Source control - SVN or Git.

Project Tracking Tools, Colloboration Tools, Development Tools - See Atlassian Products (JIRA, Confluence, ...)

Continuous Integration Software - E.g Hudson

like image 105
Tim Gee Avatar answered Oct 28 '22 06:10

Tim Gee