Single Page Architecture (SPA)

Slides:



Advertisements
Similar presentations
PHP and CSS to control web apps styles. CSS is used to style today’s web applications.
Advertisements

MSc. Publishing on WWW JavaScript. What is JavaScript? A scripting language devised by Netscape Adds functionality to web pages by: Embedding code into.
IS 360 Course Introduction. Slide 2 What you will Learn (1) The role of Web servers and clients How to create HTML, XHTML, and HTML 5 pages suitable for.
Putting the Network to Work
Development of mobile applications using PhoneGap and HTML 5
©2012 Microsoft Corporation. All rights reserved. Content based on SharePoint 2013 Technical Preview and published July Introducing.
WebMatrix 2 /* web with benefits */. Everything You Need Start create new from OSS apps or templates, or start with existing sites hosted remotely or.
Architecture Of ASP.NET. What is ASP?  Server-side scripting technology.  Files containing HTML and scripting code.  Access via HTTP requests.  Scripting.
Jquery Nasrullah. Jquery jQuery is a JavaScript Library. jQuery greatly simplifies JavaScript programming. jQuery is easy to learn.
INTRODUCTION TO WEB APPLICATION Chapter 1. In this chapter, you will learn about:  The evolution of the Internet  The beginning of the World Wide Web,
Unit 13 –JQuery Basics Instructor: Brent Presley.
The basics of knowing the difference CLIENT VS. SERVER.
Introduction to JavaScript MIS 3502, Spring 2016 Jeremy Shafer Department of MIS Fox School of Business Temple University 2/2/2016.
IN THIS LESSON WE WILL REVIEW THE STRUCTURE OF THE INTERNET AND HOW BROWSERS ASSEMBLE WEBSITES BASED ON INSTRUCTIONS THEY RECEIVE FROM SERVERS. Internet.
INTRODUCING HYBRID APP KAU with MICT PARK IT COMPANIES Supported by KOICA
Basics Components of Web Design & Development Basics, Components, Design and Development.
Introduction to JavaScript MIS 3502, Fall 2016 Jeremy Shafer Department of MIS Fox School of Business Temple University 9/29/2016.
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 Development. Agenda Web History Network Architecture Types of Server The languages of the web Protocols API 2.
Dive into web development
JQuery Fundamentals Introduction Tutorial Videos
Class03 Introduction to Web Development (Hierarchy and the IDE)
The Object-Oriented Thought Process Chapter 13
JavaScript/ App Lab Programming:
 2001 Prentice Hall, Inc. All rights reserved.
Using JavaScript to Show an Alert
Introduction to Web Development (Part 2)
PHP: includes MIS 3501 Jeremy Shafer Department of MIS
jQuery – Form Validation
JavaScript is a language that is used on any website to add tags, improve the function of the website and allow users to interact. When the development.
AJAX.
Week 01 Comp 7780 – Class Overview.
Introduction to AJAX MIS 3502 Jeremy Shafer Department of MIS
Introduction to JavaScript
Dynamic Web Pages JavaScript Jill Thomas Oct 14, 2003.
Introduction to AJAX MIS 3502 Jeremy Shafer Department of MIS
MEAN stack L. Grewe.
IS 360 Course Introduction
A second look at JavaScript
Getting started with jQuery
Organize your code with MVC
JQuery with ASP.NET.
Secure Web Programming
Form Validation, Part 2 (with jQuery, HTML5, and CSS)
JavaScript and the DOM MIS 2402 Jeremy Shafer Department of MIS
Numbers, strings and dates in JavaScript
MIS JavaScript and API Workshop (Part 3)
Introduction to AJAX and JSON
An Introduction to Animation
MIS JavaScript and API Workshop (Part 2)
Programming Control Structures with JavaScript Part 2
Getting started with jQuery
Course Introduction MIS 2402 Jeremy Shafer Department of MIS
An introduction to jQuery
JavaScript objects, functions, and events
Introduction to JavaScript
An introduction to jQuery
Introduction to MIS3502 MIS 3502 Jeremy Shafer Department of MIS
ASP.NET Imran Rashid CTO at ManiWeber Technologies.
Introduction to MIS2402 MIS MIS2402 Jeremy Shafer Department of MIS
HTML and CSS Basics.
Getting started with jQuery
Web Technologies Computing Science Thompson Rivers University
An introduction to jQuery
Introduction to AJAX and JSON
Ajax and JSON Jeremy Shafer Department of MIS Fox School of Business
HTML MIS 2402 Jeremy Shafer Department of MIS Fox School of Business
Ajax and JSON Jeremy Shafer Department of MIS Fox School of Business
MOBILE PROGRAMMING Meriska Defriani, S.Komp, M.Kom Introduction
Running C# in the browser
Presentation transcript:

Single Page Architecture (SPA) MIS 2402 Jeremy Shafer Department of MIS Fox School of Business Temple University

Agenda Define what a Single Page Architecture is. Why SPA applications are rising in prominence. Introduce some jQuery commands we’ll use next time

What’s a SPA? A SPA application is designed so that all user interactions are driven through one, single, page … usually index.html. While a SPA application may have one page that dominates the user’s attention, that single page usually references many other supporting resources. Supporting Resource More supporting resources! A good way to think about SPA applications: the goal is to get is much data and functionality delivered to the user in the initial page load as possible. Once that’s done, keep all other interactions with the network as light as possible.

A little (simplified) history 1950-1980 1981-2000 2001-2005 2006-present Many CPUs, connected by a ubiquitous, wireless, high speed internet connection. Each application leverages multiple resources in “the cloud.” Client and server, with a broadband internet connection. (“Hot” languages – PHP, ASP.Net, JSP, etc.) One big shared CPU and a lot of dumb terminals. (“Hot” languages – COBOL, Fortran.) Now anyone can have their own CPU! (“Hot” languages – Basic, C.) (“Hot” languages – JavaScript for the client, Node.js for the cloud.)

The role of JavaScript in Web Applications 1995 (approx.) (Present!) 90% 50% 100% 10% ? Initial download 10% 50% 0% 90% ? Google Docs and similar feature-rich applications make full use of the JavaScript language! Client doesn’t use any logic at all. Every web request causes the page to be completely reloaded. (A “round trip”.) Hey! This JavaScript stuff might be good for some things. JavaScript, HTML and CSS can be bundled into a mobile application. How much network interaction you need depends on the application’s features. See: http://blog.venturepact.com/8-high-performance-apps-you-never-knew-were-hybrid/

Where we are headed … (No.) (Yes!) In this course we won’t be developing hybrid mobile apps, but we’ll get close to it. 10% ? Initial download from the class server. 50% ? Initial download 90% ? 50% ? (No.) (Yes!) Publishing to an App Store can get complicated! Similar thought process to mobile development, but easier to build.

What we’ll need for next time … In a previous class, we saw the jQuery operator .next() To get a little more control over the appearance and behavior of our user interface we’ll use a similar method called .parent() As a convenience, we’ll expand our knowledge of CSS selectors just a tiny bit, and we’ll also add the new jQuery methods .show(), .hide(), and .focus() But the biggest thing we should add is… this The reserved word “this” is a way to reference the object that triggered an event.

Today, we are going to stop and examine each one of these pieces Today, we are going to stop and examine each one of these pieces. See pieces.zip Then, when we meet next as a class, we’ll assemble them to make a simple application.