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…
Ask HN: What novel tools are you using to write web sites/apps?
131–140 of 333 posts
Re: Ask HN: What novel tools are you using to write web sites/apps?
#132This 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…
Re: Ask HN: What novel tools are you using to write web sites/apps?
#133Re: Ask HN: What novel tools are you using to write web sites/apps?
#1341. 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?
#135Earlier 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 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?
#136Elm + 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…
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?
#137For 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…
Re: Ask HN: What novel tools are you using to write web sites/apps?
#138One 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:
Re: Ask HN: What novel tools are you using to write web sites/apps?
#139Not 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…
Re: Ask HN: What novel tools are you using to write web sites/apps?
#140Earlier 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…
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 ;)