front-end architecture for cloud applications and polymer

16
Front-end architecture for Cloud Applications and Polymer Feb 2017 Rick Jang

Upload: uengine-solutions

Post on 21-Feb-2017

60 views

Category:

Software


0 download

TRANSCRIPT

Page 1: Front-end architecture for cloud applications and Polymer

Front-end architecture for Cloud Applications and

PolymerFeb 2017

Rick Jang

Page 2: Front-end architecture for cloud applications and Polymer

Concurrent Web Usability

One Page N-ScreenResponsive

DynamicReal-time

Page 3: Front-end architecture for cloud applications and Polymer

Writing One Page Web AppProblems: One Page Web App Low Cohesion and High Coupling

<style> style for A style for B style for C</style>

<html> element for A element for B element for C</html>

<script> script for A script for B script for C</script>

Page 4: Front-end architecture for cloud applications and Polymer

Polymer: Web Component FrameworkPolymer: W3C standard for Web Components

• Provides Cohesive Component Model• Component Composition by HTML markup• Dynamic Data Binding• Responsive Web by Material Design• Standard

• Google maintains it

Page 5: Front-end architecture for cloud applications and Polymer

Polymer: Web Component FrameworkPolymer: W3C standard for Web Components

<style> style for A style for B style for C</style>

<html> element for A element for B element for C</html>

<script> script for A script for B script for C</script>

#A.html<style> style for A</style>

<html> element for A</html>

<script> script for A</script>

#B.html<style> style for B</style>

<html> element for B</html>

<script> script for B</script>

#C.html<style> style for C</style>

<html> element for C</html>

<script> script for C</script>

#index.html<A><B><C>

Page 6: Front-end architecture for cloud applications and Polymer

Polymer: Web Component FrameworkMicro-service mashup tool and framework in visual way

Page 7: Front-end architecture for cloud applications and Polymer

Polymer: Web Component FrameworkPolymer

Demo

Page 8: Front-end architecture for cloud applications and Polymer

Web Component FrameworkConclusion - Why Web Components (Polymer) ?

1. Standard 2. Tons of components developers contributed out there3. Provides nice design tool. 4. Compatible with existing web and AngularJS too.

5. Beautiful and Google hosts it.

Page 9: Front-end architecture for cloud applications and Polymer

Role of Front-endSeparation of UI and Logic - General Monolithic Architecture

Front-end

Back-end(Java)

DB File System (S3)

Page 10: Front-end architecture for cloud applications and Polymer

Front-end

Image Server(Python)

Business Logic Server(Java)

Extended Role of Front-end in Cloud ApplicationsAggregator for multiple (polyglot programmed) micro-services

Component Service

(C)

AJAX, RESTful

Concurrent Cloud Applications are composed of multiple Micro Services and front-end serves as an aggregator of the services

Page 11: Front-end architecture for cloud applications and Polymer

Extended topic - API Gateway

(Human)Front-end

ServiceService

API G/W

Service

Service

We need API Gateway for aggregating, forwarding services and exposing composite APIs

Tenant-Specific Routing

(Machine)Third-party Apps

Page 12: Front-end architecture for cloud applications and Polymer

Extended topic - Billing

(Human)Front-end

ServiceService

API G/W

Service

Service

We need API Gateway for aggregating, forwarding services and exposing composite APIs

Tenant-Specific Billing

(Machine)Third-party Apps

Billing

Page 13: Front-end architecture for cloud applications and Polymer

Extended topic – IAM

(Human)Front-end

ServiceService

API G/W

Service

Service

Stateless 인증 , 통합빌링을 위한 IAM

Tenant-Specific Billing

(Machine)Third-party Apps

BillingIAM token provider

Page 14: Front-end architecture for cloud applications and Polymer

OCE Software for Cloud Front-end

• Polymer-Java Mapping UI Framework• IAM Server based on OAuth 2.0• API Gateway APIGee, Kong

• uEngine Billing (killbill based)

Page 15: Front-end architecture for cloud applications and Polymer

Polymer-Java Mapping - MetaworksMetaworks: Polymer-Java Mapping by OCE