Welcome!

Open Source Cloud Authors: Zakia Bouachraoui, Liz McMillan, Elizabeth White, Pat Romanski, Yeshim Deniz

Related Topics: Open Source Cloud, Release Management

Open Source Cloud: Blog Feed Post

SproutCore Release Candidate 1 Hits the Streets

SproutCore 1.0 is a major revision of the entire SproutCore platform

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

Then enjoy!

If you just want a taste of what the release candidate can do, check out the demos at:

http://demo.sproutcore.com

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, SproutCore 1.0 is a major revision of the entire SproutCore platform. New build tools, new data store, new view layer, massively upgraded bindings and property observing and more.  Our primary goals for this release were performance and stability.  I’m happy to report we achieved both in spades.

Fast, Fast, Fast!  Make it fast!
I created SproutCore in the first place was because I wanted to build fast applications on the web.  I believe the web is the ultimate application platform, but it will only be so when we can build apps that are just as fast and fluid as their native cousins.

While the 0.9 code I think proved this concept; we hadn’t really achieved parity yet.  Our goal with 1.0 was to make sure SproutCore apps could load on any desktop browser in under 3 seconds, even if the app is big and complex and has a large data set.

We passed this goal actually; by 50%.  Most SproutCore apps can load in under 1.5 second with the proper deployment.  You results may vary; but if they do it is unlikely SproutCore will be the bottleneck.

Here are just a few of the big enhancements we added to make this possible:

  • The build tools can now automatically combine your JavaScript and CSS to minimize the number of assets you have to download.  Usually, you’ll only need to get 2 scripts and 2 stylesheets that’s it.
  • Output apps are also designed for caching.  If you follow our deployment guide, your app will be able to essentially “live” in your user’s browser cache; eliminating network latency issues for the SproutCore part entirely [after first load].
  • We also made it possible to break your application into loadable bundles that can be deferred until you actually need them.  This means if you have a large app you an write portions of it so they only load when they are actually needed; keeping your initial page weight down to a minimum.
  • On the framework level, our view layer was rewritten specifically around the major performance bottlenecks in IE.  Our new layer can render 300 views client side in IE in about 100msec (on my Mac Book Air).  It’s even faster in the other browsers.
  • Once rendered, all views on the page are now displayed using absolute positioning.  This not only virtually eliminates cross browser issues for display - it also makes the browser actually render your content faster.
  • We also rewrote the datastore layer to “lazy evaluate” queries and data changes.  This means you can easily shove a large number of records into the data store - some people have been using 50,000 or more records each time their app loads - and we’ll handle it just fine.  You can load those records often in just a few hundred msec.
  • Finally, the code property observing and bindings layer that underpins all of SproutCore was massively optimized.  Notifications are sent less often, use less memory, and they are generally 3x faster than the 0.9 code.

All of these improvements essentially mean you can make just about any SproutCore app load and run in just a few seconds.  The only piece of your infrastructure we can’t control is the part of your server that delivers actual data.  If you can make that component blazing fast as well, your web app will knock the socks off of a native app any day.

If you want an example of this performance, just visit the Tasks app (running 1.0 Beta code on top of Google App Engine) and login as “guest”.  You can also checkout the new SproutCore demos linked below.

No More Changes!
SproutCore is a large framework.  It has over 25,000 lines of code.  We wanted to make SproutCore stable - meaning both the API we published would not change underneath you (or at least it would change in a controlled way) and that features we added would continue to work; even as we introduced new code.

We started on this goal by adding nearly 5,500 unit tests across the entire platform.  It’s a lot of unit tests.  Currently, on Safari 4 and Firefox at least, every single one of these unit tests pass green.  IE7 and IE8 each file 18 tests due to issues with the tests themselves rather than the code they test; we aim to have these tests fixed by the time 1.0 is final as well.

We also massively reworked the entire API, scrubbing it for consistency and cleaning up areas that were confusing or made it too easy to do things wrong or too hard to do things right.

This API review led to a lot of church and instability, ironically, during development which was an endless source of frustration for those few brave souls who were building on 1.0 before it was finished.  It was worth the pain, however.  The new API is easy to use and generally works well.

