bidirectional systems interfacing via xml/text files and plex professional computer software...

45
Bidirectional Systems Bidirectional Systems Interfacing Via Interfacing Via XML/Text Files and XML/Text Files and Plex Plex Professional Computer Software Services Professional Computer Software Services (PCSS) (PCSS) Lucio Gayosso (Research/Development) Lucio Gayosso (Research/Development)

Upload: paulina-bridges

Post on 23-Dec-2015

219 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Bidirectional Systems Interfacing Via XML/Text Files and Plex Professional Computer Software Services (PCSS) Lucio Gayosso (Research/Development)

Bidirectional Systems Bidirectional Systems Interfacing Via XML/Text Files Interfacing Via XML/Text Files

and Plexand Plex

Professional Computer Software Services (PCSS)Professional Computer Software Services (PCSS)

Lucio Gayosso (Research/Development)Lucio Gayosso (Research/Development)

Page 2: Bidirectional Systems Interfacing Via XML/Text Files and Plex Professional Computer Software Services (PCSS) Lucio Gayosso (Research/Development)

PCSSPCSSJudicial Systems development since 1985Judicial Systems development since 1985

A division of CSDC Systems (A division of CSDC Systems (http://www.csdcsystems.com/http://www.csdcsystems.com/))

Main Product: Main Product: JEMSJEMS: Judicial Enforcement Management System: Judicial Enforcement Management System

Mission: Paperless courtsMission: Paperless courts

Multiplatform solutions with advanced technologiesMultiplatform solutions with advanced technologies

Allows data coordination with multiple agenciesAllows data coordination with multiple agencies

Lucio GayossoLucio GayossoPlex Developer since 1995 (V1.03) experienced with SDLF and PLCPlex Developer since 1995 (V1.03) experienced with SDLF and PLC

Engineer in Communications and Electronics with MIS/MEngineer in Communications and Electronics with MIS/M

Creator of Plex World (Creator of Plex World (www.plex-world.comwww.plex-world.com))

Producer/DJ for R@DIO DIMENSION (Producer/DJ for R@DIO DIMENSION (www.radiodimension.comwww.radiodimension.com))

Languages and sportsLanguages and sports

Page 3: Bidirectional Systems Interfacing Via XML/Text Files and Plex Professional Computer Software Services (PCSS) Lucio Gayosso (Research/Development)

InterfacingInterfacing

Systems cannot longer work in isolationSystems cannot longer work in isolation

Interfacing disparate systems is a common challengeInterfacing disparate systems is a common challenge

Interfacing requires trade-offsInterfacing requires trade-offs

Standards are requiredStandards are required

Interfaces are not staticInterfaces are not static

““in·ter·face [n. in-ter-feys; v. in-ter-feys, in-ter-feys] Computers. a. in·ter·face [n. in-ter-feys; v. in-ter-feys, in-ter-feys] Computers. a. equipment or programs designed to communicate information equipment or programs designed to communicate information

from one system of computing devices or programs to another”from one system of computing devices or programs to another” (Dictionary.com, 2007)..

Page 4: Bidirectional Systems Interfacing Via XML/Text Files and Plex Professional Computer Software Services (PCSS) Lucio Gayosso (Research/Development)

JEMS (Judicial Enforcement Management System)JEMS (Judicial Enforcement Management System)

Large database (over 800 physical files and 3000 views)Large database (over 800 physical files and 3000 views)

Highly partitionedHighly partitioned

Page 5: Bidirectional Systems Interfacing Via XML/Text Files and Plex Professional Computer Software Services (PCSS) Lucio Gayosso (Research/Development)

JEMS (cont.)JEMS (cont.)

Large database (over 800 physical files and 3000 views)Large database (over 800 physical files and 3000 views)

Highly partitionedHighly partitioned

Highly configurableHighly configurable

Multi-platform Client/server (Client: WinC, Servers: WinNT and Multi-platform Client/server (Client: WinC, Servers: WinNT and iSeries)iSeries)

Page 6: Bidirectional Systems Interfacing Via XML/Text Files and Plex Professional Computer Software Services (PCSS) Lucio Gayosso (Research/Development)

Interfacing Goals and DirectivesInterfacing Goals and Directives

How can an inexpensive solution be built?

What tools and resources are available?What existing design and functionality can be reused?

How flexible should it be made?How can the output/input processes be designed?

How should it be triggered and controlled?

• Co$t effective• Quick to develop and deploy• Configurable• Flexible• Easy to use

Page 7: Bidirectional Systems Interfacing Via XML/Text Files and Plex Professional Computer Software Services (PCSS) Lucio Gayosso (Research/Development)

Ways to build inexpensive solution

Delimit and control project scopeDelimit and control project scope

Utilize existing resources and toolsUtilize existing resources and tools

Take advantage of existing design elements and database Take advantage of existing design elements and database infrastructure to minimize development life-cycleinfrastructure to minimize development life-cycle

Employ common formats for information transferEmploy common formats for information transfer

Aim to maintain simplicity in design and useAim to maintain simplicity in design and use

Page 8: Bidirectional Systems Interfacing Via XML/Text Files and Plex Professional Computer Software Services (PCSS) Lucio Gayosso (Research/Development)

Tools and resources available

Plex 5.5Plex 5.5

VBScript (Plex Source Code objects)VBScript (Plex Source Code objects)

Microsoft’s XML-DOMMicrosoft’s XML-DOM

General availability of TXT and XML formatsGeneral availability of TXT and XML formats

"The Document Object Model (DOM) provides a standardized way to access and manipulate the information stored in XML documents. DOM application programming interfaces (APIs) serve as a bridge

between applications and XML documents" (Microsoft 1, 2007)

Page 9: Bidirectional Systems Interfacing Via XML/Text Files and Plex Professional Computer Software Services (PCSS) Lucio Gayosso (Research/Development)

Existing design and functionality to reuseRe-utilize JEMS DB design/concepts to develop a transfer Re-utilize JEMS DB design/concepts to develop a transfer repositoryrepository

Page 10: Bidirectional Systems Interfacing Via XML/Text Files and Plex Professional Computer Software Services (PCSS) Lucio Gayosso (Research/Development)

How flexible should the solution be?User I/O configurationUser I/O configuration

Limit the configuration options but define a flexible infrastructureLimit the configuration options but define a flexible infrastructure Be consistentBe consistent

Page 11: Bidirectional Systems Interfacing Via XML/Text Files and Plex Professional Computer Software Services (PCSS) Lucio Gayosso (Research/Development)

How flexible should the solution be? (cont.)User I/O configurationUser I/O configuration

Page 12: Bidirectional Systems Interfacing Via XML/Text Files and Plex Professional Computer Software Services (PCSS) Lucio Gayosso (Research/Development)

How flexible should the solution be? (cont.)Define standard layoutsDefine standard layouts

Page 13: Bidirectional Systems Interfacing Via XML/Text Files and Plex Professional Computer Software Services (PCSS) Lucio Gayosso (Research/Development)

How flexible should the solution be? (cont.)Define standard layoutsDefine standard layouts

Document and distribute agreements highlighting considerationsDocument and distribute agreements highlighting considerations

Page 14: Bidirectional Systems Interfacing Via XML/Text Files and Plex Professional Computer Software Services (PCSS) Lucio Gayosso (Research/Development)

Output Process DesignXML OutputXML Output

Basic XML design (Nodes and Text)Basic XML design (Nodes and Text)

Page 15: Bidirectional Systems Interfacing Via XML/Text Files and Plex Professional Computer Software Services (PCSS) Lucio Gayosso (Research/Development)

Output Process Design (cont.)XML OutputXML Output

Basic XML design (Nodes and Text)Basic XML design (Nodes and Text) Output created via stringing with PlexOutput created via stringing with Plex

Page 16: Bidirectional Systems Interfacing Via XML/Text Files and Plex Professional Computer Software Services (PCSS) Lucio Gayosso (Research/Development)

Output Process Design (cont.)XML OutputXML Output

Basic XML design (Nodes and Text)Basic XML design (Nodes and Text) Output created via stringing with PlexOutput created via stringing with Plex

Page 17: Bidirectional Systems Interfacing Via XML/Text Files and Plex Professional Computer Software Services (PCSS) Lucio Gayosso (Research/Development)

Output Process Design (cont.)XML OutputXML Output

Basic XML design (Nodes and Text)Basic XML design (Nodes and Text) Output created via stringing with Plex (large XML string)Output created via stringing with Plex (large XML string)

Page 18: Bidirectional Systems Interfacing Via XML/Text Files and Plex Professional Computer Software Services (PCSS) Lucio Gayosso (Research/Development)

Output Process Design (cont.)Text OutputText Output

Text file creation steps: Open, Write, and CloseText file creation steps: Open, Write, and Close

Page 19: Bidirectional Systems Interfacing Via XML/Text Files and Plex Professional Computer Software Services (PCSS) Lucio Gayosso (Research/Development)

Output Process Design (cont.)Text OutputText Output

Text file creation steps: Open, Write, and CloseText file creation steps: Open, Write, and Close Standard text file with user defined delimitersStandard text file with user defined delimiters

Page 20: Bidirectional Systems Interfacing Via XML/Text Files and Plex Professional Computer Software Services (PCSS) Lucio Gayosso (Research/Development)

Input Process DesignXML InputXML Input

Same XML layout as Output processSame XML layout as Output process

Page 21: Bidirectional Systems Interfacing Via XML/Text Files and Plex Professional Computer Software Services (PCSS) Lucio Gayosso (Research/Development)

Input Process Design (cont.)XML InputXML Input

Same XML layoutSame XML layout Use of abstract reader functions to support agreed layoutsUse of abstract reader functions to support agreed layouts

Page 22: Bidirectional Systems Interfacing Via XML/Text Files and Plex Professional Computer Software Services (PCSS) Lucio Gayosso (Research/Development)

Input Process Design (cont.)XML InputXML Input

Same XML layoutSame XML layout Use of abstract reader functions to support agreed layoutsUse of abstract reader functions to support agreed layouts

Page 23: Bidirectional Systems Interfacing Via XML/Text Files and Plex Professional Computer Software Services (PCSS) Lucio Gayosso (Research/Development)

Input Process Design (cont.)XML InputXML Input

Same XML layoutSame XML layout Abstract reader functions to support agreed layoutsAbstract reader functions to support agreed layouts

Page 24: Bidirectional Systems Interfacing Via XML/Text Files and Plex Professional Computer Software Services (PCSS) Lucio Gayosso (Research/Development)

Input Process Design (cont.)XML InputXML Input

Same XML layoutSame XML layout Abstract reader functions to support agreed layouts (XML file Abstract reader functions to support agreed layouts (XML file

access function)access function)

Page 25: Bidirectional Systems Interfacing Via XML/Text Files and Plex Professional Computer Software Services (PCSS) Lucio Gayosso (Research/Development)

Input Process Design (cont.)XML InputXML Input

Same XML layoutSame XML layout Abstract reader functions to support agreed layouts (XML file Abstract reader functions to support agreed layouts (XML file

access function)access function)

Page 26: Bidirectional Systems Interfacing Via XML/Text Files and Plex Professional Computer Software Services (PCSS) Lucio Gayosso (Research/Development)

Input Process Design (cont.)XML InputXML Input

Same XML layoutSame XML layout Abstract reader functions to support agreed layoutsAbstract reader functions to support agreed layouts Readers instantiationReaders instantiation

Page 27: Bidirectional Systems Interfacing Via XML/Text Files and Plex Professional Computer Software Services (PCSS) Lucio Gayosso (Research/Development)

Input Process Design (cont.)XML InputXML Input

Same XML layoutSame XML layout Abstract reader functions to support agreed layoutsAbstract reader functions to support agreed layouts Readers instantiation (XML file access function)Readers instantiation (XML file access function)

Page 28: Bidirectional Systems Interfacing Via XML/Text Files and Plex Professional Computer Software Services (PCSS) Lucio Gayosso (Research/Development)

Input Process Design (cont.)Text InputText Input

Same Input layout to minimize discrepanciesSame Input layout to minimize discrepancies Data extractionData extraction

Bulk Insert via Bulk Insert via Exec SQLExec SQL

"BULK INSERT: Imports a data file into a database table or view in a user-specified format" (Microsoft, 2007)

Page 29: Bidirectional Systems Interfacing Via XML/Text Files and Plex Professional Computer Software Services (PCSS) Lucio Gayosso (Research/Development)

Input Process Design (cont.)Text InputText Input

Same Input layout to minimize discrepanciesSame Input layout to minimize discrepancies Data extractionData extraction

Bulk Insert via Bulk Insert via Exec SQLExec SQL

Text line read (open, read, close)Text line read (open, read, close)

Page 30: Bidirectional Systems Interfacing Via XML/Text Files and Plex Professional Computer Software Services (PCSS) Lucio Gayosso (Research/Development)

Trigger and controlOn demandOn demand

JEMS built-in launcherJEMS built-in launcher External ExecutableExternal Executable

Page 31: Bidirectional Systems Interfacing Via XML/Text Files and Plex Professional Computer Software Services (PCSS) Lucio Gayosso (Research/Development)

Trigger and control (cont.)On demandOn demand

JEMS built-in launcherJEMS built-in launcher External ExecutableExternal Executable

AutomatedAutomated Simple approach via Windows Scheduled TaskSimple approach via Windows Scheduled Task

Page 32: Bidirectional Systems Interfacing Via XML/Text Files and Plex Professional Computer Software Services (PCSS) Lucio Gayosso (Research/Development)

QUESTIONS?QUESTIONS?

Contact meContact me

Lucio GayossoLucio [email protected]@pcssinc.om

Page 33: Bidirectional Systems Interfacing Via XML/Text Files and Plex Professional Computer Software Services (PCSS) Lucio Gayosso (Research/Development)

ReferencesReferences

Dictionary.com (2005). Interface Definition. Dictionary.com (2005). Interface Definition. Dictionary.com . Dictionary.com . Retrieved Retrieved November 13November 13thth, 2007 from , 2007 from http://dictionary.reference.com/search?q=interfacehttp://dictionary.reference.com/search?q=interface

Microsoft 1 (2007). COM CONCEPTS. Microsoft 1 (2007). COM CONCEPTS. MicrosoftMicrosoft, Retrieved November 14, Retrieved November 14thth, , 2007 from 2007 from http://msdn2.microsoft.com/en-us/library/ms764620.aspxhttp://msdn2.microsoft.com/en-us/library/ms764620.aspx

Microsoft (2007). Bulk Insert (Transact-SQL). Microsoft (2007). Bulk Insert (Transact-SQL). MicrosoftMicrosoft, Retrieved , Retrieved November 13November 13thth, 2007 from , 2007 from http://msdn2.microsoft.com/en-us/library/ms188365.aspxhttp://msdn2.microsoft.com/en-us/library/ms188365.aspx

Page 34: Bidirectional Systems Interfacing Via XML/Text Files and Plex Professional Computer Software Services (PCSS) Lucio Gayosso (Research/Development)

API ReferencesAPI References

Page 35: Bidirectional Systems Interfacing Via XML/Text Files and Plex Professional Computer Software Services (PCSS) Lucio Gayosso (Research/Development)

API ReferencesAPI References

Page 36: Bidirectional Systems Interfacing Via XML/Text Files and Plex Professional Computer Software Services (PCSS) Lucio Gayosso (Research/Development)

API ReferencesAPI References

Page 37: Bidirectional Systems Interfacing Via XML/Text Files and Plex Professional Computer Software Services (PCSS) Lucio Gayosso (Research/Development)

API ReferencesAPI References

Page 38: Bidirectional Systems Interfacing Via XML/Text Files and Plex Professional Computer Software Services (PCSS) Lucio Gayosso (Research/Development)

API ReferencesAPI References

Page 39: Bidirectional Systems Interfacing Via XML/Text Files and Plex Professional Computer Software Services (PCSS) Lucio Gayosso (Research/Development)

API ReferencesAPI References

Page 40: Bidirectional Systems Interfacing Via XML/Text Files and Plex Professional Computer Software Services (PCSS) Lucio Gayosso (Research/Development)

API ReferencesAPI References

Page 41: Bidirectional Systems Interfacing Via XML/Text Files and Plex Professional Computer Software Services (PCSS) Lucio Gayosso (Research/Development)

API ReferencesAPI References

Page 42: Bidirectional Systems Interfacing Via XML/Text Files and Plex Professional Computer Software Services (PCSS) Lucio Gayosso (Research/Development)

API ReferencesAPI References

Page 43: Bidirectional Systems Interfacing Via XML/Text Files and Plex Professional Computer Software Services (PCSS) Lucio Gayosso (Research/Development)

API ReferencesAPI References

Page 44: Bidirectional Systems Interfacing Via XML/Text Files and Plex Professional Computer Software Services (PCSS) Lucio Gayosso (Research/Development)

API ReferencesAPI References

Page 45: Bidirectional Systems Interfacing Via XML/Text Files and Plex Professional Computer Software Services (PCSS) Lucio Gayosso (Research/Development)

API ReferencesAPI References