Vineel Vutukuri. What is SPA? Why SPA? Pros & Cons When to use SPA?

Slides:



Advertisements
Similar presentations
Testing Web Applications & Services Testing Web Applications & Web Services.
Advertisements

Avrom Roy-Faderman Senior Instructor and Programmer May 15, 2008 The Evolving Web UI.
Server-Side vs. Client-Side Scripting Languages
ACTIVE X By Ethan Huang. OUTLINE What is ActiveX? Component of ActiveX Why ActiveX? ActiveX and Java Security Issue.
WHAT IS AJAX? Zack Sheppard [zts2101] WHIM April 19, 2011.
Anycast Jennifer Rexford Advanced Computer Networks Tuesdays/Thursdays 1:30pm-2:50pm.
Multiple Tiers in Action
Does Ajax suck? CS575 Spring 2007 Chanwit Suebsureekul.
Development of mobile applications using PhoneGap and HTML 5
A closer look Dynamic Webpages Jessica Meyerson March 1, 2011.
Web Programming Language Dr. Ken Cosh Week 1 (Introduction)
Client/Server Architectures
8 Chapter Eight Server-side Scripts. 8 Chapter Objectives Create dynamic Web pages that retrieve and display database data using Active Server Pages Process.
Copyright © cs-tutorial.com. Introduction to Web Development In 1990 and 1991,Tim Berners-Lee created the World Wide Web at the European Laboratory for.
Databases and the Internet. Lecture Objectives Databases and the Internet Characteristics and Benefits of Internet Server-Side vs. Client-Side Special.
ASP.NET + Ajax Jesper Tørresø ITNET2 F08. Ajax Ajax (Asynchronous JavaScript and XML) A group of interrelated web development techniques used for creating.
AJAX Without the “J” George Lawniczak. What is Ajax?
2013Dr. Ali Rodan 1 Handout 1 Fundamentals of the Internet.
Bob German Principal Architect A New on SharePoint Development Building Light-Weight Web Parts with AngularJS
Advanced Web Forms with Databases Programming Right from the Start with Visual Basic.NET 1/e 13.
Introduction to Internet Programming (Web Based Application)
AJAX Making Dynamic Web pages more Dynamic Jim Hendricks April 25th, 2006.
Unit – I CLIENT / SERVER ARCHITECTURE. Unit Structure  Evolution of Client/Server Architecture  Client/Server Model  Characteristics of Client/Server.
Orbited Scaling Bi-directional web applications A presentation by Michael Carter
Web Applications BIS4430 – unit 8. Learning Objectives Explain the uses of web application frameworks Relate the client-side, server-side architecture.
Introducing ASP.NET 2.0. Internet Technologies WWW Architecture Web Server Client Server Request Response Network HTTP TCP/IP PC/Mac/Unix + Browser (IE,
Building Rich Web Applications with Ajax Linda Dailey Paulson IEEE – Computer, October 05 (Vol.38, No.10) Presented by Jingming Zhang.
Telerik Software Academy ASP.NET Web Forms Telerik Software Academy ASP.NET Web Forms.
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 14 Database Connectivity and Web Technologies.
1 MSCS 237 Overview of web technologies (A specific type of distributed systems)
AJAX Compiled from “AJAX Programming” [Sang Shin] (Asynchronous JavaScript and XML)
Quick overview of ASP.NET Ajax Ajax deep-dive Cover some key real-world problems Discuss solutions, patterns, opportunities Lots of demos And more of.
The Problem of State. We will look at… Sometimes web development is just plain weird! Internet / World Wide Web Aspects of their operation The role of.
The Module Road Map Assignment 1 Road Map We will look at… Internet / World Wide Web Aspects of their operation The role of clients and servers ASPX.
Ajax for Dynamic Web Development Gregory McChesney.
Web Technologies Lecture 8 Server side web. Client Side vs. Server Side Web Client-side code executes on the end-user's computer, usually within a web.
 Web pages originally static  Page is delivered exactly as stored on server  Same information displayed for all users, from all contexts  Dynamic.
What Is XSS ? ! Cross-site scripting (XSS) is a type of computer security vulnerability typically found in Web applications. XSS enables attackers to.
Electronic Commerce Semester 1 Term 1 Lecture 7. Introduction to the Web The Internet supports a variety of important tools, such as file transfer, electronic.
 AJAX technology  Rich User Experience  Characteristics  Real live examples  JavaScript and AJAX  Web application workflow model – synchronous vs.
INTRODUCING HYBRID APP KAU with MICT PARK IT COMPANIES Supported by KOICA
MICROSOFT AJAX CDN (CONTENT DELIVERY NETWORK) Make Your ASP.NET site faster to retrieve.
Ajax & Client-side Dynamic Web Gunwoo Park (Undergraduate)
1 Chapter 1 INTRODUCTION TO WEB. 2 Objectives In this chapter, you will: Become familiar with the architecture of the World Wide Web Learn about communication.
Web Programming Language
Distributed Control and Measurement via the Internet
ASP.NET AJAX – Basics Svetlin Nakov Telerik Corporation
WWW and HTTP King Fahd University of Petroleum & Minerals
Web Application.
CISC103 Web Development Basics: Web site:
CS 371 Web Application Programming
Understanding SOAP and REST calls The types of web service requests
REST- Representational State Transfer Enn Õunapuu
Web Software Model CS 4640 Programming Languages for Web Applications
CMPE 280 Web UI Design and Development October 26 Class Meeting
KnockoutJS -Pradeep Shet 31st August 2014.
AJAX.
PHP / MySQL Introduction
Top Reasons to Choose Angular. Angular is well known for developing robust and adaptable Single Page Applications (SPA). The Application structure is.
Rich single page applications with SharePoint
ASP.NET Module Subtitle.
Network Controllable MP3 Player
WPS - your story so far Seems incredible complicated, already
DR. JOHN ABRAHAM PROFESSOR UTPA
State Handling CS 4640 Programming Languages for Web Applications
Single Page Applications with jQuery or AngularJS
Top-Rated AngularJs Development Company in India
Web Software Model CS 4640 Programming Languages for Web Applications
State Handling CS 4640 Programming Languages for Web Applications
Running C# in the browser
Presentation transcript:

Vineel Vutukuri

What is SPA? Why SPA? Pros & Cons When to use SPA?

What is SPA? Single-Page Applications (SPA’s) are web apps that load a single HTML page and dynamically update that page as the user interacts with the app. In SPA data is separated from presentation, It often includes templating, Ajax, Routing.

Why SPA? Reach: You want to reach wide audience across many devices and in variety of browsers Rich User Experience: Supports rich interactions with multiple components on a page, and by keeping pages moving fluently because of client side navigation. Single page apps are distinguished by their ability to redraw any part of the UI without requiring a server roundtrip to retrieve HTML. Reduce Roundtrip: It makes less trips between the client and server and less post backs to the page.

Dis Advantages of SPA:  These are complex to develop when compared  Client must enable JavaScript, Single Page Application build with JavaScript, So JavaScript should be enabled in client browser  Download all the content at initial page load  SEO considerations:- Indexing the all pages

 Broken Back Button: Browser does not Store the state, Browser stores only URI  Cross-site scripting (XSS): Single Page Application is less secure because it enables attackers to inject client-side script into web pages

 Memory Leak: Memory leak in JavaScript cause system to slow down.  Scroll History Position:- The position of scroll bar changes when we navigate between the pages

 Analytics: We cannot keep track of page views, hits etc. These should be handled with extra script triggered by app router

 Error Tracking: It is difficult to keep track of errors while using SPA.

Advantages of SPA:  Ability to go offline  Application like Interactions.  Fluid transitions between states. Richer Interaction between Ui components  Data Transfer is less (Only XHR requests).  Queries are lesser than traditional web pages.  Less load on server, Load is distributed to clients. Network latency is drastically reduced  Transition between the views is quicker.

When to use SPA?  SPA is a lean server, fat client app  SPA are not recommended for highly secure applications like banking, because when you depend on client, HTTP protocol can be easily manipulated.  SPA are recommended mainly for simpler workflow and where the usability, visualization plays a key role than security.

Architecture Of SPA:

Frameworks which can be used to build SPA:-  Backbone.js  Ember.js  Angular.js  Knockout.js  Angular.js Few SPA   