by atomicnumber3 · 1y ago · 0 comments
In JS-land, you're right. You should basically do as little as is humanly possible in the view layer, which imo leads to a proliferation of extra network calls and weirdly-shaped backend responses.
JS is perfectly powerful, if you don’t know how to use it that’s a good learning opportunity.
If using Ghirdra was as simple as using the dev tools, the software industry would collapse.
The grand rule is don't trust the client. People break this rule and then try to paper over it with obfuscation, blame, and tightening their control.
You wouldn't run a shopping cart app where the item counts and totals were calculated client-side. You get the item id and quantity, and have the server do that. Just like if you were censoring something, you wouldn't send the client the unredacted data and then let the UI make the edits.
No obfuscation is needed for any of that. Open web has nothing to do with any of this
No, by a large margin no. Java is a hostile language to prototype programs at which JS excels. Awful styling, walls of code just to get sane defaults (https://docs.oracle.com/javase/tutorial/uiswing/dnd/together..., seriously?).
https://docs.oracle.com/javase/8/javafx/get-started-tutorial...