Email - info@zymphonies.com

Single page application advantages and disadvantages

Single Page Application(SPA) is a web application that fits on a single web page with dynamic actions without refreshing the page. Single Page Application interactions can be handle without reaching server. Single Page Application can improve performance in several ways like loading time, using AJAX, easy to navigate pages etc. End users will be more comfortable with Single Page Application, It is very easy to navigate to different page and filter content. There are many tricks and technique can use to build awesome Single Page Application. AngularJS is the more popular Single Page Application framework.

What is AJAX?

Asynchronous JavaScript and XML(AJAX). It is not a programming language. AJAX is the method of exchanging data and updating in website without refreshing the page.

Advantages:

Single Page Application is good for making Responsive Websites, Support mobile, Tablet & Desktop.

  • No extra queries to the server to download pages.
  • User friendly.
  • Performance improvement, Single Page Application can improve performance in many ways, Single time file load each of HTML, CSS, JS.

Disadvantages:

  • Client must enable JavaScript, Single Page Application build with JavaScript, So JavaScript should be enabled in client browser. JavaScript enabled in all modern browsers by default.
  • Security: Compare to traditional page Single Page Application is less secure due to Cross-site scripting (XSS).
  • Memory Leak: Memory leak in JavaScript can even cause powerful system to slow down.