We will always want to polish bits of the API here and there, but I’m convinced that we have a clear path to evolve our code now without breaking your existing code in major ways again.

What’s Next?
The release candidate is out.  This means we are “done” with the development of SproutCore 1.0.  Please test it out if you can and send us feedback.  If you find a bug or want a change in, please still submit it.  We can take changes up till just before we release thanks to our unit tests.

The core team will be working on finishing documentation on the wiki, validating example applications, and updating the website for our final release.  We would also like to have a party in San Francisco for the release.

When these things are ready,  SproutCore 1.0 will be fast, stable, and easy to learn (thanks to the new docs and tutorials).  Then, finally - after a year of effort - we will be done.

Thanks!
Finally, I want to say a word of thanks to all of those who have contributed to the development of SproutCore over the last year.  I went back through the commit logs and its actually a pretty big list.  I can name 30 contributors and that doesn’t include the folks who send me patches now and then via email.

But I just want to call out those I can.  If I missed you, please forgive me.  But your contribution is really appreciated:

  • Billy Kakes
  • Brian Cully
  • Charles Jolley
  • Chris Hyle
  • Colin Campbell
  • Cortlan Klien
  • Erich Ocean
  • Evin Grano
  • Geoffrey Donaldson
  • James Austin
  • Jason Ketterman
  • Jonathan Lewis
  • Joshua Dickens
  • Juan Pinzon
  • Majd Taby
  • Martin Ottenwaelter
  • Maurits Lamers
  • Mike Ball
  • Mike Subelsky
  • Mohammed Ashik
  • Onar Vikingstad
  • Peter Bergstrom
  • Peter Wagenet
  • Ray Bodenhorn
  • Santosh Shanboque
  • Sudarshan Bhat
  • Tanner Donovan
  • Teresa Tsui
  • Thomas Langemann
  • Tom Dale
  • Trek Glowacki

Most of us get into the software industry to try to build something that is really, truly, great.  Like-magic kind of great.  It turns out it is really hard to do this.  We can turn out good software, but the really great stuff doesn’t come easy or often.

SproutCore 1.0 is really truly great.  It’s the best piece of code I’ve never been involved with and it’s thanks to the contributions of the folks above, as well as those who’ve been testing, providing feedback, and brave enough to try to build actual products on our code while it was still in development.

So thank you!  I can’t say it enough.

What’s Next Next?

Finally, I can’t leave this post on 1.0 without pointing you who are interested to some of the cool things we are already starting work on for SproutCore 1.1 (code named Quilmes).  Now that 1.0 is looking really solid, we get to spend some time on really fun things including:

  • An awesome new animation layer (already working in alpha form).
  • A FormView that can automatically generate an editor or browser UI from model objects
  • A UI builder - like Interface Builder or Atlas.  The engine is already finished; we’re just putting together the editor UI.
  • A new JS loader based on CommonJS SecurableModules.  This will make SproutCore usable in server-side code as well as making it easier to suck in external libraries for your own use.

Development is being tracked on the wiki so head on over to take a look.

The Tasks app I linked to earlier is also coming along nicely.  The team there has a few more changes lined up, but we will soon be able to use it as our default bug tracker and planning tool for SproutCore.

Last of all, I want to give a shout out to the team at Kiva.org who has been working with us on a new Kiva Loan Browser.  Kiva, you might know, is a non-profit that makes microloans to entrepreneurs in developing countries.  Microloans are one of the most effective ways to address poverty and Kiva is one of the best.

SproutCore needs a good end-to-end example application and so we’ve partnered with them to build a new Loan Browser - and perhaps more in the long run.  I hope that once SproutCore 1.0, you will help us build this app into a really great way for Kiva to find and share loans.

Help others while you learn!

So this post has turned into a minor book.  Sorry for the length.  1.0 is a big milestone.  I can’t wait to see what you build with it.

-Charles

Read the original blog entry...

More Stories By Charles Jolley

Charles Jolley is the creator of SproutCore and CEO of Sproutit, which provides consulting and software services for building SproutCore applications on the web. He has helped build some of the most popular RIAs on the web today.

Comments (0)

Share your thoughts on this story.

