SproutCore Blog

okito
I expect music and to some extent video to stay in iTunes or similar venues. Terrified book publishers who want their DRM will likely stay in the iBooks zone, though hopefully Apple will let braver publishers in there without DRM. Customers will expect to find “books” there. It’s also clear that there will always be applications, notably games, which demand native code - Objective C on the iPad - to achieve the fastest possible response time, draw intricate graphics, or bind tightly to iPad features. There’s a future for all of those things, in their particular venues.
But for “content”, especially content that combines text with audio, video, pictures, and interactivity, web-style development has a tremendous advantage.
Arise, web developers! Our time has come to dominate!
Web developers can rule the iPad - O’Reilly Radar
Comments (View) - Permalink
okito

Testing and auto-generated ids in SproutCore

martinottenwaelter:

If you’re trying to automate tests of your SproutCore application with Selenium, for example, you’ll realise that the HTML element ids are automatically generated. They change every now and then and break all your tests.

To get rid of this problem, you can override the layerId method of certain view classes to generate a stable, and human readable, id.

The following code takes the view hierarchy, and generates an id based on the parents’ names. For example, the mainPage.mainView.someOtherView.theTargetView view will be given the mmsome.theTargetView id.

Comments (View) - Permalink
okito
Comments (View) - Permalink
okito
So again, the question isn’t Sproutcore vs. jQuery. In fact, you can (and probably will) use jQuery if you develop Sproutcore apps. The question really isn’t even Sproutcore vs. Flash vs. Silverlight, but it’s so easy to frame it up like that. The point of Sproutcore is that it provides the beginnings of an end-to-end application development strategy in HTML5 that competes with Adobe’s Flash Platform (Flash + Flex + Cairngorm + FlexUnit) and Silverlight’s presentation layer and tools.
Thoughts On Sproutcore and App Dev In General « lukesh +interactive
Comments (View) - Permalink