Maven like dependency management for browsers

Behrang Saeedzadeh behrangsa at
Thu Jul 30 08:58:58 UTC 2015


Has this been discussed before? In a nutshell this diagram illustrates the

   - Rather than referencing a url in <script> or <style> tags, we require
   the browser to load name-spaced, versioned libraries. For example:
   - This can either be done using the <script>/<style> tags similar to
   <script module="com.jquery:jquery:1.0"/> or <style
   module="com.jquery:jquery:1.0" /> or probably programmatically too: (in a
   JS file: require "com.jquery:jquery:1.0")
   - There will be a central placed governed by W3C, for example, that can
   host libraries. Third-party repositories could also exist and be used
   (e.g. <script module="com.jquery:jquery:1.0" repository="
   - One benefit of this is dependency management. If jquery, for example,
   depends on lodash, it also gets downloaded and loaded automatically.

This is just the core of the idea. Nothing new (already similar systems are
available for Java, Node, .NET, Ruby, etc.) but this will bring it to the

What do you think?
Best regards,
Behrang Saeedzadeh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list