dstroot / skeleton

Node Express MongoDB Bootstrap Passport... all rolled up into juicy goodness
skeleton-app.jit.su
MIT License
370 stars 47 forks source link

What type of Framework can Skeleton be considered? #20

Closed cmpsoares91 closed 10 years ago

cmpsoares91 commented 10 years ago

Hi Dan,

As you probably noticed by now I'm quite new to Full-Stack JS Frameworks and was wondering, for academical reasons what kind of framework it may be considered?

I mean I heard of MVC, RESTful, Three-tier architecture, and so one but never figured quit out what is exactly what. And was trying to use Skeleton as a study case, in which I'm inclined to a RESTful framework.

Am I correct?

I appreciate your help.

dstroot commented 10 years ago

Hmmm... it's not really any one of those exactly. A great REST framework is Restify. Skeleton tries to follow the design concepts of MVC - I believe in the separation of models and views which we see in this framework by using Mongoose for Mongodb models and the views are really basically the Jade templates. The controllers are what I consider to be a controller because they manage the routes and what views are shown, but this isn't really full-blown MVC in a pure sense. Since it is only a web application and a database it is only two-tier.