Add your comment
You must be signed in to add a comment. Sign-in | Register

In accordance with our Comment Policy, we encourage comments that are on topic, relevant and to-the-point. We will remove comments that include profanity, personal attacks, racial slurs, threats of violence, or other inappropriate material that violates our Terms and Conditions, and will block users who make repeated violations. We ask all readers to expect diversity of opinion and to treat one another with dignity and respect.


IoT & Smart Cities Stories
@CloudEXPO and @ExpoDX, two of the most influential technology events in the world, have hosted hundreds of sponsors and exhibitors since our launch 10 years ago. @CloudEXPO and @ExpoDX New York and Silicon Valley provide a full year of face-to-face marketing opportunities for your company. Each sponsorship and exhibit package comes with pre and post-show marketing programs. By sponsoring and exhibiting in New York and Silicon Valley, you reach a full complement of decision makers and buyers in ...
The Internet of Things is clearly many things: data collection and analytics, wearables, Smart Grids and Smart Cities, the Industrial Internet, and more. Cool platforms like Arduino, Raspberry Pi, Intel's Galileo and Edison, and a diverse world of sensors are making the IoT a great toy box for developers in all these areas. In this Power Panel at @ThingsExpo, moderated by Conference Chair Roger Strukhoff, panelists discussed what things are the most important, which will have the most profound e...
Two weeks ago (November 3-5), I attended the Cloud Expo Silicon Valley as a speaker, where I presented on the security and privacy due diligence requirements for cloud solutions. Cloud security is a topical issue for every CIO, CISO, and technology buyer. Decision-makers are always looking for insights on how to mitigate the security risks of implementing and using cloud solutions. Based on the presentation topics covered at the conference, as well as the general discussions heard between sessio...
The Jevons Paradox suggests that when technological advances increase efficiency of a resource, it results in an overall increase in consumption. Writing on the increased use of coal as a result of technological improvements, 19th-century economist William Stanley Jevons found that these improvements led to the development of new ways to utilize coal. In his session at 19th Cloud Expo, Mark Thiele, Chief Strategy Officer for Apcera, compared the Jevons Paradox to modern-day enterprise IT, examin...
While the focus and objectives of IoT initiatives are many and diverse, they all share a few common attributes, and one of those is the network. Commonly, that network includes the Internet, over which there isn't any real control for performance and availability. Or is there? The current state of the art for Big Data analytics, as applied to network telemetry, offers new opportunities for improving and assuring operational integrity. In his session at @ThingsExpo, Jim Frey, Vice President of S...
Rodrigo Coutinho is part of OutSystems' founders' team and currently the Head of Product Design. He provides a cross-functional role where he supports Product Management in defining the positioning and direction of the Agile Platform, while at the same time promoting model-based development and new techniques to deliver applications in the cloud.
In his keynote at 18th Cloud Expo, Andrew Keys, Co-Founder of ConsenSys Enterprise, provided an overview of the evolution of the Internet and the Database and the future of their combination – the Blockchain. Andrew Keys is Co-Founder of ConsenSys Enterprise. He comes to ConsenSys Enterprise with capital markets, technology and entrepreneurial experience. Previously, he worked for UBS investment bank in equities analysis. Later, he was responsible for the creation and distribution of life settl...
There are many examples of disruption in consumer space – Uber disrupting the cab industry, Airbnb disrupting the hospitality industry and so on; but have you wondered who is disrupting support and operations? AISERA helps make businesses and customers successful by offering consumer-like user experience for support and operations. We have built the world’s first AI-driven IT / HR / Cloud / Customer Support and Operations solution.
LogRocket helps product teams develop better experiences for users by recording videos of user sessions with logs and network data. It identifies UX problems and reveals the root cause of every bug. LogRocket presents impactful errors on a website, and how to reproduce it. With LogRocket, users can replay problems.
Data Theorem is a leading provider of modern application security. Its core mission is to analyze and secure any modern application anytime, anywhere. The Data Theorem Analyzer Engine continuously scans APIs and mobile applications in search of security flaws and data privacy gaps. Data Theorem products help organizations build safer applications that maximize data security and brand protection. The company has detected more than 300 million application eavesdropping incidents and currently secu...