I started off like you on the backend development. When I had to build small webapps, I looked at the various frameworks and then settled on KnockoutJS. KnockoutJS is a very small and simple JS library. This is several years ago and at that time I didn't even know Javascript. The reason I say that is because even for a JS newbie, the KnockoutJS library was simple to use. (I read somewhere that MS Azure used KnockoutJ…
Great advice. Thank you. What have you been doing to help with page layouts, if anything?
Ask HN: What's is your go to toolset for simple front end development?
111–120 of 295 posts
Re: Ask HN: What's is your go to toolset for simple front end development?
#112https://docs.lowdefy.com/introduction
You need Node.js installed so that you have npx, but otherwise you just write your UI in yaml, because why the hell not?
Re: Ask HN: What's is your go to toolset for simple front end development?
#113Ignore any recommendation of React, TypeScript, Vite, or Tailwind. Here are some recommendations that don't require NPM/Node. Pick a "classless" CSS library from a site like CSSBed[1]. These are kind of like Bootstrap, except you don't need to write any CSS or apply any CSS classes in your HTML for them to work. No tooling necessary; just include a tag in your HTML document. If you'd like to try something similar to…
Re: Ask HN: What's is your go to toolset for simple front end development?
#114Re: Ask HN: What's is your go to toolset for simple front end development?
#115Earlier quoted context omitted.
I used Lit for web components, with no build steps. I loaded it from unpkg [0]; but there are probably more production-ready CDNs in existence. It worked pretty well, especially since CSS styles can also be encapsulated inside of the shadow DOM of the components. But for proper frontend projects, I would use typescript, and therefore a build pipeline. https://www.unpkg.com/browse/lit@2.2.7/index.js
I'm thinking of trying ts + deno at some point since deno has built-in ts support.
Re: Ask HN: What's is your go to toolset for simple front end development?
#116Ignore any recommendation of React, TypeScript, Vite, or Tailwind. Here are some recommendations that don't require NPM/Node. Pick a "classless" CSS library from a site like CSSBed[1]. These are kind of like Bootstrap, except you don't need to write any CSS or apply any CSS classes in your HTML for them to work. No tooling necessary; just include a tag in your HTML document. If you'd like to try something similar to…
Just one thing: do a favor for your visitor's privacy and don't use a CDN, download the css/js packages and host them yourself.
> An easy way to try out Mithril.js is to include it from a CDN and follow this tutorial. [1]
Re: Ask HN: What's is your go to toolset for simple front end development?
#117Check out: https://docs.lowdefy.com/introduction You need Node.js installed so that you have npx, but otherwise you just write your UI in yaml, because why the hell not?
I don't think this is a good toolset in terms of simplicity...
Re: Ask HN: What's is your go to toolset for simple front end development?
#118https://svelte.dev/tutorial/basics - easy to get started with but really powerful for complex stuff too For layout, don't use any CSS framework, but instead refer to https://css-tricks.com/snippets/css/a-guide-to-flexbox/ often - every time I use some big CSS framework I end up fighting it at some point. https://vitejs.dev/ for packaging - I got really grumpy when frontend stuff started needing build and packaging to…
Re: Ask HN: What's is your go to toolset for simple front end development?
#119Re: Ask HN: What's is your go to toolset for simple front end development?
#120If you need any kind of interactivity on the frontend, but are more comfortable with the backend, I would suggest looking at Phoenix LiveView [0] or a similar server-rendered HTML technology for your language of your choice [1]. In short, these solutions take JavaScript out of the mix entirely and basically let you deal with a single logical "app", rather than a separate frontend & backend. [0] https://github.com/pho…
If I _really_ need something to be driven by the frontend like a transition then I'll use Alpine.js.
For CSS I tend to use tailwindcss / tailwindui because I know it well and it doens't need npm. If I didn't know tailwind I'd probably look at something like bootstrap or something I can build on top of with vanilla css.