Hello readers , Today in my blog I will discuss about the Single Page Application i.e (SPA) .
Introduction :-
- It is basically a web application design approach .
- It uses all the modern browsers and HTML5 .
- It uses AJAX and HTML5 to create a responsive Web Apps .
- This Web page App loads single HTML page as according to the users action.
- With the use of various JavaScript Framework , we can create Single Page Application.
Benefits Of Using Single Page Application :-
- It helps to create a faster interaction b/w the developer and the user.
- It does not require any page flicker.
- It works on JavaScript based rendering.
- It helps to provide a better UX , so that it would be user-friendly.
Advantages Of Single Page Application -
- If we need to create a highly responsive site we make use of Single Page Application as it has the ability to redraw any part of the UI.
- It does not require to have server for downloading the pages.
Disadvantage Of Single Page Application -
- The client must have JavaScript enabled framework to work with Single page Application.
- There is only one entry point to the site , if we need any link from a specific part of a site it would be impossible to get.
- We can not reload a page as , it would take us back to the starting point of the site.
- The Single Page App gets vunerable to both Cross-Site Scripting (XXS) and Cross-Site Request Forgery (CSRF) Attacks.
An Overview to Web Apps :-
- It always needs a Internet connection .
- It is build for providing content delivery.
- With the use of it , we can write once and deploy everywhere.
Examples :-
The best example to show the use of Single Page Application is Gmail , Twitter and Facebook.
Below is the list of various JavaScript Framework used for creating Single Page Application , these are as follows :-
- Angular.js
- React.js
- Ember.js
- Aurelia.js
- Meteor.js
- Backbone.js
- Polymer.js
- Knockout.js
- Mercury.js
0 Comment(s)