r/java • • Jan 01 '20

Java on the Desktop

https://www.youtube.com/watch?v=M1NszZ_K2yk&t=0s
110 Upvotes

40 comments sorted by

View all comments

Show parent comments

1

u/pjmlp Jan 03 '20

Most applications are fine with very little JavaScript, so there isn't much to adapt.

What matters is having designers on the team that actually do wonders with CSS.

1

u/[deleted] Jan 03 '20

I disagree. The whole thing is a scalability nightmare.

Got an HTML/CSS banner you need to change on 100 different pages? Have fun!

Got a React banner you need to change on 1000 pages? Just edit the component once.

1

u/pjmlp Jan 03 '20

That is what caches are for.

1

u/[deleted] Jan 03 '20

Catching static HTML/CSS? You have piqued my interest. Explain.

What you’re suggesting sounds like an iframe.

1

u/pjmlp Jan 03 '20

I am not stating anything extraordinary, just plain old caching of rendered pages, with minimal use of JavaScript for the few screen areas that really require some kind of dynamic behavior.

1

u/[deleted] Jan 03 '20

How does this correct needing to update 100 uses of a static HTML and CSS banner?

The caching won’t save you in that instance.

→ More replies (0)