Live data from Hacker News

Show HN: A Full-Stack Web Framework for Go

github.com

61–70 of 103 posts

Re: Show HN: A Full-Stack Web Framework for Go

#62
post #22

I think using Svelte was a mistake. That being said, I'm pretty impressed with the effort here. Looking forward to seeing how this framework evolves. Cheers.

Thanks for your comment @dimgl!

As @drewry mentioned, we're aiming to be frontend-agnostic. Changing the renderer should be as simple as creating files with different extensions:

- index.svelte for Svelte

- index.jsx for React

- index.html for HTML

- index.gohtml for go/template

There's more information in this discussion: https://github.com/livebud/bud/discussions/8

Re: Show HN: A Full-Stack Web Framework for Go

#63
post #57

Earlier quoted context omitted.

Where nextjs kicks ass is that coding front end interaction (sans back end interaction) and doing interaction in response to server feels almost identical. There is no “ugh ok … better set up react now” feeling to make say an interactive chart because it was always there. Similarly there is no “ugh ok … better set up a backend now” feeling you get using create-react-app as it was always there. There is almost no ment…

I just want plain HTML and some of {{ .These }}

You wish will be my command https://github.com/livebud/bud/discussions/8 :D

Re: Show HN: A Full-Stack Web Framework for Go

#64
post #28

Earlier quoted context omitted.

To me I think the approach of Hotwire, LiveView, Django-HTMX etc. is more interesting for a Go framework, since websockets/async are baked into the Go language. In other words, render the HTML in Go and ship the diffs to a small blob of JS running in the client over a websocket, instead of baking a whole React build into your server-side app. Much simpler toolchain this way, much easier to reason about. I appreciate…

Where nextjs kicks ass is that coding front end interaction (sans back end interaction) and doing interaction in response to server feels almost identical. There is no “ugh ok … better set up react now” feeling to make say an interactive chart because it was always there. Similarly there is no “ugh ok … better set up a backend now” feeling you get using create-react-app as it was always there. There is almost no ment…

Agreed. I love Next.js and used it religiously for the first couple years. I'm not trying to beat Next.js or any framework. There's plenty of space in the web ecosystem for alternative solutions.

I hope is that Go JS/Svelte won't be too much of a context switch for folks.

I'm not planning on innovating as hard in the frontend space as Next.js. I'll probably just stick with SSR, add support for pre-rendering and build up the client-side runtime with features like prefetching and client-side routing. If something really cool comes along, we'll see.

I'll instead focus on the area where Next.js neglects: backends. DB workflows, mailers, queues, scheduling, pubsub are all coming to Bud.

Re: Show HN: A Full-Stack Web Framework for Go

#65

dude this looks awesome! can't wait to dive into this and learn a bit more. i come from a ruby, js and python background using frameworks like: react, django, rails, etc. always wanted to excuse to use GO and this might be it!

Thanks for the kind words @jacktheturtle! I like your handle. As the author of https://standupjack.com, all Jacks have a special place in my heart Let me know when you give Bud a go! Feel free to email me at hi@livebud.com or hit me up on Twitter @mattmueller.

Re: Show HN: A Full-Stack Web Framework for Go

#66

Great effort in a great lang. Constructively speaking: Hacker culture could benefit from less frameworks to more low code/no code platforms (which is a space with more fertile ground)

I worried about this, but it seems like there's enough "framework supportors" in the comments!

Re: Show HN: A Full-Stack Web Framework for Go

#70
post #37

Cool project but I think building a full stack web framework in a language without features like operator overloading is a fool's errand. Yes, Go has nice standard templating and HTTP serving libraries, and nice dependency management. These are all important features for a web framework. No, it will never be productive as its competitors in the web framework space, because you simply cannot write expressions like `or…

Thanks for your comment @pphysch!

So for authoring an app, I tend to agree with you. Languages like Ruby/Python/Typescript are probably faster to get something working.

I try to consider productivity holistically though. With Go, there's a lot less fussing with the tooling. I've also found Go saves a lot of time when onboarding new teammates. This is because of Go's intentional decision to be conservative with syntax. After all, most developer time is spent reading, not writing.

I respectfully disagree with your preference to split your backend up over gRPC or HTTPS. I prefer the approach Shopify takes to break up it's monolith: https://shopify.engineering/deconstructing-monolith-designin...

Bud will support something like this in the future.

Post reply on HN