Integrating XML in Business Ken Spencer Vice President 32X Corporation www.32x.com6-311.

Slides:



Advertisements
Similar presentations
Svetlin Nakov Director Training and Consulting Activities National Academy for Software Development (NASD) ASP.NET 3.5 New Features.
Advertisements

Overview Environment for Internet database connectivity
Deploying Digital Dashboards Howard Crow Lead Product Manager Microsoft
Web Service Ahmed Gamal Ahmed Nile University Bioinformatics Group
PHP Hypertext Preprocessor Information Systems 337 Prof. Harry Plantinga.
INTRODUCTION TO ASP.NET MVC AND EXAMPLE WALKTHROUGH RAJAT ARYA EFECS - OIM DAWG – 4/21/2009 ASP.NET MVC.
Chapters 14 & 15 Internet Databases. E-Commerce  Bringing new products, services, or ideas to market, supporting and enhancing business operations 
LYU0101 Wireless Digital Library on PDA Lam Yee Gordon Yeung Kam Wah Supervisor Prof. Michael Lyu First semester FYP Presentation 2001~2002.
Session 13 Active Server Pages (ASP) Matakuliah: M0114/Web Based Programming Tahun: 2005 Versi: 5.
1 Chapter 12 Working With Access 2000 on the Internet.
Session 6 Server-side programming - ASP. An ASP page is an HTML page interspersed with server-side code. The.ASP extension instead of.HTM denotes server-side.
15 Chapter 15 Web Database Development Database Systems: Design, Implementation, and Management, Fifth Edition, Rob and Coronel.
B.Sc. Multimedia ComputingMedia Technologies Database Technologies.
28/1/2001 Seminar in Databases in the Internet Environment Introduction to J ava S erver P ages technology by Naomi Chen.
1 CS6320 – Why Servlets? L. Grewe 2 What is a Servlet? Servlets are Java programs that can be run dynamically from a Web Server Servlets are Java programs.
Chapter 14 Database Connectivity and Web Technologies
Charlie Crocker Vice President Farallon Geographics, Inc. An Overview of Internet Mapping Technology.
SQL Server 2000 and XML Erik Veerman Consultant Intellinet Business Intelligence.
Module 2: Using Transact-SQL Querying Tools. Overview SQL Query Analyzer Using the Object Browser Tool in SQL Query Analyzer Using Templates in SQL Query.
1 Web Database Processing. Web Database Applications Static Report Publishing a report is prepared from a database application and exported to HTML DB.
A Free sample background from © 2001 By Default!Slide 1.NET Overview BY: Pinkesh Desai.
DevCon 2000 Adam Cogan eXtensible Markup Language (XML)
A Scalable Application Architecture for composing News Portals on the Internet Serpil TOK, Zeki BAYRAM. Eastern MediterraneanUniversity Famagusta Famagusta.
AIT 616 Fall 2002 PHP. AIT 616 Fall 2002 PHP  Special scripting language used to dynamically generate web documents  Open source – Free!!!  Performs.
Databases and the Internet. Lecture Objectives Databases and the Internet Characteristics and Benefits of Internet Server-Side vs. Client-Side Special.
ASP.NET INTRODUCTION INTO وزارة التربية و التعليم العالي كلية العلوم و التكنولوجيا قسم علوم الحاسوب و تكنولوجيا المعلومات اعداد الاستاذ: عبد الله محمد.
4-1 INTERNET DATABASE CONNECTOR Colorado Technical University IT420 Tim Peterson.
Basics of Web Databases With the advent of Web database technology, Web pages are no longer static, but dynamic with connection to a back-end database.
SDPL 2002Notes 7: Apache Cocoon1 7 XML Web Site Architecture Example: Apache Cocoon, a Web publishing architecture based on XML technology
Server Side Programming ASP1 Server Side Programming Database Integration (cont.) Internet Systems Design.
XP New Perspectives on XML, 2 nd Edition Tutorial 10 1 WORKING WITH THE DOCUMENT OBJECT MODEL TUTORIAL 10.
COLD FUSION Deepak Sethi. What is it…. Cold fusion is a complete web application server mainly used for developing e-business applications. It allows.
Data File Access API : Under the Hood Simon Horwith CTO Etrilogy Ltd.
Fundamentals of Database Chapter 7 Database Technologies.
CS480 Computer Science Seminar Introduction to Microsoft Solutions Framework (MSF)
Using Visual Basic ® With The MSXML Parser Ken Spencer Vice President 32X Corporation
Tutorial 10 by Sam ine1020 Introduction to Internet Engineering 1 Database & Server-side Scripting Tutorial 10.
Presentation Topic: XML and ASP Presented by Yanzhi Zhang.
Putting it all together Dynamic Data Base Access Norman White Stern School of Business.
Active Server Pages and Application Service Providers Architecture for 2000 and beyond Krishen Kota Denali Technologies
Overview: 1. Discussion of the basic architecture of a web application. 2. Discussion of the relevance of using MySQL and PHP in a web application.
COM+ And CORBA Interop With XML-Based Web Services Jay Schmelzer Partner Clarity Consulting, Inc
1 © 1999 Microsoft Corp.. Microsoft Repository Phil Bernstein Microsoft Corp.
Chapter 27 The World Wide Web and XML. Copyright © 2004 Pearson Addison-Wesley. All rights reserved.27-2 Topics in this Chapter The Web and the Internet.
Chapter 11 Using SAS ® Web Report Studio. Section 11.1 Overview of SAS Web Report Studio.
ASP (Active Server Pages) by Bülent & Resul. Presentation Outline Introduction What is an ASP file? How does ASP work? What can ASP do? Differences Between.
ASP. What is ASP? ASP stands for Active Server Pages ASP is a Microsoft Technology ASP is a program that runs inside IIS IIS stands for Internet Information.
Building High Performance, Robust Server Applications with Internet Information Server 5.0 Van Van IIS - Program Manager Microsoft Corporation.
DAT300 SQL Server Notification Services: Application Development Ken Henderson Technical Lead, SQL Server Support Microsoft Corporation
August 2003 At A Glance The IRC is a platform independent, extensible, and adaptive framework that provides robust, interactive, and distributed control.
ASP. ASP is a powerful tool for making dynamic and interactive Web pages An ASP file can contain text, HTML tags and scripts. Scripts in an ASP file are.
ASP-2-1 SERVER AND CLIENT SIDE SCRITPING Colorado Technical University IT420 Tim Peterson.
7-1 Active Server and ADO Colorado Technical University IT420 Tim Peterson.
Copyright 2007, Information Builders. Slide 1 iWay Web Services and WebFOCUS Consumption Michael Florkowski Information Builders.
Generating XML Data from a Database Eugenia Fernandez IUPUI.
ASP Mr. Baha & Dr.Husam Osta  What is ASP?  Internet Information Services  How Does ASP Differ from HTML?  What can ASP do for you?  ASP Basic.
I Copyright © 2004, Oracle. All rights reserved. Introduction.
PHP is a server scripting language, and a powerful tool for making dynamic and interactive Web pages. PHP is a widely-used, free, and efficient alternative.
ASP – Web Programming Class  Ravi Anand. ASP – Active Server Pages What is ASP? - Microsoft Technology - Can Run using IIS/PWS/Others - Helps us create.
Introduction to JSP Liu Haibin 12/09/2018.
PHP / MySQL Introduction
Microsoft Office Illustrated
Prepared for Md. Zakir Hossain Lecturer, CSE, DUET Prepared by Miton Chandra Datta
ISC440: Web Programming 2 Server-side Scripting PHP 3
Lecture 1: Multi-tier Architecture Overview
Serpil TOK, Zeki BAYRAM. Eastern MediterraneanUniversity Famagusta
Introduction of Week 11 Return assignment 9-1 Collect assignment 10-1
Chapter 10 ADO.
WCF Data Services and Silverlight
Introduction to ASP.NET Parts 1 & 2
Presentation transcript:

