What Is A Single Page Application?

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
Everybody, I'm Dave Hecker and today we're going to talk about a term that we are are hearing all the time these days, and a lot of clients are asking about. It's the single page application. We'll talk about what it is, and how it's going to affect you and your project. Okay to start, this is not going to be a super technical explanation of what a single page application means. This is more going to be for the layman all the way up to somebody who is just considering and trying to get a very broad understanding of what it means. So here we go. Let's start with the Wikipedia definition of the single page application. A single page application, also known as a single page interface, which I have never heard, is a web application or website that fits on a single web page with the goal of providing a more fluid user experience akin to a desktop application. That's a good definition. Let's talk about what it kind of really means. In the past, the way that web applications worked was like this, you have a browser and you have a web server over here. You're sitting at your browser and you type in www.whatever.com, and your browser sends a request to the server and says, "Send me the home page of that site." Server sends it back to you, and you look at it, and you click again, send another page. "Now send me this page." Now that page comes back. Now you type something in the box, "Send me the search results for this term." Server thinks about it sends you a new page back. You are always getting new pages, and that's why we see a lot of reloading, especially in older websites. You're always waiting for the page to refresh. A single page application doesn't do that at all It's a completely different approach. When you first come to the website, behind the scenes your browser downloads a little program in JavaScript. Comes down to your browser, your browser saves it starts to run it. It is a complete application, as if you had sort of installed a smaller application on your computer, but this is in your browser. And it usually happens in just a few seconds, you don't even notice it. Once that is running, you don't need to reload that page any more. That little javascript program is going to control everything on your screen and, if it needs to, it will communicate to the server over the internet and get the information you need without reloading the page. That's why we call it a single page application. It just loads that one time. That saves a ton of bandwidth, a ton of time. It's much faster, it's a much more fluid experience. We've all sat there waiting for a page to refresh. That doesn't really happen on a single page application. A great example is Gmail. They are one of the leaders of the whole single page application approach. You may notice that in Gmail, it never really refreshes. You're clicking all over the place, email coming in, even new email. It's obviously communicating with the server but it's just that same page. And that's what's great about single page. Overall, single page applications are great approach especially for more complex applications. It's faster, it's better in a lot of ways, it is harder to build, but this I think is the way of the future. It embraces html5 and JavaScript to forward-thinking common approach and I highly recommend it. And we know lots and lots and lots of great javascript developers who can help you do it. So if you have any questions get in touch, and good luck on your project.
Info
Channel: SourceSeek
Views: 84,553
Rating: 4.9114895 out of 5
Keywords: outsourcing, offshore, web development, mobile, python, ruby, django, php, find developers, hire developers, single page application, single page app, single page, angular.js, bootstrap.js, javascript, AJAX, Marketing, Software (Industry), Python (Programming Language), Google, Design, Search, Google Search (Website), Advertising, Business, Chrome, Firefox, Google Chrome (Web Browser), Page, SourceSeek, tutorial
Id: xfGciVdbktI
Channel Id: undefined
Length: 3min 30sec (210 seconds)
Published: Wed Dec 23 2015
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.