SproutCore 1.0 gets closer; new demos too
SproutCore 1.0 has its first release candidate that you can grab via gem install sproutcore.

There are also new demos to play with and other interesting features:
I’ve been working on a mixin to add animation to SproutCore views.
The current version only works for layout properties, and does not yet work for centerX and centerY properties (they used to work, but some of the performance optimizations have made it slightly more tricky—I’ll be adding it back soon, though).
I decided to see how fast the code was in different browsers. The tests were done using a test application which generated a specified number of views, and then, once per second, updated a “frames per second” display. The measuring is somewhat subjective, as I have to deduce, based on consistency (or lack thereof) in the numbers, what the frame rate actually is. For the most part, they were pretty consistent, but the WebKit browsers at really low numbers of views (and really high frame rates) could be quite inconsistent at times.
Sprouting—Automated Spriting for SproutCore
A Python script that generates CSS like:
-
-
.set-name .icon-name.icon, .set-name .icon-name.icon { /* CSS */ }
-
which you can work with via:
-
-
ImageView.design({
-
layout: { left: 100, top: 100, width: 64, height: 64 },
-
value: “common refresh-64 icon” // using SproutCore’s built-in className support for spriting
-
}
-
-
View.design({
-
layout: {left: 100, top:100, width:256, height: 256},
-
classNames: [“common”], // the theme
-
childViews: [“styledView”],
-
styledView: ImageView.design({
-
layout: { left: 100, top: 100, width: 64, height: 64 },
-
value: “refresh-64 icon” // using SproutCore’s built-in className support for spriting
-
})
-
})
-