Integrating XML in Business Ken Spencer Vice President 32X Corporation

Cross-Platform Interop Application Data Comm Windows DNA 2000Other Platforms Application Framework implementation Data Comm Core Standards Application Schemas Frameworks Platform/Tools Solutions and Applications Platform/Tools Solutions and Applications Framework implementation

Where is XML used? Sample XML Sample XML <Books><Book><Title_ID>BU1032</Title_ID> The Busy Executive's Database Guide The Busy Executive's Database Guide An overview of available database systems with emphasis on common business applications. Illustrated. An overview of available database systems with emphasis on common business applications. Illustrated. </Book></Books>

Getting Started XML must play by rules XML must play by rules  XML Declaration  Define Tags  Add Data

VB and XML Wire into components Wire into components Use with serialization techniques Use with serialization techniques  Move data into and out of components Generate XML from components Generate XML from components  Send to ASP Generate from ASP and send to Generate from ASP and send to  Browser  Vendor  Customer

XMLGen.Generator Custom VB XML Generator Custom VB XML Generator  Simple  No frills  Designed to get data out  Useful in intranet / Internet applications  Where full parser not required

XMLGen.Generator Interface XMLDeclaration XMLDeclaration Format – formats data Format – formats data BeginTag – generates starting tag BeginTag – generates starting tag EndTag – generates ending tag EndTag – generates ending tag

