using xml for business and life may 2006 david rr webber [email protected] technology and standards in...

23
Using XML for Business and Life May 2006 David RR Webber [email protected] Technology and Standards in Higher Education

Upload: collin-ferguson

Post on 16-Jan-2016

214 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Using XML for Business and Life May 2006 David RR Webber david@drrw.net Technology and Standards in Higher Education

Using XML for Business and Life

May 2006

David RR Webber

[email protected]

Technology and Standards in Higher Education

Page 2: Using XML for Business and Life May 2006 David RR Webber david@drrw.net Technology and Standards in Higher Education

2

Envisioning Statement

Since its inception in 1998 XML has entered into every aspect of computing today

XML is not just about data, its about process and control too

Challenge: Understanding how you can leverage the tools that XML provides to enable better education services:

Collaboration

Information collection and presentation

Service coordination and delivery

Just what tools are out there and where is XML headed next?

Page 3: Using XML for Business and Life May 2006 David RR Webber david@drrw.net Technology and Standards in Higher Education

3

Popular Tools that can be XML driven

News Reader services such as Reuters, Bloomberg and BLOGS

Multimedia tools such as Flash and RealPlayer

Internet Explorer and web forms

Adobe PDF

Microsoft Office – Word, PowerPoint and Excel

Open Office Suite

Oracle database

IVR systems – VoiceXML

Groove and Collaboration – the new Office 12

Page 4: Using XML for Business and Life May 2006 David RR Webber david@drrw.net Technology and Standards in Higher Education

4

XML – technology instant primer!

<example>

<unit_title>Quick Primer on XML</unit_title>

<date>May-01-2006</date>

<author>David RR Webber</author>

<URL>http://drrw.net/great-school/main.html</URL>

<Process> <!-- example script items -->

<step ID=“my-1” time=“1” unit=“minute”/>

<step ID=“my-2” time=“3” unit=“minute”/>

<step ID=“my-3” time=“5” unit=“minute”/>

<step ID=“my-4” time=“2” unit=“minute”/>

</Process>

</example>

Page 5: Using XML for Business and Life May 2006 David RR Webber david@drrw.net Technology and Standards in Higher Education

5

Agenda

• Workflow we’d like to have• Internet technology and XML solution

Collaboration

Information Integration

• Information Alignment• Forms, Scripting and Rules• Sharing tools / Registry

Multimedia

Summary

• Presentation tools• VoiceXML and more

Page 6: Using XML for Business and Life May 2006 David RR Webber david@drrw.net Technology and Standards in Higher Education

Collaboration

Creating Open Simple Solutions

Page 7: Using XML for Business and Life May 2006 David RR Webber david@drrw.net Technology and Standards in Higher Education

7

Collaboration – The Internet Today

MySpace

Blogs (e.g. blogger.com from Google)

MailServers – communities, action groups, help centers

News feeds and aggregation services

IM – chat areas

Integrated with wireless phone / PDA

Multimedia and Photo sites

Who do educators use these tools too?

Can we have workflow and control across these spaces?

Page 8: Using XML for Business and Life May 2006 David RR Webber david@drrw.net Technology and Standards in Higher Education

8

RSS (Really Simple Syndication)

How does XML enter the picture?

What about blogging tools – edits, web, email, admin?

How about desktop tools like MS Word?

How tough is this to do?

Demonstration – from Blog to RSS syndication server – to HTML resource page –

http://drrw.net/great-school/main.html

Blog

Pages

RSS

feed

XMLxhtml

html

script

Web

page

Page 9: Using XML for Business and Life May 2006 David RR Webber david@drrw.net Technology and Standards in Higher Education

9

Simple Example Tools

Blogger.comRSS

content

atom XML

Templates for

Pages and Postings

html

script

Web

page

RSS

Feed

processor

Your web site

Free RSS server

Page 10: Using XML for Business and Life May 2006 David RR Webber david@drrw.net Technology and Standards in Higher Education

Multimedia

Using Web Browser

Based Scripting tools

Page 11: Using XML for Business and Life May 2006 David RR Webber david@drrw.net Technology and Standards in Higher Education

11

Combining Photo Site + Text

How do you create educational content and learning experience?

Plenty of free photo systems – how can we make them smarter?

Microsoft Web Browser supports DHTML and SMIL XML multimedia syntax

Result = We can drive the browser from script

Example - http://visualscripts.net/SMIL/Somerset-Pics.html

Page 12: Using XML for Business and Life May 2006 David RR Webber david@drrw.net Technology and Standards in Higher Education

12

VoiceXML 1-800-TELL-ME and other IVC (interactive voice control)

systems

Disabled students

Interactive menuing services

W3C work - http://www.w3.org/Voice/

Open source tools available

http://www.vxml.org/

