Speaking on the modern web, we have new concepts like SPA / Rest and I keep some doubts.
Is the correct way to enter the web to focus / study these concepts? Since they appeared as an improvement on some old concepts.
Is it always feasible or when you can use SPA / Rest? I know that with a rest in hand I can use it to serve several other applications, such as mobile apps, out of stability and etc.
In safety, is it safe to use a SPA? In a lecture on SPA, that validation focuses on the front, but I would not stop doing the validation on the server, I think there's no point in doing this.
I speak in systems of all contexts, sizes, goals and so on.
I know that many of these things are not so new, being present on the web for a long time, but many "old" concepts are still proposed.