Let’s go back in time a little bit, to the 1990s, in United States of America. The world is going crazy over technology, people’s lives are changing rapidly. EVERYONE wants to own a computer. For technology industry, that was their time to shine, but you had to be quick, certainly quicker than the competition. So what do you do?
In 1990, Sun Microsystems Company deputed a team of developers to create a new language. It was going to be better than C or C++, since both of them had troubles with their performance on newer computers. That’s how they came up with Oak. The name had to be changed, due to already existing language with that name. Its new name was chosen while getting a coffee from a store, coffee called Java. That’s also the reason why Java has a cup of coffee as its logo. Interesting, right?
Let’s talk about Single Page Application now. That is a true game changer when it comes to web apps. Even though it’s not a new discovery, only recently it started becoming more popular.
SPAs literally work like a desktop app, it’s that fast. Curious to know how? It’s pretty simple actually, the whole app is created as if it’s a single page. Therefore, when the user clicks to open the site, the whole code is being transferred to the clients side at once. After that, every command is being performed instantly without the need to send the request to the server.
Downloading or sending data from and to the server is going to happen only for dynamic elements of the app, like chat window or a graph. Therefore, there’s no need to reload the site, so even if you lose your internet connection for a second, the side is still going to work and react to your commands.
After the connection is recovered, all of the collected data is going to be send to the server without losing any.