Live data from Hacker News

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

news.ycombinator.com

131–140 of 333 posts

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

#131

For a startup with a friend: Typescript, Vue, Bulma, Buefy, Django, Postgres For a hobby project: Typescript, Vue, Bulma, Buefy, Rocket (Rust), Postgres I’m slightly worried about the bulma/buefy choice as there doesn’t seem to be a very active online community, but they work well so far. I’m hosting on render but I don’t know if I’ll continue to use them if it starts getting serious with real clients. Is there anyth…

I'm using exact same but instead of vue I just use Django templates. I am exploring Django hotwire now.

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

#132

This partially might be more of a what's old is new again, but here's what I use: - 100% server side rendered - Progressively enhanced (fully works without JS, but having JS enabled makes it nicer) - In select places where I need SPA-like snappiness I use a ~100 line long DOM diffing algorithm (I request full HTML through AJAX and diff it into the current page; if the user has no JS enabled then the page just refresh…

The post was about 'novel' tools. I really dont see what is novel about your approach

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

#134
I have built an app template which uses Go html/template package to render html on the server. The app is enhanced using sprinkles of javascript(stimulusjs, svelte single file components) on the client, wherever needed.

1. template: https://github.com/adnaan/gomodest-template

2. template demo: https://gomodest-template.fly.dev/

3. SAAS starter kit using the template(wip): https://github.com/adnaan/gomodest-starter

4. SAAS starter demo: https://gomodest.xyz/

[edit: formatting]

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

#135
post #103

Earlier quoted context omitted.

So it's a simple mmap database like early versions of MongoDB? I like using atomic commands, but I imagine it would become tedious fast to do the extra work of doing the accounting of the transaction manually every time you want to do a non atomic transaction.

> So it's a simple mmap database like early versions of MongoDB? Even simpler. I use mmap only for things that I build offline and that never change during the runtime. Everything else is just kept as your garden variety objects in memory. (Well, although I guess you could say it is an mmap database, it's just that the mmaped file is the swap, and the OS manages it for me.) > I like using atomic commands, but I imagi…

I do similar stuff to what you do, writing my backend code in Rust and not using a database but opting instead to keep things in memory and flushing to disk on my own. And running servers that I manage with SSH.

I would love to talk with you and exchange knowledge. Your HN profile has no publicly visible contact info though.

Do you have an email address I can reach you on? Can you put it in your HN profile description?

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

#136
post #95

Elm + elm-ui[1] (dont worry about CSS so much) + generated Elm client lib from GraphQL schema + Hasura (GraphQL over Postgres) + Postgres => strong type safety from db schema to frontend with SPA-first workflow; possibly add ReactAdmin[2] to the mix if that sort of thing is needed. Rust + Actix + Yew (Rust browser framework compiling to WASM) => also verrrry nice vor SPA-first! Slightly more traditional: Kotlin and j…

As someone fairly new to elm:

How do you mix Elm with something like react-admin? Do you set up an elm SPA and embed the react part as a custom element? Or do you go the other way around, having the main App be JS controlled and only some components be an embedded elm App?

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

#137

For all of my new side projects I am all in on Phoenix live view. I couldn’t be happier, you can write web apps quickly and it is super reliable. It’s probably not the best choice for every project, but for now it lets me do a lot as a solo dev who has maybe 30 minutes to an hour free a day to code side/personal projects. My personal project that has the most use is https://readastorytome.com/ . Almost all of the pro…

Why are you debating killing it? Is it not making any money, or is it too much to maintain?

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

#138
I'm currently working on a PaaS product called fold.sh (very early days).

One thing I'm using that I've seen crop up on this thread is tailwindcss... I've not used it before but I'm really enjoying it so far. It's not a panacea by any means - it makes no attempt to help you organise your CSS or make it modular so you need to 'bring your own discipline'. For example, it's fairly easy to end up with inconsistent design because it makes it so easy to just add a few custom tweaks here and there. That same feature also makes it easy to duplicate information.

That said, for the first time I feel like I can actually iterate quickly on CSS and design in general. That probably says more about me than CSS but I'm having a blast. The fixed set of choices and short/consistent class names mean that I spend less time reading docs and more time iterating, which is great in my book.

Maybe it's an approach that doesn't scale well to teams? Maybe I'll regret it later? Can't comment on that yet but it has certainly given me a step change in CSS productivity.

The rest of the tech I'm using is all pretty dull, with one exception, which is that I'm using the platform to host itself (the backend at least).

Hopefully this doesn't count as too much of a shameless plug but it certainly fits the bill of a 'different approach' as I'm the only user right now!!

The (very basic) landing page is here:

https://fold.sh/

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

#139

Not sure if this counts, but for simple stuff (both front and back-end!) I've been loving regular JS template strings for rendering HTML. Your render logic ends up looking very similar to React functional components, and you can get editor extensions that do syntax highlighting inside the string. There are obvious downsides - on the back-end it's slower than a proper templating system, and on the front-end you're reb…

You may be interested in doing js template strings with preact/react - no build tools required! Btw there's vscode support for this so you get syntax hilight too

https://github.com/developit/htm

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

#140
post #56
post #49

Earlier quoted context omitted.

No SQL database is the one thing I disagree with. What if you want to write a SQL query/report? Do you have transactions? As the app gets bigger you might want that.

Adding in a service like a SQL database because "you might want that" in the future is not a good idea. Apps should do what they need to do and no more. "Future proofing" is almost always a waste of time - even if you definitely want the feature in the future it's usually better to add it in when it's needed than adding it early and have to support something that adds no value yet. As for reports and transactions spe…

> "Future proofing" is almost always a waste of time

Not really, unless you lack the experience to know what to future proof and what not to future proof.

I've saved days/weeks of development by future proofing certain things, I've also saved days/weeks of development by taking pragmatic YAGNI in the right places.

Obviously this will only surface on projects that last longer than a couple months ;)

Post reply on HN