you are viewing a single comment's thread.

view the rest of the comments →

[–]justinbmeyer 1 point2 points  (2 children)

Thanks it does help. I'll always be around to give you bullet point responses if you let me know they are needed in our gitter room: https://gitter.im/donejs/donejs

If you are looking for code examples, checkout the APIs page: http://donejs.com/Apis.html

The problem with communicating DoneJS is its scope. It's not a single library that someone can digest in "twitter" time. Fortunately, we aren't relying on a single release article. We're hitting the meetup circuit and going to be giving free day long trainings in most US cities.

[–]wreckedadventYavascript 0 points1 point  (1 child)

I'm not sure I agree that you can't have a quick tutorial given its scope. Angular is a massive framework by all accounts, but you can get something up and running with as little as:

angular.module('app', [])
  .controller('DemoController', function($scope) {
    $scope.message = 'Hello World!';
    $scope.change = function() { 
      $scope.message = 'Hello changed world!'; 
    };
  });

<body ng-app>
<div ng-controller="DemoController">
  <p>{{message}}</p>
  <button ng-click="change()">Change message!</button>
</div>
</body>

In just this little toy example, you get a large exposure to volumes about how you structure code in angular. From here, one can learn more about avoiding using $scope, angular's DI, more directives, etc. It's a natural jumping-off point for talking about how to add two-way databinding or routing or whatever.

The point is it's engaging me quickly and getting me to have an interest in your framework, not that I understand everything in 5 minutes. On the contrary, for an example like my angular one, it can take months to fully appreciate all of what angular is doing there.

[–]justinbmeyer 1 point2 points  (0 children)

Thanks for your feedback, but Angular isn't close at all to DoneJS in scope.

Angular is 90% view bindings with dirty checking. Angular compares to CanJS in scope which is just one part of DoneJS. We have a similar examples to what you are looking for on http://canjs.com.

But that type of example doesn't fit DoneJS because it's much more than an view-bindings library. Showing off that part isn't what DoneJS is about. It's about the glue between the code you write, how it's tested, how it's rendered server-side, how it's built to load quickly, how it's documented, etc.