Live data from Hacker News

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

news.ycombinator.com

271–280 of 333 posts

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

#271
post #191

Earlier quoted context omitted.

How much traffic per month does it cover in this amount? I want to launch some toy projects and confuses whether go for AWS or vps.

20 TB. I would definitely recommend going with a VPS over AWS in your case, unless you want to play with AWS-specific tech to build up your resume.

are you also installing the DB within the VPS?

I would be needing a web app connecting with MySQL and a bunch of Crons.

Also, could I host multiple domains?

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

#272
post #191

Earlier quoted context omitted.

Currently 4.29 EUR/month VPS on Hetzner. (Although I have some fun features planned and might need some more processing power so I might upgrade in the future.) They have great AMD-based VMs, 2x perf/$ over Intel. (I've benchmarked.)

How much traffic per month does it cover in this amount? I want to launch some toy projects and confuses whether go for AWS or vps.

20 TB of outgoing traffic is included with a Hetzner Cloud VPS, any additional TB costs 1,19€. Incoming traffic is free.

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

#273
post #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

Avoiding transpilation is nice, but so is avoiding a library altogether. I take this approach when I just want to get going with zero setup and zero overhead; if I'm going to the trouble to set up React then I'll want bundling, and at that point I'll probably just go ahead and configure JSX and TypeScript.

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

#274

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…

This is incredible. I’ve been looking for something like this for a long time. Love the site and documentation, please keep up the fantastic work. I am excited to play with this over the weekend and see what I can make!

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

#275
I have used craftwork design method framework to build startup landing pages and websites.

https://craftwork.design/downloads/method-4/

It ships with many layouts, blocks and components in React that you can mix and match for building landing pages. If building a page from scratch isn't in your wheelhouse it's quite useful to get something out quickly.

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

#276
Django with raw SQL queries. HTML using templates, with CSS files for repeated styles (eg defaults for a given element type), and inline styles for one-offs. Modern javascript for targeted interactions like managing shopping carts through local storage, validating forms with visual feedback, and processing payments.

Typescript as-required; better language, but adds a build step.

Rust is promising for both front and back end, but backend frameworks are too sparse for websites, and frontend leads to large downloads for the client.

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

#277
Plasmic is a web design tool / visual page builder that works deeply with code, builds web apps as well as websites, and doesn't lock you in (exports anywhere).

https://www.plasmic.app

It plugs into React stacks, including SSGs like Gatsby/Next.js, and continuously generates code that you can override/extend. (I work on this!)

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

#278

Plasmic is a web design tool / visual page builder that works deeply with code, builds web apps as well as websites, and doesn't lock you in (exports anywhere). https://www.plasmic.app It plugs into React stacks, including SSGs like Gatsby/Next.js, and continuously generates code that you can override/extend. (I work on this!)

We’ve been seeking the “holy grail” being web dev tools our design team can use.

What we’re also seeking is a way that limited end-clients could also use the tool to make minor copy changes (A poor mans CMS if you will).

How might your tool support the three different users.

1. Devs who need it to create handcrafted grade code

2. Designers seeking to drag and drop with flexibility

3. Power users seeking to update copy inside the same platform

Thx

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

#280

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…

Why not use something like lmdb instead of writing raw files? It's a performant k/v store and memory mapped. It beats file access syscalls most of the time.
Post reply on HN