Generating the Declaration Set output var to return value Set output var to return value vOutPut = oXML.XMLDeclaration() Results in this: Results in this:

Creating the XML Stream Call Format method to generate tags Call Format method to generate tags sTitle = oXML.Format("Title", rsTitle("title")) sID = oXML.Format("Title_ID", rsTitle("title_id")) sNotes = oXML.Format("Notes", rsTitle("notes")) sReturn = sID & sTitle & sNotes Return all XML as string from VB method Return all XML as string from VB method RetrieveTitle = sReturn

ADO and XML ADO 2.x can save RS as XML ADO 2.x can save RS as XML ADO 2.5 can save or stream RS as XML ADO 2.5 can save or stream RS as XML  Use ADO to generate stream to other applications

ADO 2.5 Stream Object Stream object Stream object  Can hold different types of data  Load from ADO RS  Feed to MSXML Parser

XML from ASP ADO 2.5 XML Support ADO 2.5 XML Support  Generate XML from RS  Send to Response object Use Customer Formatter Use Customer Formatter  Why?

XML Mapping B2B or B2C requirements B2B or B2C requirements  Map DB Schema to XML  Should use XMLFilter object  Handle mapping automatically  Read XML Schema  Map Schema to DB Schema  Output XML  Resist temptation to generate XML directly in Stored Procs or from database

Storing XML In Database Not easily searchable Not easily searchable Works best for self described data Works best for self described data  Query definition, state info (non searchable) Watch column size Watch column size  Be careful with varchar vs. char/int/etc.

HTML vs. XML Use HTML Files when Possible Use HTML Files when Possible  Does note require script or XML processing  Simple file / HTTP processing  IIS 5 improves processing of ASP files with no script

Session Support Turn off Turn off  Frees up resources on server  Lets IIS process multithreaded applications faster How How  Rework applications first (see FMStocks 1 & 2000 for sample code)  Remove reference to Session vars  Use the ISM to turn off on server

Session State Data Don’t use ASP session object Don’t use ASP session object Use XML to store state Use XML to store state Store data in SQL Server Store data in SQL Server

The Microsoft XML Engine Freely distributed Freely distributed Fast parser Fast parser Great for reading XML files Great for reading XML files Combine with ADO or other formatter Combine with ADO or other formatter

SQL Server SQL Server 2000 SQL Server 2000  Generate XML directly  More…

With Browser IE 5 Data Islands IE 5 Data Islands  Treat XML data as object  Work with MSXML parser  Interact with DHTML

With XSL With XSL XSL XSL  Extensible Style Sheet  Works with XML on client or server  Used to transform XML data into something else