cag document generation achitecture

20
www.psclistens.com Document Generation Architectures Tim Murphy Technical Specialist

Upload: tim-murphy

Post on 11-Nov-2014

1.224 views

Category:

Technology


4 download

DESCRIPTION

 

TRANSCRIPT

Page 1: Cag document generation achitecture

www.psclistens.com

Document Generation Architectures

Tim MurphyTechnical Specialist

Page 2: Cag document generation achitecture

Objective• Show how open standards for business

documents allows you to build template based, business logic oriented, rich presentation document generation solutions without installing business document applications on your server.

Page 3: Cag document generation achitecture

Agenda• Review Document Generation• Competing Standards• Common Features• Why Template Based Solutions• Separating Business Logic From

Presentation• Office Open XML Demo

Page 4: Cag document generation achitecture

Review Document Generation• Print Merge• Office Automation• Office Open XML• Open Document Format

Page 5: Cag document generation achitecture

Competing Standards• Microsoft Office

– Office Open XML (OOXML)– Favored by Microsoft community– Best library from Microsoft

• Open Source– Open Document Format (ODF)– Favored by Open Source community– Best libraries in Java

Page 6: Cag document generation achitecture

Common Features• Open Standards• XML Based• Packaged As Zip Files• Do Not Require Application Binaries

Page 7: Cag document generation achitecture

Document Structure

Page 8: Cag document generation achitecture

What Is Open XML

• ISO Standard – Interesting Fact

Abandon All Hope Ye Who Enter Here

Page 9: Cag document generation achitecture

Good Document Generation• Template Based• Isolate Presentation Code• Build/Use Business Rules Engine

Page 10: Cag document generation achitecture

Why Template Based Solutions• User Can See End Product• Complex Document Standards =

Complex Code• Cloning Document Parts Is Efficient

Page 11: Cag document generation achitecture

Isolate Presentation Code• Define Data Structures• Define Data Markup (Annotation)• Consistent Markup

Page 12: Cag document generation achitecture

Build/Use Business Rules Engine• Documents Are Data Heavy• Business Rules Engines Give Flexibility

Page 13: Cag document generation achitecture

Office Open XMLDevelopment

Page 14: Cag document generation achitecture

How The SDK Tools Are Critical• Thank you Document Reflector• The OpenXml Diff tool increases

productivity• Document Validator• OOXML Documentation

Page 15: Cag document generation achitecture

General Challenges With Document Generation• Uniquely Identify Object• Identifying text in charts• Different containers for the same object

types depending on conditions

Page 16: Cag document generation achitecture

So Let’s See Some Real Code

Demo

Page 17: Cag document generation achitecture

Real World Results• Research Director, Inc.• Microsoft Case Study • 200 presentations, each consists of 440 slides

including 372 charts/tables

Befo

re 8 hours each

1600 hours

Aft

er 10

minutes each

33 hours

Page 18: Cag document generation achitecture

ResourcesDownload OOXML SDK –http://bit.ly/4hJHg4

OpenXML Developer – http://openxmldeveloper.org/default.aspx

Eric White’s Blog - http://blogs.msdn.com/ericwhite/default.aspx

Microsoft Case Study - http://www.microsoft.com/casestudies/Case_Study_Detail.aspx?CaseStudyID=4000005717

Page 19: Cag document generation achitecture

ResourcesAspose .NET Components –http://www.aspose.com/

ODF Toolkit Open Source Library – http://odftoolkit.org/

Page 20: Cag document generation achitecture

Thank You!Blogs –

codingthedocument.wordpress.comgeekswithblogs.net/tmurphy

Email [email protected]

Twitter –@twmurph

PSC’s websitewww.psclistens.com