Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is SproutCore and why should I care? [closed]

I have just seen the news that a person has left Apple to develop SproutCore. It seems to yet another collection of jscript code.

So what is the big deal and way are a lot of people making song and dance about it?

What does it provide that jquery / extJs / etc does not provide?

How does anyone decide if it is worth investing the time to find out if it is useful to them?

There must be something different about it that is getting people excited, however I can see what from its website, so what am I missing?

(Or it that I can’t understand its web site because I am not a ruby programmer?)


I just found http://wiki.sproutcore.com/About-SproutCore-Project that gives a better write up, it seems that SproutCore does not work with IE6 that somewhat limits it to websites for home users and small companies. One day large corporations and government will move away from IE6, but I still see IE6 support on the spec for way too many tenders.

like image 766
Ian Ringrose Avatar asked Jul 07 '10 10:07

Ian Ringrose


1 Answers

The deal with SC is that it is a fully featured MVC framework for writing RIAs. ExtJS is a collection of integrated components. MVC means that you have distinct Model, View, Controller layers.

I worked with SC for 6 months and was amazed with the effectiveness of it. In SC, when you load some model objects, the views bound those objects via controllers automatically update. You don't write any code, like you would in extjs, whereby a user does something and there is an event handler that tells all the views to update. (Or at least you write a lot less of that type of stuff).

The SC widget set is not nearly as robust as EXTs, but you can write your own views for just about anything. The other thing is that SC comes with a unit testing framework integrated. That is awesome. You can test your model code, your controller code, and view code in isolation.

EDIT -- ExtJS/Sencha has become more MVC oriented in their latest release, so the statement that ext is a 'framework of components' no longer applies.

I still think SC is a great framework that will give anyone interested a lot of mileage.

like image 61
hvgotcodes Avatar answered Nov 05 '22 22:11

hvgotcodes