3 ms·
It looks inspired by express.js, is it the case or are they both inspired by an older framework?
by speedgoose 4y ago
It looks inspired by express.js, is it the case or are they both inspired by an older framework?
- tipsee 4y agoBoth inspired by Sinatra, the OG :)
- samtheprogram 4y agoExpress is inspired by Connect JS in terms of middleware — middleware written for Connect works in Express. The middleware style I believe is originally inspired by Rack, a Ruby project. Sinatra, also Ruby, predates Express and is based on Rack (in a similar way to Express, which used to be based on Connect if I’m not mistaken). I’m not sure what inspired Sinatra, but that’s probably the influence you’re seeing in these frameworks.