Search code examples
javascriptjquerysproutcore

What are some advantages of using the SproutCore framework?


I was going through the documentation, but the overall idea about the framework was not there. What are some of it's advantages or capabilities over a framework like jQuery?

I'm completely new to this, so can anybody help me by explaining how it works and what the main advantages are?


Solution

  • As I understand it is js MVC framework. Like knockout or angular-JS.
    Try another link on their site about ))

    Example:

    SC.View.extend({
    childViews: ['regularButton', 'iconButton'],
    regularButton: SC.ButtonView.extend({
      layout: { width: 120, height: 24, centerX: -70, centerY: 0 },
      title: 'Push Me'
    }),
    iconButton: SC.ButtonView.extend({
      icon: 'sc-icon-favorite-16',
      layout: { width: 120, height: 24, centerX: 70, centerY: 0 },
      title: 'Love Me'
    })
    

    })

    Sample for buttons

    I guess it is something like Kendoo UI but strictly MVC based. And it is not replacement for jQuery... It is some another model to manipulate app based on predefined controls (views).