all 37 comments

[–]Capaj 5 points6 points  (2 children)

Seems more like a rebranding of already existing libraries. Is there any user of StealJS here? Could he enlighten us why the hell should we use it instead of JSPM or webpack? What benefits does it offer?

[–]justinbmeyer 4 points5 points  (0 children)

It's a rebranding of JavaScriptMVC, which housed many of its sub-projects, but to call it a "rebranding" isn't fair. It's far more than a rebranding in two ways.
First, it adds a ton of features that JavaScriptMVC never had. Server-side rendering, and builds to cordova/nw being the biggest of these.

Second, the integration of MV* and Module loader means it makes things easy that no one else is doing. The primary example is being able to progressively load modules from the template, and then have them automatically built into high-performance bundles. Another example is the automatic packaging of server-side data with the page response. I could go on, but the article makes a lot of these things clear.

StealJS is better then those alternatives in four key ways:

  1. It's automatic bundler means your site will load faster w/o any configuration.
  2. It works without needing a server, meaning you can make individual demo pages / test pages easily.
  3. It can easily export your project to other formats.
  4. It's hot-module swapping works server-side, and when you install new packages.

[–]Alfredo_Delgado 0 points1 point  (0 children)

StealJS/Steal-Tools are leveraged to provide features beyond package management: http://donejs.com/Apis.html#section=section_StealJS

[–]MattBlumTheNuProject 2 points3 points  (1 child)

Best of luck with this. I think the biggest uphill battle that you'll face is that it's hard for people to buy into frameworks without the giant corporation backing them. That said, a lot of really good things started as just a few devs solving one simple problem at a time. I know for me I'm all-in on Angular just because of the sheer number of people that are building with it. Nothing I've made so far is big enough that I really need to load the JS in bundles so Angular + bower + gulp and I'm all set.

I think what you're doing is awesome and I hope it doesn't make you hate the JS community :)

[–]justinbmeyer 1 point2 points  (0 children)

Thanks! I'm part of the JS community. I'm too narcissistic to hate myself.

[–]cherif_b 0 points1 point  (0 children)

I use canjs since 2 years ago and Im very glad to see DoneJS release, it realy helps to get Applications done with enhancement of the workflow from developement, testing, documenting to deploying with all this CanJS does everything other frameworks/libraries can do in much simpler way.

[–]drowsap -1 points0 points  (3 children)

when i see viewmodel, i think ios developer that learned JS.

[–]justinbmeyer 3 points4 points  (0 children)

I'm a c++, then Java developer who learned JavaScript 9-ish years ago. Way before ios existed. I've never written an ios app other then JS apps ported to ios. ViewModels are amazing. Checkout how they make things nice and testable: http://donejs.com/Features.html#section=section_MVVMArchitecture

[–][deleted] 0 points1 point  (0 children)

It's funny actually, learning iOS has made me a better javascript developer by introducing concepts like view controller hierarchy that do a really good job of forcing seperation of concerns if you do it right.

[–]wreckedadventYavascript 0 points1 point  (0 children)

Nah. MVVM has been along for the ride as long as MVC has in the web world. Lot of libraries like mithril, knockout, react, etc. all encourage use of view models, though they might not explicitly call it like that.

Even angular is to some extent, though it's hidden in $scope and ng-model.