Live data from Hacker News

Ask HN: What novel tools are you using to write web sites/apps?

news.ycombinator.com

331–333 of 333 posts

Re: Ask HN: What novel tools are you using to write web sites/apps?

#331

Earlier quoted context omitted.

> flush to disk periodically How do you protect yourself against incomplete writes? What about when there's a critical update that you don't want lost? I've done similar stuff in the past, but I handled things slightly differently. For tiny data structures I just spat out a short XML file. For larger data structures I synchronized all changes with a SQLite database.

> How do you protect yourself against incomplete writes? I don't update files on disk in-place. I write to a new file, and once it's done I do an atomic move and replace the old file with the new one. > What about when there's a critical update that you don't want lost? I immediately write it to the disk? (: I don't think it's possible to completely avoid this problem. In a traditional database if you suddenly lose p…

How big are the files?

The old version of the application that was written before my version always wrote the entire file like you do. But when the file got very large it was too slow, which was why we used SQLite in newer versions.

Re: Ask HN: What novel tools are you using to write web sites/apps?

#332

Earlier quoted context omitted.

> 100% server side rendered > Progressively enhanced > request full HTML through AJAX and diff it into the current page These first three points are actually starting to be "in" again. They're called HTML-over-the-wire[1, 2]. And I am currently looking into implementing them for my site (which uses ASP.NET Core Blazor), because I think this approach is awesome. [1] https://hotwire.dev/ [2] https://alistapart.com/arti…

Have you seen HotChocolate's GraphQL (+Blazor +websockets)? https://www.youtube.com/watch?v=XLOZ3hhJKBE

I haven't, will look into it. Thanks!

Re: Ask HN: What novel tools are you using to write web sites/apps?

#333

I built Nodewood: https://nodewood.com I really enjoy NodeJS/Vue for web apps, but I got sick of having to connect together all the packages from scratch each time, set up ESLint, testing, database connections, write the user auth/management, all that common stuff. So instead, I put together a boilerplate with all my common practices and basic app features. I figure, it ultimately saves me time on all future web apps…

My ex-company was an web agency, we were spinning out new projects every few weeks. I developped a "project generator" (more dynamic than a boilerplate) that would create a full project with Django-React-ReactNative-Postgres, with the Terraform configuration to deploy to AWS. Apparently it was huge for sales, and got projects starting on the right foot. You can probably make that into a full product!

What kind of input did it take?
Post reply on HN