MashZone Dynamic data sources

Slides:



Advertisements
Similar presentations
Fundamentals, Design, and Implementation, 9/e Chapter 11 Managing Databases with SQL Server 2000.
Advertisements

Chapter 14: Advanced Topics: DBMS, SQL, and ASP.NET
Chapter 7 Managing Data Sources. ASP.NET 2.0, Third Edition2.
Overview What is SQL Server? Creating databases Administration Security Backup.
MySql In Action Step by step method to create your own database.
8 Copyright © 2004, Oracle. All rights reserved. Creating LOVs and Editors.
Application Development Description and exemplification of server-side scripting language for server connection, database selection, execution of SQL queries.
What is MySQL? MySQL is a database. The data in MySQL is stored in database objects called tables. A table is a collections of related data entries and.
Programming with Microsoft Visual Basic 2012 Chapter 13: Working with Access Databases and LINQ.
1 PHP and MySQL. 2 Topics  Querying Data with PHP  User-Driven Querying  Writing Data with PHP and MySQL PHP and MySQL.
_______________________________________________________________________________________________________________ PHP Bible, 2 nd Edition1  Wiley and the.
Web Server Administration Chapter 7 Installing and Testing a Programming Environment.
15/10/20151 PHP & MySQL 'Slide materials are based on W3Schools PHP tutorial, 'PHP website 'MySQL website.
PHP MySQL Introduction. MySQL is the most popular open-source database system. What is MySQL? MySQL is a database. The data in MySQL is stored in database.
1 Copyright © 2004, Oracle. All rights reserved. Introduction.
Introduction to the new mainframe © Copyright IBM Corp., All rights reserved. Chapter 12 Understanding database managers on z/OS.
Damian Tamayo Tutorial DTM Data Generator Fall 2008 CIS 764.
JDeveloper 10g and Oracle ADF Business Components Getting the Most Out of Your Data Avrom Roy-Faderman Senior Programmer November, 2005.
PHP Form Introduction Getting User Information Text Input.
Trapping Oracle Server Exceptions. 2 home back first prev next last What Will I Learn? Describe and provide an example of an error defined by the Oracle.
Using SQL Connecting, Retrieving Data, Executing SQL Commands, … Svetlin Nakov Technical Trainer Software University
Chapter 9: Advanced SQL and PL/SQL Guide to Oracle 10g.
Web Scripting [PHP] CIS166AE Wednesdays 6:00pm – 9:50pm Rob Loy.
BlackBerry Applications using Microsoft Visual Studio and Database Handling.
Introduction to Explicit Cursors. 2 home back first prev next last What Will I Learn? Distinguish between an implicit and an explicit cursor Describe.
WebDev Essential Skills BCIS 3680 Enterprise Programming.
Working with Columns, Characters, and Rows. 2 home back first prev next last What Will I Learn? In this lesson, you will learn to: –Apply the concatenation.
Simple Queries DBS301 – Week 1. Objectives Basic SELECT statement Computed columns Aliases Concatenation operator Use of DISTINCT to eliminate duplicates.
5 Copyright © 2008, Oracle. All rights reserved. Testing and Validating a Repository.
Chapter 9 Working with Databases. Copyright © 2011 Pearson Addison-Wesley Introduction In this chapter you will learn: – Basic database concepts – How.
SQL Basics Review Reviewing what we’ve learned so far…….
Assignment Help - BookMyEssay. What is Oracle? Oracle was developed in 1977 by Lawrence Ellison. Data can be directly accessed by the users through Structured.
SQL (Structured Query Language)
SELECT, IMPLEMENT & USE TODAY’S ADVANCED BUSINESS SYSTEMS
Microsoft Visual Basic 2010: Reloaded Fourth Edition
SQL – Python and Databases
Database Design Fundamentals
CS320 Web and Internet Programming SQL and MySQL
Client/Server Databases and the Oracle 10g Relational Database
Practical Office 2007 Chapter 10
Creating LOVs and Editors
The Relational Model and Database Normalization
 2012 Pearson Education, Inc. All rights reserved.
