Live data from Hacker News

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

news.ycombinator.com

241–250 of 333 posts

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

#241
Chiming in here with my latest "weird but cheap" stack:

* Use a Trello board as a free CMS. * Write cloudflare worker code to read cards from the board via Trello APIs and render card content as plain old HTML.

I use labels as tags for the categories, and have specific formatting in the card descriptions. If an attachment is a YouTube URL, it renders the video as an embed, otherwise it uses image attachments as post images. Card covers render as the link thumbnails on the list pages.

Powers our family YouTube blog: https://thunderiron.family

(Check it out if you like fun and delicious Keto recipes)

An earlier version of this stack powers my personal dev blog, and the approach is written up here:

https://splatcollision.com/page/meta-post

What is particularly cool is that I can post things right from my phone using the Trello apps!

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

#242

I am working on two alternative tools for building web apps: https://htmx.org - uses HTML attributes and HTML-over-the-wire for AJAX/Web Socket/SSE interactions https://hyperscript.org - an experimental front end programming language derived from HyperTalk that is event-oriented and that removes the distinction between synchronous and asynchronous code. Both tools are HTML-oriented and are designed to be embedded dir…

beautiful solutions, thank you for ur work Is there similar solution for manipulating tables and json? I am not a front-end developer, so when i am preparing a poc, it always takes me so long to parse data in a table. Someone must have done the same thing as htmx for tables, or i hope ...

what kind of manipulations?

you can implement server side versions of most manipulations and then use htmx to trigger them and rerender the whole table, if that's acceptable from a UX standpoint

here is an example of active search that filters a table:

https://htmx.org/examples/active-search/

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

#243

I worked as a full-stack developer up until 7 years ago. Evaluating different options for my new website, I ended up just using what I'm familiar with: raw, vanilla PHP, HTML, CSS, and JS. Eliminates the need for any faff like server management on my part; PHP-enabled hosting is cheap and easy. No frameworks, just PHP. Not that novel, I know. There's a stark difference in research and production in terms of output, f…

Same preferences, I learn what is new (at least 2-3 year old) but stick to vanilla PHP, JS and HTML.

though I prefer learning a new programming language every year.

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

#244
I'm using SvelteJS[1] (specifically, Sapper[2]) on my product ListenAddict[3].

On other products I'm using SvelteKit[4], which is the spiritual successor to Sapper, but it's _very much_ in beta, and I wouldn't quite recommend it for production yet (even though it is being used in production for the NY Times).

I've found Svelte to be amazing to work in, especially compared to React/Vue/Angular. The compiler is great, and the final size in production is fantastic. It's also super easy to do things that I previously found annoying/hard/long-winded to do in React.

[1] https://svelte.dev/ [2] https://sapper.svelte.dev/ [3] https://www.listenaddict.com/ [4] https://kit.svelte.dev/

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

#245

Earlier quoted context omitted.

IS CSS really this well featured and expressive these days? I havent tinkered with it in years.

:checked and :not() have been dependable for quite a few years now. Firefox has had ’em since at least version 1 (2004), Safari got ’em in 3.1 and 3.2 (2008), and Internet Explorer was the last player to the table in Internet Explorer 9 (March 2011). The rest of the selector features (tag, attribute, class, adjacent sibling, child) are older still (IE7 supported it all).

That's totally awesome. Everyone always just jumped to JavaScript for that kind of thing with jQuery.

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

#247

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…

Which Rust templating tools are you using for server side HTML rendering?

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

#248
Recently I got into a web app idea, which does not require any search engine indexing (mostly admin-heavy stuff), and I gave Flutter Web a try (note: I was using Dart on the server side for a long while, and occasionally as compiled to JS too).

No regrets so far: it is productive and handles complex state really well.

Post reply on HN