The Register® — Biting the hand that feeds IT

Feeds

Requirements Checklist for Choosing a Cloud Backup and Recovery Service Provider

In this case, the value of the label is bound to a property of the detailController class. SproutCore has already generated this class, in the controllers folder, so to get this working it is only necessary to add the property:


sMessage: 'Some text here'

This is a true bound control. If the property changes at runtime, so does the text of the label. Even better, SproutCore supports observers. Write a JavaScript function, and add the following to the end of the declaration:


.observes('someProperty')

Now the function fires whenever that property changes.

There are more good things in SproutCore. The framework talks JavaScript Object Notation (JSON) for exchanging data with a server, and has its own in-memory database called SC.Store. The SC.Record class has built-in methods for RESTful communication with a server. You can use validation classes with input controls.

There is a range of stylish user-interface objects, including a grid, a list and a tab view; and there is support for drag-and-drop. A test framework and test runner are integrated into the development tools. It also makes use of the jsdoc toolkit, to enable documentation to be generated from comments in your code. SproutCore builds on Prototype for cross-platform support, so it will not be entirely unfamiliar to Prototype users.

Demo of SproutCore

SproutCore springs to life

On the negative side, the SproutCore documentation is thin, the project is unfinished, and it does not feel ready for mainstream use. Still, it has huge promise and should mature rapidly now that it has the support of Apple and the attention of others.

In a recent mailing list post, Jolley explained the SproutCore philosophy. "It is designed around a different architectural model than most web apps," he said. "It's closer to a client-server model than a web-server model. You download an application written in JavaScript to run in the browser and then it communicates with your server via AJAX."

It may suit Apple in its battle to keep runtimes out of the iPhone, but do the rest of us need SproutCore, or is it inviting trouble, delivering a tangle of JavaScript to the client rather than using a trusted runtime like Flash or Java?

Instinct says the latter, but SproutCore makes an impressive case for at least considering the AJAX alternative.®

Cloud storage: Lower cost and increase uptime

Latest Comments

Ruby? Meh.

Nice thing it was ... until I read 'Ruby'. Straight to the trashcan.

I just don't understand Apple's aversion to Java, its exclusion from the iBone is just idiotic. And why, oh why would they go for Ruby ??? I'd rather see Obj-C on the RIA iPhone apps than the horrible Ruby thingy. And I am *not* an Obj-C fan either! (In fact, I think ObjC is kind of Smalltalk disguised as C.)

That other Objective-J sounds better than this, though ... if only because it has _no Ruby_.

0
0
Anonymous Coward

cappucino = extra froth?

A mix of java and cocoa would be a mocha, not a cappucino.

0
0

Not convinced by SproutCore

I have been using various frameworks in the past year or so and have quite some experience in it.

I don't think that SproutCore deserved all the credits it's currently getting. The only real application so far deployed on some decent scale is Apple Web Gallery (or rather .Mac), and honestly performance are lacking badly.

It's remind me a lot almost Microsoft here with how much vaporware stuff is being written when no one for sure has seen a final working app. I think that July 11 is going to show what I suspect : beautiful user interface (classic Apple) but poor performance.

Here is what I suggest when everything is available : let's check browser memory footprint and overall application response time for loading and using it... I think that until we have something to see and use, it's a lot of wasted bandwidth to claim that SproutCore is solving every problem of the web !

As mentioned in an earlier post, Cappuccino is way more oriented toward Cocoa than SproutCore !

SproutCore force you to use Ruby for your development : this is a no go for many folks.

0
0

More from The Register

SCO vs. IBM battle resumes over ownership of Unix
Zombie lawsuit back and wants to suck the brains out of Linux
Bjarne Again: Hallelujah for C++
Plus: Now officially OK to admit you never used STL algorithms
Interwebs taunt Sir Jony over Apple eye candy makeover
Hey Ive, Ive... add more unicorns, willya?
Apple: iOS7 dayglo Barbie makeover is UNFINISHED - report
Plus: You don't like the icons? Blame marketing
Red Hat to ditch MySQL for MariaDB in RHEL 7
So long, Oracle! Don't let the door hit you on the way out
Shy? Socially inadequate? Fiddling with your phone could help
App 'tells the brutal truth' about social inadequates' chatup lines
Java EE 7 melds HTML5 with enterprise apps
New release arrives with GlassFish, NetBeans support
 breaking news
'Office Facebook' firm Tibbr wants you to PAY for mobe-meetings app
Great idea. Punters won't cough for it though
 breaking news
The only Waze is Google: Ad giant tipped to gobble map app 'for $1.3bn'
Pac-Man-satnav-ish upstart in bidding war with Apple, Facebook
 breaking news
PM Cameron calls for modern, programmable computers! (We think)
IT education musings to G8 chiefs to mystify IT industry