I've been trying to write my "go on rails" framework for years. I never quite got it like I wanted. There is gin and echo and all sorts of other frameworks and patterns but I finally found something I really like:
/foo/
/foo/bar/
/foo/bar/more/
That's it. Just three levels and all my controllers get passed in what's between the / with var names first, second, third.
In order to really make sure this framework could build something real I made a Hacker News clone. RemoteRenters.com is a HN just for articles about the remote work revolution since covid. Feel free to vote or submit to see how it all works!
Code is open source at: https://github.com/andrewarrow/feedback
Comments URL: https://news.ycombinator.com/item?id=35033368
Points: 21
# Comments: 0
from Hacker News: Newest https://ift.tt/qwru0VO
via IFTTT
No comments:
Post a Comment