Effective Dependency Management in JavaScript - Hector Virgen
4,703 views · Published 30 April 2015 · 5:09 · Indexed 29 October 2026
Channel: O'Reilly · 2015 · Science & Technology
At if(we), we’re committed to improving all aspects of our tech stack. This includes our client-side JavaScript, which consists of hundreds of thousands of lines of code across thousands of files. As JavaScript projects grow, they tend to become difficult to manage if you’re not careful. We found ourselves running into common problems including code that was difficult to reuse or test, and code that broke when introduced in new pages. As we explored the problems in more detail, we found the root cause was most often due to ineffective dependency management. For example, script A relies on script B that relies on script C, and somehow the dependency chain would break on some pages because script C didn’t get included properly. To help solve this problem, we identified five traits of well-managed JavaScript to help guide us as we built new features and libraries. This Ignite talk will walk through the five traits, including examples of the types of problems they help avoid.
More from this channel
-
5:27
"The Worlds of Software and Hardware are Converging", Joi Ito and Jon Bruner
-
5:55
"Why Designers Must Understand Manufacturing", Joi Ito and Jon Bruner
-
2:24
Fluent Conference 2014: JavaScript & Beyond Complete Video Compilation
-
1:08:43
Detailed Look at Pandas' Indexes - O'Reilly Webcasts
-
50:19
The End of the Analytics Black Box - O'Reilly Webcast
-
1:03:17
Solid Conference Panel (Connected Meetup 2014)
-
2:36
Interview with Ben Jacobs of Whistle (Dog Monitor Device)
-
1:10:49
My Dog Ate My Slides: Overcoming Tough Presentations - O'Reilly Webcast