ire4ever1190 / mike

The new and improved mikero web framework
35 stars 1 forks source link

Move to custom data system instead of custom context #8

Closed ire4ever1190 closed 1 year ago

ire4ever1190 commented 1 year ago

Custom context worked pretty terribly and made the code more complex. This moves it to a custom data system instead where you can add data to a context like ctx &= someObject and get it back later with ctx[SomeObject].

Allows for handlers to pass along more complex data and gains speed that was lost when the custom context system was implemented