The coding portion of SproutCore 1.0 is nearly complete, so it’s time to
start work on some of the non-code parts of the SproutCore project.
Today I just push a brand new version of the SproutCore website. The design
is very simple, but unifies the wiki, blog, and main site so that they
finally feel like they belong together.
We still have a lot more to do with the site before 1.0. (More on that
later) But, the really interesting thing about the site is how it was
First, the new website uses SproutCore’s build tools. Over the last few
years these tools have been honed to generate highly optimized, cache
friendly apps in multiple languages. It turns out, you can use the same
tools to create highly optimized, cache friendly web pages in multiple
languages too. The new site is really zippy in part because we let these
tools work their magic.
Second, the ... (more)
The Frozen Canuck is at it again. This time with I think the first public
explanation of how to build a custom view with the new SC.View class. Notice
that SproutCore 1.0 views are built using a simple render() method where you
generate HTML. It’s a really easy API and it just so happens to be
extremely fast, especially in IE where DOM manipulation is very expensive.
Check it: Creating a Simple Custom View in SproutCore: Part1
One of the coolest parts of the new SproutCore View layer is its ability to
use aspect-based programming to add behaviors to views.
Aspect-based programming is built on the premise that often objects that
don’t follow from the same class hierarchy may in fact need similar
This is especially true in GUI programming when designers come to you and say
something like “I came up with this new widget - it looks kind of like a
progress bar but it acts like a button when you click on it”.
In SproutCore, you capture these common behaviors in a “mixin”. A mixin
is just a colle... (more)
Google adds SVG compatibility to IE:
With this library, we finally have a generalized way to write vector graphics
across all browsers. Now we just need to make this code easier to generate.
Next step: extend SC.RenderContext in SproutCore with methods to emit
standard SVG code. This way you can easily write vector graphics in any
view without having to learn SVG.
Last night I merged the final set of changes for the first release candidate
of SproutCore 1.0. I also published a new gem (build 1.0.1008) so you can
get the official release quite easily. Just open your terminal [on Mac or
Linux] and type:
sudo gem install sproutcore
If you just want a taste of what the release candidate can do, check out the
Especially try the SampleControls app, where you can see an example of over
300 views rendered on a single page (in the Controls tab).
What’s In the Box?
In case you haven’t heard, Sprout... (more)