Escwa sdmx workshop
This presentation is the property of its rightful owner.
Sponsored Links
1 / 16

ESCWA SDMX Workshop PowerPoint PPT Presentation


  • 75 Views
  • Uploaded on
  • Presentation posted in: General

ESCWA SDMX Workshop. Session: SDMX and a Re-usable Component Architecture. Goals. Language Independent Architecture High Cohesion Loose Coupling Program to Interfaces – Not Implementations. SDMX-ML is for EXCHANGE between systems The SDMX Information Model is where the power is.

Download Presentation

ESCWA SDMX Workshop

An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -

Presentation Transcript


Escwa sdmx workshop

ESCWA SDMX Workshop

Session: SDMX and a Re-usable Component Architecture


Goals

Goals

Language Independent Architecture

High Cohesion

Loose Coupling

Program to Interfaces – Not Implementations


Use the model

SDMX-ML is for EXCHANGE between systems

The SDMX Information Model is where the power is

Use the Model


Finding the common model

Finding the Common Model


What is data

What is Data?

Results of Measurements

Country: UK

Unemployed: 13million

Year: 2010

Country: Australia

State : Perth

Coastline (Km): 12500

Country: France

Unemployed: 5million

Year: 1982


Modelling data

Modelling Data

Country : UK

Type : Real

Basket : Narrow

Country : UK

Basket : Narrow

Time Period : 2000-01

KEY

Time Period : 1999-10

Value : 106.34

Time Period : 2001-02

Value : 101.73

Values

Type : Real

Value : 107.8

Type : Nominal

Value : 104.8


Simple data transformation model

Simple Data Transformation Model

Compact

2.0 To 2.1

Transformation

Compact

2.0

“Compact”

2.1

“Compact”

2.1 To 2.0

Transformation


Simple data transformation model1

Simple Data Transformation Model

Compact

1.0

Generic

1.0

Utility

1.0

Compact

2.0

Generic

2.0

Utility

2.0

Structure

Specific

2.1

Generic

2.1

EDI

CSV

???


Decoupled data transformation model

Decoupled Data Transformation Model

Read Key

Read Observation

Write Key

Write Observation

Compact

Compact

Generic

Generic

EDI

EDI

Data Reader

Interface

Data Writer

Interface


Summary so far

Summary so far

Good design protects software from change

Finding a common model means everything can be reused


Break down the problem creating sub systems

Break Down The ProblemCreating Sub-Systems


Make a generic solution

Make a Generic Solution

Each aspect of a system can be broken down into a

sub-system

Each sub-system has a specific responsibility


Break down the problem

Break down the Problem

SDMX breaks down nicely into sub systems

Generating a Data Query

Data Transformation

Data Reading

Data Validation

Structure Validation

Data Writing

Structure Transformation

Consuming a Structure Query

Generating a Structure Query

Querying a File

Consuming a Data Query

Calling a Web Service with a Structure Query


Interfaces can be reused

Interfaces can be reused

BeanRetrievalManager

File Retrieval

In Memory Retrieval

Web Service Retrieval


Escwa sdmx workshop 1364152

Implementing a Web Service for Data

User

Data QueryWeb Service

Request Format?

Response Format?

Database Administrator

Database


Escwa sdmx workshop 1364152

Implementing a Web Service for Data

Data Parser

Data Query Engine

???

SDMX Query

User

Data QueryWeb Service

  • Consumes SDMX query, and gets parser to create bean

  • Passes Query to Database layer, along with Data Writer

Build Data Query Bean From Any version of SDMX Query

Data Writer

What Implements Data Writer?

A powerful concept of passing an interface with useful methods such as :

startSeries(…),

addObservation(…)

addAttribute(…)

Internally the DataWriter wraps an output stream, and writes SDMX straight to the output stream.

Generic Data Writer

Compact Data Writer

Utility Data Writer

EDI Data Writer

Database


  • Login