Live data from Hacker News

Ask HN: Hunting for a Framework

news.ycombinator.com

61–70 of 70 posts

Re: Ask HN: Hunting for a Framework

#61

Not a framework but I'm tinkering with the following stack: 1. Hasura - DB + Basic APIS 2. Ory.sh for Auth/Authz 3. React on the frontend 4. Windmill.dev for Scheduling/Batch processing/ Background tasks 5. Docker for deployment 6. Fastify + Node JS for glue code (can use Windmill for Glue code too) I have used Hasura extensively at 2 companies. It's well done and saves a ton of time. You might also want to look at R…

Are any of your Hasura apis used for public APIs? For internal only APIs, hasura is great. But I wanted to craft a public api with a particular schema, but that leads to difficulties because it’s all database driven. It reveals too much internal workings.

Re: Ask HN: Hunting for a Framework

#62
I recommend looking at open source react framework for building CRUD apps.

GitHub repo: https://github.com/refinedev/refine

It is headless by default and supports Material UI, AntDesign, Chakra UI, and Mantine.

It has connectors for 15+ backend services including REST API, GraphQL, NestJs CRUD, Airtable, Strapi, Strapi v4, Strapi GraphQL, Supabase, Hasura, Nhost, Appwrite, Firebase..

Re: Ask HN: Hunting for a Framework

#63
post #6

Earlier quoted context omitted.

> 1. Hasura - DB + Basic APIS, 2. Ory.sh for Auth/Authz Great choices! 3. React on the frontend Here I'd go with Elm, and a generated GraphL API client. Here an example to play with (which btw also includes ZomboDB for ElasticSearch integration into Postgres) https://github.com/cies/low-code-backend-dockered > 4. Windmill.dev Look awesome, never heard of it. Tnx > If you like code-focused solution: Rails, Laravel and…

Wohah, did not know about elm-graphql! I'm a big fan of functional programming and have written minor projects in elm, but the "slowness" of development has always discouraged me from actually doing something big with it. This stack might make this a whole lot better. Will look into it. Thanks

I tried it and it is INSANE how you can just focus on the UX/features and not have to worry about the boilerplate.

This is not just FP, this is "no runtime errors possible" FP.

With Elm-GraphQL your QUERY BUILDER is even fully type safe!

Robust productivity for the masses.

Re: Ask HN: Hunting for a Framework

#64
post #26

Remix, zod, tRPC(if/when API endpoints are needed), Typescript, Prisma. This stack is gorgeous. Same language and type definitions front to back is a game changer. The realtime aspect of what you are looking for is the hard part. The only options I know of are the remix stack above (you still have to do some extra plumbing), elixir/Phoenix (or other turbo links like options but most aren't fast enough). To do realtim…

> elixir/Phoenix (or other turbo links like options but most aren't fast enough Phoenix specifically doesn't work like turbolinks. LiveVIew in Phoenix uses a websocket to transport data, morphdom to patch the dom, and a light process on the server to manage state. It's as fast as the internet connection for insertions into a list. In fact it is quite capable of parallel data loading just like remix, and the server ca…

How many concurrent connections can elixir handle on an average 5 year old xeon e3 with 32gb RAM?

Re: Ask HN: Hunting for a Framework

#66
post #64
post #26

Earlier quoted context omitted.

> elixir/Phoenix (or other turbo links like options but most aren't fast enough Phoenix specifically doesn't work like turbolinks. LiveVIew in Phoenix uses a websocket to transport data, morphdom to patch the dom, and a light process on the server to manage state. It's as fast as the internet connection for insertions into a list. In fact it is quite capable of parallel data loading just like remix, and the server ca…

How many concurrent connections can elixir handle on an average 5 year old xeon e3 with 32gb RAM?

Probably a lot depending on your workload. Here's a 2015 article about getting to 2 million concurrent connections[1] with Phoenix channels. They used a bigger rack space box, but it was 7 years ago and Phoenix and Elixir have both improved a lot here. Here's another example of someone hitting a laptop with 840,000 connections[2] on an intel mac with the following specs:

> 2.5 GHz Quad-Core Intel Core i7 16 GB 1600 MHz DDR3

Obviously memory starts to be a constraint for doing anything meaningful, but you can squeeze a lot out of 32gb of ram.

[1]https://phoenixframework.org/blog/the-road-to-2-million-webs...

[2]https://josephmate.github.io/2022-04-14-max-connections/

Re: Ask HN: Hunting for a Framework

#67
post #4

I would recommend Django, but it's really only the backend half of what you're looking for. What you're describing sounds very nice though. I've often wanted a VB6 equivalent for the web, but open source.

> I've often wanted a VB6 equivalent for the web, but open source.

That's Gambas, it can create web apps.

https://gambas.sourceforge.net

Some more links here:

https://github.com/wekan/hx/tree/main/prototypes/ui/gambas

Re: Ask HN: Hunting for a Framework

#68
post #4

I would recommend Django, but it's really only the backend half of what you're looking for. What you're describing sounds very nice though. I've often wanted a VB6 equivalent for the web, but open source.

pretty sure anvil is open-source now. https://anvil.works/ open source. https://anvil.works/open-source i should be a paid for how much i recommend looking at them, but i've never used it for anything production.

This looks very nice, I may give it a shot for a side project that I don't really have time for.

For anyone looking, here's installing via pip: https://github.com/anvil-works/anvil-runtime#using-the-stand...

The code is GNU AFFERO GENERAL PUBLIC LICENSE Version 3.

Re: Ask HN: Hunting for a Framework

#69
post #67
post #4

I would recommend Django, but it's really only the backend half of what you're looking for. What you're describing sounds very nice though. I've often wanted a VB6 equivalent for the web, but open source.

> I've often wanted a VB6 equivalent for the web, but open source. That's Gambas, it can create web apps. https://gambas.sourceforge.net Some more links here: https://github.com/wekan/hx/tree/main/prototypes/ui/gambas

Looks old school open source, sourceforge!

Re: Ask HN: Hunting for a Framework

#70
post #67

Earlier quoted context omitted.

> I've often wanted a VB6 equivalent for the web, but open source. That's Gambas, it can create web apps. https://gambas.sourceforge.net Some more links here: https://github.com/wekan/hx/tree/main/prototypes/ui/gambas

Looks old school open source, sourceforge!

Website is still at sourceforge.

Code has moved to GitLab https://gitlab.com/gambas/gambas

Web based bugtracker is made with Gambas.

Post reply on HN