I've been searching all over StackOverflow but i couldn't find an answer for this.
What's the purpose of the Class in Spine (MVC Javascript Framework)? http://maccman.github.com/spine/#h-classes
I mean... I've been reading the docs, but I can't seem to figure out a real-world example to use Classes, and every time I think of something that probably would be the right use for it, I realize that I'm just confusing it with the Model.
Would anyone be kind enough to explain me where would be fit to use the Spline.Class 开发者_开发问答correctly?
Thanks.
Classes within Spine extend javascripts object model so you can use this when ever you wish to engage in object oriented design within your javascript.
I would suggest if you are not missing it you do not need to use it.
Just to be sure because I miss read your question on the first pass MVC is Model View Controller, so the important C in MVC is controller not Class.
精彩评论