I’d like to know what are the steps required to create a framework on top of node.js.
I believe this can be a good way to learn, that’s why I’m doing this!
I’ve been checking other micro-frameworks and bigger frameworks but I’m not being able to understand where to start. I’d like your advice on this.
Edit: MVC Framework like Sinatra, Merb, Rails.
For an MVC framework, the basic concepts go something like this (forgive the simplicity):
Start as simple as possible and add small enhancements:
Take a look at mustache.js for a small template engine. Note their terminology differs from mine in examples and code. What I call a view, they call a template and what I call a model, they call a view. It’s a small thing but potentially confusing.
Additional resources: