3 ms·
I've also created a lightweight Express-inspired framework at: https://github.com/Dartist/Express https://github.com/Dartist/Express Since Dart lacks the abil
by mythz 14y ago
I've also created a lightweight Express-inspired framework at:
https://github.com/Dartist/Express https://github.com/Dartist/Express
Since Dart lacks the ability to extend built-in types using something like extension methods, categories or refinements as seen in other languages I think exposing a user-controlled class is the way to go as it lets you expose a framework-focused, value-added, user-facing DRY API.
- Daegalus 14y agoI went a much similar route with my lightweight express-inspried framework. I made user-controlled classes that get populated with relevant data and middleware information. Like stuff from form parsing. https://github.com/Daegalus/fukiya https://github.com/Daegalus/fukiya