svandragt / cuttlefish

Hackable web framework (wip)
https://vandragt.com/tag/cuttlefish
MIT License
8 stars 2 forks source link

Add more flexible dynamic routing #50

Closed svandragt closed 4 years ago

svandragt commented 6 years ago

Not convinced. Flexibility is nice. However the implementation has to be simple

svandragt commented 5 years ago

What's interesting is that if we want to creates non blog or static sites; for example use this a framework for webservices; which could have some kind of crud flow.. would have to work through that ot see how that would affect routing.

svandragt commented 4 years ago

Blog is only one App. There could be a ApiApp. In the App->run() class method, default routes are specified for ease of use. The user can pass their own into the instance's run method which are combined and filtered out.