Thin Server Architecture SPA, 5 years old presentation

32
DHBW-Mannheim, David Amend The future of the web with the Thin-Server-Architecture David Amend Server Code Client

description

5 years old. Single Page Application

Transcript of Thin Server Architecture SPA, 5 years old presentation

Page 1: Thin Server Architecture SPA, 5 years old presentation

DHBW-Mannheim, David Amend

The future of the web withthe Thin-Server-Architecture

David Amend

Server Code Client

Page 2: Thin Server Architecture SPA, 5 years old presentation

DHBW-Mannheim, David Amend

Agenda

History of Web-Technologies Analysis of Web-Architectures The Thin-Server-Architecture Advantages of TSA-webapps Example and Trends Discussion and Questions

Page 3: Thin Server Architecture SPA, 5 years old presentation

DHBW-Mannheim, David Amend

Before the web was born

Before

desktop-applications with techniques and known patterns

like MVC since 1979

12 years later

The web was born

→ Need to invent totally new conceptsor

is it reinventing the wheel?

Page 4: Thin Server Architecture SPA, 5 years old presentation

DHBW-Mannheim, David Amend

History of Web-Technologies

Page 5: Thin Server Architecture SPA, 5 years old presentation

DHBW-Mannheim, David Amend

Rich-Internet-Applications

Page 6: Thin Server Architecture SPA, 5 years old presentation

DHBW-Mannheim, David Amend

The MVC-Pattern

Page 7: Thin Server Architecture SPA, 5 years old presentation

DHBW-Mannheim, David Amend

Model-2 Architecture

Page 8: Thin Server Architecture SPA, 5 years old presentation

DHBW-Mannheim, David Amend

Mixed-Model-2 Architecture

Page 9: Thin Server Architecture SPA, 5 years old presentation

DHBW-Mannheim, David Amend

Mix of Server-Client-Code

Page 10: Thin Server Architecture SPA, 5 years old presentation

DHBW-Mannheim, David Amend

Code on Client and Server

Page 11: Thin Server Architecture SPA, 5 years old presentation

DHBW-Mannheim, David Amend

The Thin-Server-Architecture

Page 12: Thin Server Architecture SPA, 5 years old presentation

DHBW-Mannheim, David Amend

WYSIWYG-Code and Clean Separation

Page 13: Thin Server Architecture SPA, 5 years old presentation

DHBW-Mannheim, David Amend

Static Content is Cacheable

Page 14: Thin Server Architecture SPA, 5 years old presentation

DHBW-Mannheim, David Amend

Possible Team-roles

Page 15: Thin Server Architecture SPA, 5 years old presentation

DHBW-Mannheim, David Amend

Scalability and Stateless

Page 16: Thin Server Architecture SPA, 5 years old presentation

DHBW-Mannheim, David Amend

Todays Infrastructure-Process

SELECT * FROM studentsRelational-Storage

Class Student{ int grade; getGrade{..} setGrade(int grade){...}

Object-Oriented-Mapping

<h1>Olaf</h1>Single-String

Server

DB

Client

Parsing

Parsing

Page 17: Thin Server Architecture SPA, 5 years old presentation

DHBW-Mannheim, David Amend

TSA = SOA-Front-End-Architecture = Loose coupling

Page 18: Thin Server Architecture SPA, 5 years old presentation

DHBW-Mannheim, David Amend

Vision:Web-Oriented-Infrastructure

Page 19: Thin Server Architecture SPA, 5 years old presentation

DHBW-Mannheim, David Amend

A possible future? Google: GoogleWebToolkit, Gmail,

GoogleDocs, JavaScript-APIs, … Apple: Appstore switched to Sproudcore-MVC Clientcentric Standards: HTML-5

(Multimedia, Offline-Database, Synchronizing, WebSockets,...), CSS-3, ECMA-Script-5

Page 20: Thin Server Architecture SPA, 5 years old presentation

DHBW-Mannheim, David Amend

A possible future? Google: GoogleWebToolkit, Gmail,

GoogleDocs, JavaScript-APIs, … Apple: Appstore switched to Sproudcore-MVC Clientcentric Standards: HTML-5

(Multimedia, Offline-Database, Synchronizing, WebSockets,...), CSS-3, ECMA-Script-5

The future of web-applications?

Page 21: Thin Server Architecture SPA, 5 years old presentation

DHBW-Mannheim, David Amend

A possible future? Google: GoogleWebToolkit, Gmail,

GoogleDocs, JavaScript-APIs, … Apple: Appstore switched to Sproudcore-MVC Clientcentric Standards: HTML-5

(Multimedia, Offline-Database, Synchronizing, WebSockets,...), CSS-3, ECMA-Script-5

The future of web-applications?→ What do you think?

Page 22: Thin Server Architecture SPA, 5 years old presentation

DHBW-Mannheim, David Amend

Discussion

Server Code Client

Thank you for your attention!

Questions?

Page 23: Thin Server Architecture SPA, 5 years old presentation

DHBW-Mannheim, David Amend

MVC-architecture pattern via JavaScript Ajax and DOM functionality via jQuery No server needed for development Java-JavaScript-Interpreter: Rhino Testing: browser based, command line,

browser driver

Page 24: Thin Server Architecture SPA, 5 years old presentation

DHBW-Mannheim, David Amend

Web-Infrastructure Challenge

Page 25: Thin Server Architecture SPA, 5 years old presentation

DHBW-Mannheim, David Amend

Summary

Advantages of Rich-Internet-Applications Limits of web framework architecture Possibility and advantages of building

clientcentric apps Companies already invest in RIA-technologies The future?

Server Code Client

Page 26: Thin Server Architecture SPA, 5 years old presentation

DHBW-Mannheim, David Amend

Intelligent clients = more possiblities

Page 27: Thin Server Architecture SPA, 5 years old presentation

DHBW-Mannheim, David Amend

JSONQuery/JSONPath JSON Referencing Comet Live Data Notifications JSON Schema with evolutionary constraints JSON-RPC Built-in Security Standards based REST interface

Page 28: Thin Server Architecture SPA, 5 years old presentation

DHBW-Mannheim, David Amend

REST

It´s an architectural style Not a format or API

The web has leveraged REST Can/should be used for web services One interface for all applications Manipulation of ressources over URL:

GET, POST, PUT, DELETE

Page 29: Thin Server Architecture SPA, 5 years old presentation

DHBW-Mannheim, David Amend

Discussion

E-Mail:

[email protected]

Page 30: Thin Server Architecture SPA, 5 years old presentation

DHBW-Mannheim, David Amend

High Server Load

Page 31: Thin Server Architecture SPA, 5 years old presentation

DHBW-Mannheim, David Amend

Heavy State- and Session-Management

Page 32: Thin Server Architecture SPA, 5 years old presentation

DHBW-Mannheim, David Amend

Web-Oriented-Architecture