Why would i use HTML, CSS and JavaScript anyway ? If i there are frameworks like Swing, AWT, JavaFX etc
- Provide a complete separation of front-end and code-behind
- HTML, JavaScript and CSS helps you build interactive UI/UX reletively easily and quiclky
- It is not very feasible to access native APIs using JavaScript. (Java can save the day)
Why won't i use NodeJS if it were about building UIs using JS ? Isn't C++ add ons more than enough to give that extra bit of super power ?
- UI framworks running on NodeJS usually build a bulky app.
- C++ / C is tad bit trickier than Java. Isn't it ?
- Java is battle tested, whereas nothing compares to JavaScript for building UIs
The idea is simple
Spin up a localhost that acts as the middleware bettween the HTML, JS, CSS pages and the code behind (using Java)
No Bootstrap CDN and Jquery copied on the local file saves a lot of time and helps build good looking and interactive GUIs