<?xml version="1.0" encoding="UTF-8"?><vxml version = "2.1" > <form>    <block>    <prompt>      Hello World. This is my first telephone application.    </prompt>    </block>  </form></vxml>

Page 13: Using XML for Business and Life May 2006 David RR Webber david@drrw.net Technology and Standards in Higher Education

InformationIntegration

Scripting for Business Rules

Page 14: Using XML for Business and Life May 2006 David RR Webber david@drrw.net Technology and Standards in Higher Education

14

Versioning Challenges

If the schema version changes – how to ensure it does not break our in place validations?

How to rapidly adapt to rule changes in a production environment?

How to develop user context driven deep version control and re-use of sub-components?

Enhance and automate Test release cycle by improving transparency for CQ process and expose change deltas to speed testing process?

XML can help!

http://www.oasis-open.org/committees/cam

Page 15: Using XML for Business and Life May 2006 David RR Webber david@drrw.net Technology and Standards in Higher Education

15

Core Functional Needs

Structure Validation

Content Semantics

Business Rules

Database Persistence

Transformation services

Registry terms dictionary

Context / Role aware processing

Page 16: Using XML for Business and Life May 2006 David RR Webber david@drrw.net Technology and Standards in Higher Education

16

Grants Application Example

XML content

XSD schemafrom Grants.gov

2

DynamicStructure rules

Structure sub-form componentswith includes allows re-use

1

RR SF424SBIR STTRPHS398RR BudgetRR Submitter Profile

BusinessValidationrules

ErrorResponseformatting

Data PersistenceRules

3

Message Delivery to Agency System

CAM processOracle RDBMS

SQL tables

ResearcherPrepares GrantApplication and submits XMLto Grants.gov

Agency develops CAM template of validations rules and business content handlingGovernment form

definitions from Grants.gov

Page 17: Using XML for Business and Life May 2006 David RR Webber david@drrw.net Technology and Standards in Higher Education

17

ContentAssemblyTemplate

CAM template components

XMLinstance

structure(s)

Business context rules

+Content Reference rules

+Data Validation rules

+External Mapping rules

Logical business transaction can have more than one structure variation

can add inline rules directly into structure

makeOptional()excludeTree()

item type="noun" name="Agency/@AgencyID" UIDReference="ukt000910"

<conditional expression="'//SupplierID' and lookup(value,'SGIRWSDL:supplierID_check')"

<MapRule output="type" input="Sales/Company/Year/Qtr/Product@type"/>

Simple Declarative Statements

template

1

2

3

4

Page 18: Using XML for Business and Life May 2006 David RR Webber david@drrw.net Technology and Standards in Higher Education

18

CAM Component Architecture

CAMCAMCAMCAM

XML ParserXML Parser/ DOM/ DOM

XML ParserXML Parser/ DOM/ DOM

Built-in Built-in FunctionsFunctionsBuilt-in Built-in

FunctionsFunctions

XPathXPathhandlerhandlerXPathXPath

handlerhandler

SQL SQL persistencepersistence

SQL SQL persistencepersistence TermsTerms

RegistryRegistryTermsTerms

RegistryRegistryRule EngineRule EngineRule EngineRule Engine Post-Post-ProcessingProcessing

/ Errors/ Errors

Post-Post-ProcessingProcessing

/ Errors/ Errors

XML-awareXML-awareXML-awareXML-aware

Page 19: Using XML for Business and Life May 2006 David RR Webber david@drrw.net Technology and Standards in Higher Education

19

jCAM validation template samples

Simple template checking structure

Extended template with context rule examples

Message data persistence to SQL

SimpleSimpleTemplateTemplateSimpleSimple

TemplateTemplate

ExtendedExtendedTemplateTemplateExtendedExtendedTemplateTemplate

SQL DBSQL DBSQL DBSQL DB

Page 20: Using XML for Business and Life May 2006 David RR Webber david@drrw.net Technology and Standards in Higher Education

20

XML-driven solution

Dynamic structure analysis and validation

Ability to change XML script with rules and test then deploy

Deep versioning thru structure components

CQ and Test process expedited thru transparency of scripting syntax

Combining four components – CAM, Rules Engine, XSLT, JDBC data persistence

Page 21: Using XML for Business and Life May 2006 David RR Webber david@drrw.net Technology and Standards in Higher Education

Summary

Quick Review

Page 22: Using XML for Business and Life May 2006 David RR Webber david@drrw.net Technology and Standards in Higher Education

22

Quick Review

RSS and uses for collaboration sites – Events Calendar, Work Lists, Meeting notes, FAQ, status reporting…

Multimedia – SMIL, VoiceXML

Information Integration – Rules scripting – OASIS CAM, ebXML Registry

Page 23: Using XML for Business and Life May 2006 David RR Webber david@drrw.net Technology and Standards in Higher Education

Q & A

Discussion