Re: Maven like dependency management for browsers

2015-08-07 Thread Behrang Saeedzadeh
Hi Sebastien, Looks like JSPM/SystemJS can do all the things I was looking for. Have to spend some time to read more about time. Anyway, thanks for your help and feedback. On Sun, Aug 2, 2015 at 10:38 PM Sébastien Cevey seb.ce...@guardian.co.uk wrote: On Fri, 31 Jul 2015 at 11:50 Behrang

Re: Maven like dependency management for browsers

2015-08-07 Thread Garrett Smith
On 8/7/15, Behrang Saeedzadeh behran...@gmail.com wrote: Hi Sebastien, Guys — On Sun, Aug 2, 2015 at 10:38 PM Sébastien Cevey seb.ce...@guardian.co.uk wrote: [...] Versions can be specified either at the top-level config, or even at the import level, e.g.:

Re: Maven like dependency management for browsers

2015-08-07 Thread Behrang Saeedzadeh
I still haven't looked at JSPM/SystemJS thoroughly, but regarding your comment, I personally prefer the dependencies get resolved automatically. For example, we can have www.example.com/app-deps.json where app-deps.json contains something like this: { dependencies: [ {

Re: Maven like dependency management for browsers

2015-08-02 Thread Sébastien Cevey
On Fri, 31 Jul 2015 at 11:50 Behrang Saeedzadeh behran...@gmail.com wrote: Hello Behrang, JSPM and SystemJS, IMHO, are not as elegant as the way Maven (Java) or Bundler (Ruby) can manage dependencies. I am not contesting that, but it's worth describing what qualities of Maven you're asking

RE: Maven like dependency management for browsers

2015-08-01 Thread Mohan.Radhakrishnan
] on behalf of Behrang Saeedzadeh [behran...@gmail.com] Sent: Friday, July 31, 2015 4:20 PM To: Sébastien Cevey; EcmaScript Discuss Mailing List Subject: Re: Maven like dependency management for browsers Hi Sebastien, JSPM and SystemJS, IMHO, are not as elegant as the way Maven (Java) or Bundler

Re: Maven like dependency management for browsers

2015-07-31 Thread Behrang Saeedzadeh
Hi Sebastien, JSPM and SystemJS, IMHO, are not as elegant as the way Maven (Java) or Bundler (Ruby) can manage dependencies. Apologies if the following explanation is redundant and you already know how Maven works, but just for the sake of wider audience I will briefly explain it here. In

Maven like dependency management for browsers

2015-07-30 Thread Behrang Saeedzadeh
Hi, Has this been discussed before? In a nutshell this diagram illustrates the idea: http://i.imgur.com/X1n57iQ.png - Rather than referencing a url in script or style tags, we require the browser to load name-spaced, versioned libraries. For example: com.jquery:jquery:1.0. - This

Re: Maven like dependency management for browsers

2015-07-30 Thread Sébastien Cevey
Hi Behrang, Have you had a look at JSPM and SystemJS? They cover similar grounds in userspace, with the intent for SystemJS to be the upcoming standard Module Loader. https://github.com/jspm/jspm-cli https://github.com/systemjs/systemjs On Thu, 30 Jul 2015 at 09:59 Behrang Saeedzadeh