4 ms·
This is the runtime pocketbase uses to allow javascript interop. Pocketbase is the framework that makes me want to switch to golang. It just makes a lot of sen
by throwaway13337 2y ago
This is the runtime pocketbase uses to allow javascript interop.
Pocketbase is the framework that makes me want to switch to golang. It just makes a lot of sense.
One thing that concerned me, though. How do I debug goja? It doesn't seem like I can set breakpoints as usual.
https://pocketbase.io/ https://pocketbase.io/
- thangngoc89 2y agoActually I decided to learn golang for extending using Golang for better DX (type hints and compiler errors)
- throwaway13337 2y agoIt's certainly a good idea to know golang while using something like pocketbase. However, one of the strengths of pocketbase, I think, is that the creator chose to add bindings for a very well known scripting language (js) to allow projects to be rapidly developed. It feels like django rethought. Using go for the base of your project and then gluing things together via scripting seems like a good idea. It's quite a big feature of the framework.
- skeeter2020 2y agoperformance seems pretty solid too, removing one of my prime motivators for switching to Go for extension work. PocketBase just seems to have made a lot of great decisions based on the conceptual integrity of the project goals.
- jtarchie 2y agoI've used Pocketbase for some other projects. A quick small web app, but it was so easy.
- steve_adams_86 2y agoPocketBase is a ton of fun. I’ve been using it for building my business’s store, and integrating with stripe was such a breeze. I’m using it sort of like a headless CMS/store. I considered other things like Payload CMS (which is awesome too) but the simplicity and productivity of pocket was such a draw. I don’t regret it.