Skip to content

Instantly share code, notes, and snippets.

@wiverson
Last active October 15, 2023 00:01
Show Gist options
  • Save wiverson/579a684b1d3e81cd4c2538414cdafa08 to your computer and use it in GitHub Desktop.
Save wiverson/579a684b1d3e81cd4c2538414cdafa08 to your computer and use it in GitHub Desktop.
JavaScript resources, but with a very opinionated take - small, easy to use frameworks that offer clean integration with server-side frameworks (in particular, Maven/Java).

Do You Need The Complicated Tooling?

JavaScript Courses

Small, Powerful, Easy Server-Side Friendly Web Frameworks

  • HTMX - add HTML-over-the-wire and easy interactivity with just a few attributes.
  • hyperscript - very simple, easy to use, async native scripts.

Lighter Than React/Angular

NPM but for Java

  • WebJars - supports automatically converting anything published in npm or Bower to a Maven-friendly WebJar with just a few clicks. Only need to do once, from that point on the library is now mirrored to Maven Central.

Crash Reporting

SASS with Java

Kitchen Sink Web Frontend Maven

  • wro4j - Kitchen sink web optimzation and tooling.
  • frontend-maven-plugin - Allow integration of the entire Node.js and NPM dev tool chain but all through Maven. Does a lot, especially if you flip on all of the various minification, etc. so builds can take (in some cases) quite a bit more time. YMMV.

Visual Editors

Templates

  • HTMX suggested include mustache, handlebars, and nunjucks.
    • Handlebars is supported with both JavaScript and Java versions, making it a nice pick for a Java dev looking to reduce the number of templating languages they have to deal with.

Testing

Animation

Debugging

Monitoring

Search

Cheat Sheets

Mapping

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment