Welcome!

From the Creator of SproutCore and CEO of Sproutit

Charles Jolley

Subscribe to Charles Jolley: eMailAlertsEmail Alerts
Get Charles Jolley via: homepageHomepage mobileMobile rssRSS facebookFacebook twitterTwitter linkedinLinkedIn


Top Stories by Charles Jolley

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 behaviors. 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 collection or properties and methods that are added to your class when you define it.  The view layer will actually look for specific hooks on your mixin so that you can automatically hook into the drawing engine, listen for events, etc.  It’s very powerful. Take the example above: with the button... (more)

Event Handling in SproutCore 1.0 - Part 2 - Dragging a View

In my last post I introduced event delegation in SproutCore and the basics of how to handle events.   In this post I’m going to build on this foundation to show you how you can add event handlers to drag a view around the window.* Introducing the Mouse Events As I noted in the first post, SproutCore recognizes several different types of mouse events.  Most of these events are essentially the same events sent by most browsers, though some differ significantly in order to give you tighter control. Remember that to listen for events, you just need to add a method to your view with t... (more)

SproutCore Task Manager on Google App Engine

SproutCore Task Manager on Google App Engine: The open-source agile tracker “tasks” is now hosted on Google App Engine.  It’s fast and also looking a lot nicer.  Go give it a look.  (login: guest) A user-signup app should be available soon and then we’re going to start planning some SC work on it.  Eventually I’d love to replace lighthouse with something SC native… ... (more)

"From where we sit now, the code is shaping up quite nicely. Soon enough, if you have a SproutCore..."

“From where we sit now, the code is shaping up quite nicely. Soon enough, if you have a SproutCore app, you’ll be able to just drop an editor right into your app. As of today, anyone with a website can grab a copy of Bespin and include the editor component very simply in their pages. We figure that we’ve got another month of work to do before we’re ready to update bespin.mozilla.com. We have a whole bunch of features to port over from the old code and we need to make good on another big part of the Reboot promise: opening Bespin up for plugins. It’s been hard even for Bespin core... (more)

The Next Revolution

Every so often a few technology trends converge that yield results much greater than their individual parts.  I think we have reached one of those moments with mobile devices (like the iPad) and HTML5. In many ways, the iPad is the perfect web device.  It’s a lean-back experience optimized around consuming content. With HTML5 (which mobile Safari does better than just about anything else), the kind of experience you can create on these devices is just really spectacular. You only need to use the NPR demo we wrote earlier this year for a few minutes to realize this is obviously t... (more)