Server-Side Application and Data Management IT IS 3105 (FALL 2009)
Microsoft Access 2013 Design and Create Tables to Store Data
Manipulating Data.
Error Handling Summary of the next few pages: Error Handling Cursors.
Translation of ER-diagram into Relational Schema
Using SQL*Plus.
ORACLE SQL Developer & SQLPLUS Statements
ISC440: Web Programming 2 Server-side Scripting PHP 3
PHP and MySQL.
Advanced SQL: Views & Triggers
Structured Query Language
Creating Tables & Inserting Values Using SQL
Manipulating Data.
Creating Noninput Items
Microsoft Office Access 2003
Chapter 10 ADO.
Using CASE Value expression
Using SQL*Plus.
CS3220 Web and Internet Programming SQL and MySQL
Working With Databases
PROG Advanced Web Apps 4/13/2019 Programming Data Pages Wendi Jollymore, ACES.
Dynamic Sql Not so scary?
Chapter 11 Managing Databases with SQL Server 2000
CS3220 Web and Internet Programming SQL and MySQL
SQL – Application Persistence Design Patterns
SQL AUTO INCREMENT Field
Presentation transcript:

MashZone Dynamic data sources November 2010 Stephan Freudl

Motivation Even in Enterprise Edition MashZone can read 10,000 lines per data source, only. (Similar limitations after join/union operators.) Rationale for this is MashZone’s intention: MashZone is about dashboarding based on values aggregated previously Number crunching should be delegated to back ends This slides explain how to interact with back ends. Results of user interactions will be used to re-query a database. 28 November 2018 | Software AG - Get There Faster | 2 2

Overview Example is based on Oracle XE sample schema HR. ARIS Community explains how to activate it and hook up MashZone against. Today two tables are of interest Table Employees which lists employees’ names and a department number (foreign key) each employee is assigned to. Table Departments which consists of a unique department number (primary key) and departments names. Assuming there are many employees this sample used the department as a filter. List departments Use department’s name/number to query for employees assigned to it List employees filtered by department number Filtering is done outside MashZone, i.e. it is delegated to the database. Employee Name Dep. No Department 28 November 2018 | Software AG - Get There Faster | 3 3

List departments In the first step create an empty MashApp and a data feed to list all departments. select department_id, department_name from departments 28 November 2018 | Software AG - Get There Faster | 4

List departments Based on the two column data feed bind it to a selection box. The box contains in fact two columns Visible one with names Invisible column containing the department number Therefore after a box entry is selected two attributes are returned. 28 November 2018 | Software AG - Get There Faster | 5

Use department’s name/number Insert a label to echo user selections Data assignment of label Select Use selection option Select the widget to echo the selection from Select one of the two columns, i.e. attributes returned In a similar way the department number will be used to query for employees 28 November 2018 | Software AG - Get There Faster | 6

Use department’s name/number MashApp Data feed Database Pass down selection Fore ward variable Data feeds can hold single value variables User selections can be bound to variables – at runtime Variable values can be sent to data sources In this example the selected number will be used to compose a SQL statement at runtime 28 November 2018 | Software AG - Get There Faster | 7

List employees filtered by department number Use a table to list employees. The data feed behind it executes a query including a variable – department id: select first_name, last_name from employees where department_id = X Basically it’s a data source, text concatenation, number to string conversion and the user input on the far right hand side. 28 November 2018 | Software AG - Get There Faster | 8

List employees filtered by department number Data feeds including variables show them in data assignment mode below their columns 28 November 2018 | Software AG - Get There Faster | 9

List employees filtered by department number Binding user selections works almost like filtering Select the department list and the id is selected automatically (since the only one of type number) 28 November 2018 | Software AG - Get There Faster | 10

MashApp read to be imported Done Each box selection triggers another SQL query so filtering is handled by the back end. The entire sample works with RESTful web services, PPM and Optimize almost identically! MashApp read to be imported 28 November 2018 | Software AG - Get There Faster | 11

MashZone Dynamic data sources Thank you! MashZone Dynamic data sources