Category Archives: Sproutcore

Sproutcore: Login Logout Sample

Now it is time to extend the login sample further using what I’ve learnt so far. Once again, the code can be found here. See it in action here. This walk through assumes that you are familiar with the Login Sample walk through. Use Case If the user is not logged in, present the user [...]

How to use Sproutcore SelectFieldView (HTML select)

objects is an array of name (text to show to the user) and value (code to store in the database) pairs. nameKey specifies the name of the property that contains the text that to show the user. valueKey specifies the name of the property that contains the value to store. For some reason, I could [...]

Sproutcore: login sample with async Ajax call

I was trying to understand how a “login” user case scenario would work with Sproutcore. The sproutweet sample was a good starting point but it took me a while to come to grips with how it works.  The complexities of twitter integration took time to understand. I wrote this bare-bones login sample to experiment on [...]

Sproutcore: page navigation using routes

I found the official Sproutcore 1.0 sample a bit difficult to understand for a newbie like me.    I’ve written a bare-bone basic route_sample to show how to use the SC.routes class.    Get the code here. See it in action here. The sample performs the following functions:   There are two pages: one_page and two_page. Upon start up, [...]

My take on “What is Sproutcore?”

  Here’s the offical line. In short, it is a tool for building a rich desktop client application.   It communicates to the server using standard web protocols: HTTP and XML/JSON.  The server can be developed in any technology as long as it can support the HTTP and XML/JSON protocol. How is it different from standard web [...]

Create a second app in Sproutcore

Just say you created the Hello World app with: This will create folder structure like: To create a second app called bye_world, use You will then have the directory structure sc-init has the command line: Tweet

Sproutcore – Back to the future with client server!

Just stumbled on Sproutcore. Very interesting client side javascript MVC framework.  Abstracts HTML/CSS/DOM to make it more like good ol’ WinForms.  There’s even work on a WinForms like designer. We are back full circle (again!) 1970-80′s: Centralized mainframe apps 1990′s: Client-server (Winform apps using DCOM, SOM … yes I worked on IBM SOM for those who remember it) [...]