Welcome!

Open Source Cloud Authors: Liz McMillan, Zakia Bouachraoui, William Schmarzo, Elizabeth White, 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
Dion Hinchcliffe is an internationally recognized digital expert, bestselling book author, frequent keynote speaker, analyst, futurist, and transformation expert based in Washington, DC. He is currently Chief Strategy Officer at the industry-leading digital strategy and online community solutions firm, 7Summits.
Digital Transformation is much more than a buzzword. The radical shift to digital mechanisms for almost every process is evident across all industries and verticals. This is often especially true in financial services, where the legacy environment is many times unable to keep up with the rapidly shifting demands of the consumer. The constant pressure to provide complete, omnichannel delivery of customer-facing solutions to meet both regulatory and customer demands is putting enormous pressure on...
IoT is rapidly becoming mainstream as more and more investments are made into the platforms and technology. As this movement continues to expand and gain momentum it creates a massive wall of noise that can be difficult to sift through. Unfortunately, this inevitably makes IoT less approachable for people to get started with and can hamper efforts to integrate this key technology into your own portfolio. There are so many connected products already in place today with many hundreds more on the h...
The standardization of container runtimes and images has sparked the creation of an almost overwhelming number of new open source projects that build on and otherwise work with these specifications. Of course, there's Kubernetes, which orchestrates and manages collections of containers. It was one of the first and best-known examples of projects that make containers truly useful for production use. However, more recently, the container ecosystem has truly exploded. A service mesh like Istio addr...
Digital Transformation: Preparing Cloud & IoT Security for the Age of Artificial Intelligence. As automation and artificial intelligence (AI) power solution development and delivery, many businesses need to build backend cloud capabilities. Well-poised organizations, marketing smart devices with AI and BlockChain capabilities prepare to refine compliance and regulatory capabilities in 2018. Volumes of health, financial, technical and privacy data, along with tightening compliance requirements by...
Charles Araujo is an industry analyst, internationally recognized authority on the Digital Enterprise and author of The Quantum Age of IT: Why Everything You Know About IT is About to Change. As Principal Analyst with Intellyx, he writes, speaks and advises organizations on how to navigate through this time of disruption. He is also the founder of The Institute for Digital Transformation and a sought after keynote speaker. He has been a regular contributor to both InformationWeek and CIO Insight...
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 settlement products to hedge funds and investment banks. After, he co-founded a revenue cycle management company where he learned about Bitcoin and eventually Ethereal. Andrew's role at ConsenSys Enterprise is a mul...
To Really Work for Enterprises, MultiCloud Adoption Requires Far Better and Inclusive Cloud Monitoring and Cost Management … But How? Overwhelmingly, even as enterprises have adopted cloud computing and are expanding to multi-cloud computing, IT leaders remain concerned about how to monitor, manage and control costs across hybrid and multi-cloud deployments. It’s clear that traditional IT monitoring and management approaches, designed after all for on-premises data centers, are falling short in ...
In his general session at 19th Cloud Expo, Manish Dixit, VP of Product and Engineering at Dice, discussed how Dice leverages data insights and tools to help both tech professionals and recruiters better understand how skills relate to each other and which skills are in high demand using interactive visualizations and salary indicator tools to maximize earning potential. Manish Dixit is VP of Product and Engineering at Dice. As the leader of the Product, Engineering and Data Sciences team at D...
Dynatrace is an application performance management software company with products for the information technology departments and digital business owners of medium and large businesses. Building the Future of Monitoring with Artificial Intelligence. Today we can collect lots and lots of performance data. We build beautiful dashboards and even have fancy query languages to access and transform the data. Still performance data is a secret language only a couple of people understand. The more busine...