views:

151

answers:

2

SproutCore is said to be a JavaScript framework, so how to use it entirely without Ruby (actually with PHP or Java) on server side?

+3  A: 

the build tools are written in ruby. Unless you want to roll your own I don't think you will be able to do things like build your client side code or use sc-server without ruby.

That said, the build tools are just a set of tools to help you develop. SC doesn't care what you have on the server. As long as your server returns json, you are good to go.

In fact, you can build a lot of your client side functionality without the server using fixtures

http://wiki.sproutcore.com/DataStore-Using+Fixtures

hvgotcodes
Also, if your app doesn't need to communicate between multiple computers then you can also set up an HTML5 local store.
Peter Wagenet
A: 

As hvgotcodes said, for development you'll need Ruby for the build tools. However, there are also some node.js tools available if you'd rather go that route. Furthermore, there is strong interest in making a build tools binary. This would allow SC development without having to install Ruby locally.

Peter Wagenet