This talk briefly walks you through the good and the bad of different approaches to client-side modularity: closures, AMD, ES6 modules, and CJS.
Once that's out of the way I go through developing high quality modules by writing extensive documentation and providing a concise API. Similarly, I go over the importance of automating your builds and give examples using Gulp.
Lastly, I walk through a few different open-source projects where I used Browserify along with the aforementioned best practices, explaining how I did things and showcasing interesting use cases. Hopefully inspiring the audience, or at least pointing them towards something tangible they can relate to.
This talk briefly walks you through the good and the bad of different approaches to client-side modularity: closures, AMD, ES6 modules, and CJS.
Once that's out of the way I go through developing high quality modules by writing extensive documentation and providing a concise API. Similarly, I go over the importance of automating your builds and give examples using Gulp.
Lastly, I walk through a few different open-source projects where I used Browserify along with the aforementioned best practices, explaining how I did things and showcasing interesting use cases. Hopefully inspiring the audience, or at least pointing them towards something tangible they can relate to.