Introduction

AngularJs is a JavaScript MVC framework created by Google to build single-page web applications. Modern web development is currently headed toward single-page web applications since they provide better performance in web applications. So let us understand what a single-page web application is and what the benefits of single-page web applications are.

What Single-Page Applications are

Single-Page Applications (SPAs) are web applications that load a single HTML page and dynamically update that page as the user interacts with the app. SPAs use AJAX and HTML to create fluid and responsive web apps, without constant page reloads. However, this means much of the work happens on the client side, in JavaScript.

A single HTML page here means UI response page from the server. The source can be ASP, ASP.NET, ASP.NET MVC, JSP and so on.

In traditional web applications, when the client sends a request, the page server sends a response. Every time the page reload happens there are many pages and each one requires a Form Post.



A single-page web application however is delivered as one page to the browser and typically does not require the page to be reloaded as the user navigates to various parts of the application. This results in faster navigation, more efficient network transfers and better overall performance for the end user.



Using the "traditional" approach we must load many duplicates of the content for each page we visit. A single-page approach avoids this repetition and so makes your application more efficient to code and run. For a SPA it loads only the required content.

Key Points of Single-Page Applications

There are many JavaScript frameworks like AngularJS, Ember JS, Batman JS and Meteor JS, Backbone, Knockout js and so on that are available to develop Single-Page Applications.

Many people prefer AngularJs for the following reasons:
In the next article I will return with AngularJs content. I hope you now have a background of Single-Page Applications. Thanks for reading!