8C - CA Plex and Microsoft Windows Presentation Foundationplex2e.com/downloads/8C - CA Plex and...
-
Upload
truonghuong -
Category
Documents
-
view
222 -
download
0
Transcript of 8C - CA Plex and Microsoft Windows Presentation Foundationplex2e.com/downloads/8C - CA Plex and...
-
CA Plex and Microsoft Windows Presentation Foundation (WPF)Foundation (WPF)
A Technology Preview
8C
R b L llRob Layzell
CA
Co-branded Logo FootprintAligned LEFT ON COVER ONLYMust Fit Within This Space
-
Terms of This Presentation
This presentation was based on current information and resource allocations as of September 23 2009 d i bj t t h ithd l b CA t ti ith t ti 23, 2009 and is subject to change or withdrawal by CA at any time without notice. Notwithstanding anything in this presentation to the contrary, this presentation shall not serve to (i) affect the rights and/or obligations of CA or its licensees under any existing or future written license agreement or services agreement relating to any CA software product; or (ii) amend any product documentation or specifications for any CA software product. The development, release and timing of any features or functionality described in this presentation remain at CAs sole discretion. Notwithstanding anything in this presentation to the contrary, upon the general availability of any future CA product release referenced in this presentation, upon the general availability of any future CA product release referenced in this presentation, CA will make such release available (i) for sale to new licensees of such product; and (ii) to existing licensees of such product on a when and if-available basis as part of CA maintenance and support, and in the form of a regularly scheduled major product release. Such releases
b d il bl t t li f h d t h t b ib t CA may be made available to current licensees of such product who are current subscribers to CA maintenance and support on a when and if-available basis. In the event of a conflict between the terms of this paragraph and any other information contained in this presentation, the terms of this paragraph shall govern.
Co-branded Logo FootprintAligned Right Edge
Must Fit Within This Space2September 23-25, 2009 Copyright 2009 CA. All rights reserved.
-
For Informational Purposes Only
Certain information in this presentation may outline CAs general product direction. All i f ti i thi t ti i f i f ti l l d t b information in this presentation is for your informational purposes only and may not be incorporated into any contract. CA assumes no responsibility for the accuracy or completeness of the information. To the extent permitted by applicable law, CA provides this document as is without warranty of any kind, including without limitation, any implied warranties or merchantability, fitness for a particular purpose, or non-infringement. In no event will CA be liable for any loss or damage, direct or indirect, from the use of this document, including, without limitation, lost profits, lost investment, business interruption, goodwill, or lost data, even if CA is expressly advised of the possibility of such damages. even if CA is expressly advised of the possibility of such damages.
Co-branded Logo FootprintAligned Right Edge
Must Fit Within This Space3September 23-25, 2009 Copyright 2009 CA. All rights reserved.
-
About the Speaker
> Rob Layzell Software Architect, Software Engineering, CA
Primarily responsible for CA Plex development
Live and work in San Francisco Bay Area
> 17 years experience in software development and IT Worked with Obsydian since 1.5.2
Joined Synon through SPS Atlanta in 1996
Plex developer for 11 years Plex developer for 11 years Patterns
Connector technologies
Co-branded Logo FootprintAligned Right Edge
Must Fit Within This Space4 September 23-25, 2009 Copyright 2009 CA. All rights reserved.
Runtimes (especially WinC, WinNTC and .NET)
-
Agenda
> Why Do YOU Need a New Client?
> Windows Presentation Foundation Explained XAML, Code-behind, XBAP, ClickOnce
> CA Plex r6.5 WinC/Java/RPG client migrationg
Rich client development
Web enablement
> Whats Currently Missing?
> Summary
Co-branded Logo FootprintAligned Right Edge
Must Fit Within This Space
y
5 September 23-25, 2009 Copyright 2009 CA. All rights reserved.
-
Why Do YOU Need A Why Do YOU Need A New Client?
Co-branded Logo FootprintAligned Right Edge
Must Fit Within This Space
-
Why Do You Need a New Client?A Brief History of Plex Client Generatorsy
Obsydian 1.0 WinCWinWidgets
COOL:Plex 4.5 JavaSwingg
1994 1995 1996 1997 1998 1999 2000 2001 2002 2009
Obsydian 1.5 RPGIIIDDS
Advantage Plex 5.0WinCMFC
Co-branded Logo FootprintAligned Right Edge
Must Fit Within This Space7 September 23-25, 2009 Copyright 2009 CA. All rights reserved.
-
Why Do You Need a New Client? No New Client in 10 Years! Why?y
> Lack of compelling technologies MFC
Implemented for WinC at Plex r5.0
W j Vi l St di /MFC d h ! We enjoy Visual Studio/MFC upgrades as much as you!
No support for new Windows 7 technologies
WinForms Glorified .NET wrapper for MFC
ASP.NET Already have Web solutions (Websydian/ADC)
Co-branded Logo FootprintAligned Right Edge
Must Fit Within This Space8 September 23-25, 2009 Copyright 2009 CA. All rights reserved.
-
Why Do You Need a New Client? WPF Technology Benefit #1gy
> Separation of Design from Functionality
Co-branded Logo FootprintAligned Right Edge
Must Fit Within This Space9 September 23-25, 2009 Copyright 2009 CA. All rights reserved.
-
Why Do You Need a New Client? WPF Technology Benefit #2gy
> Simplified deployment: XCOPY
ClickOnce
Co-branded Logo FootprintAligned Right Edge
Must Fit Within This Space10 September 23-25, 2009 Copyright 2009 CA. All rights reserved.
-
Why Do You Need a New Client? WPF Technology Benefit #3gy
> Rich-Web Enablement XBAP XAML Browser Applications
Silverlight
> Support for Windows 7 Technologies Built-in Enhanced Accessibility
Multi-touch Good:Common Event HandlingNo effort to implement
Better:Multi-touch Event HandlingMulti touch Event HandlingLittle effort to implement
Best:Full multi-touch UI design Large-scale effort
Co-branded Logo FootprintAligned Right Edge
Must Fit Within This Space11 September 23-25, 2009 Copyright 2009 CA. All rights reserved.
-
Why Do You Need a New Client? The Other CA Plex Benefits
> Backwards compatibility built in from the ground up
> UNICODE enabled Not ANSI-code page
> No direct reliance on Visual Studio Use freely available .NET Framework SDKsy
Does NOT mean you cannot use Visual Studio!
Co-branded Logo FootprintAligned Right Edge
Must Fit Within This Space12 September 23-25, 2009 Copyright 2009 CA. All rights reserved.
-
Windows Presentation Windows Presentation Foundation Explained
Co-branded Logo FootprintAligned Right Edge
Must Fit Within This Space
-
Windows Presentation Foundation ExplainedThe Basics
> Introduced in .NET 3.0
> Framework for rendering UIs for Windows-based applications
> Uses DirectX for UI rendering rather than GDI Hardware acceleration
Modern UI features (Glass-effects, scaling)
Multimedia enabled (Videos on buttons)
> Primarily uses XAML to define UI Elements
Co-branded Logo FootprintAligned Right Edge
Must Fit Within This Space14 September 23-25, 2009 Copyright 2009 CA. All rights reserved.
-
Windows Presentation Foundation ExplainedWhat is XAML?
> eXtensible Application Markup Language XML-based language for declaring object structures.
Used in: Windows Presentation Foundation / Silverlight
Windows Workflow
-
Windows Presentation Foundation ExplainedWhat is XBAP?
> XAML Browser Applications Full WPF Applications
Hosted on IIS Server or Azure Cloud
Run in a trusted Sandbox environment in Browser
Generally designed to run in Internet Explorer only
> Silverlight Subset of WPF Framework
Designed for Cross platform deployment (OS X Linux Designed for Cross-platform deployment (OS X, Linux, Windows Mobile, Symbian)
Co-branded Logo FootprintAligned Right Edge
Must Fit Within This Space16 September 23-25, 2009 Copyright 2009 CA. All rights reserved.
-
Windows Presentation Foundation ExplainedWhat is ClickOnce?
> ClickOnce
Co-branded Logo FootprintAligned Right Edge
Must Fit Within This Space17 September 23-25, 2009 Copyright 2009 CA. All rights reserved.
-
CA Plex r6.5CA Plex r6.5
Co-branded Logo FootprintAligned Right Edge
Must Fit Within This Space
-
CA Plex r6.5Client/Server Partitioningg
Client PC
Server PC
Co-branded Logo FootprintAligned Right Edge
Must Fit Within This Space19 September 23-25, 2009 Copyright 2009 CA. All rights reserved.
-
CA Plex r6.5Demo #1 CA Plex r6.1 Packager Toolg
Co-branded Logo FootprintAligned Right Edge
Must Fit Within This Space20 September 23-25, 2009 Copyright 2009 CA. All rights reserved.
-
CA Plex r6.5Generating WPF functionsg
> Use existing FNC language SYS/C#
> Functions that scope a Panel generate: XAML (Panel definition)
Code-behind C# source (Function AD)
Input / Output parameter interface C# source
Resource file
Co-branded Logo FootprintAligned Right Edge
Must Fit Within This Space21 September 23-25, 2009 Copyright 2009 CA. All rights reserved.
-
CA Plex r6.5Application Customizationpp
> Each application contains a generic App.xaml file
> Contains default rendering for WPF Controls
> Edit via:> Edit via: Visual Studio 2008
MS Expression Blend 2p
Co-branded Logo FootprintAligned Right Edge
Must Fit Within This Space22 September 23-25, 2009 Copyright 2009 CA. All rights reserved.
-
CA Plex r6.5Building WPF functionsg
> Build as you would any other C# function: Default Code Library (Quick and dirty)
Model Code Library objects (Best practice)
> Build designed for XCOPY deployment
> Create Executable to run WPF applicationpp
Executable bootstraps .NET Runtime
Standard .NET config file (like WinC INI)
All function classes compiled into Default Code Library
Plex .NET Runtime dependencies copied
Co-branded Logo FootprintAligned Right Edge
Must Fit Within This Space23 September 23-25, 2009 Copyright 2009 CA. All rights reserved.
y
-
CA Plex r6.5CA Plex .NET WPF Runtime
Pl t d C# A li ti Plex-generated C# Application Code Library Assemblies, Executables, Configuration Files
Plex Base .NET Runtime(Plex.Obrun.dll)
Plex WPF Runtime(Plex.ObWpf.dll)
Other UI Runtimes?Silverlight?
( )
Plex Plex
( p )
Ribbon WPF
Silverlight?
PlexCommon Runtime
PlexControls Runtime
Plex API Runtime
Ribbon Control Library
WPF Toolkit Library
Co-branded Logo FootprintAligned Right Edge
Must Fit Within This Space24 September 23-25, 2009 Copyright 2009 CA. All rights reserved.
-
CA Plex r6.5Demo #2 - A Plex-generated XAML Applicationg pp
> XAML/Code-behind generation
> Application Look and feel customization
Co-branded Logo FootprintAligned Right Edge
Must Fit Within This Space25 September 23-25, 2009 Copyright 2009 CA. All rights reserved.
-
CA Plex r6.5Plex Page Objectsg j
> New Page object in Plex
> Similar to a Panel Scoped to a Function
Use Same Editor
Similar Control Types
General XAML
> Compile as XBAPs Run in Browser
Use Browser Navigation
Co-branded Logo FootprintAligned Right Edge
Must Fit Within This Space26 September 23-25, 2009 Copyright 2009 CA. All rights reserved.
-
CA Plex r6.5Demo #3 - Plex-generated XBAPsg
Co-branded Logo FootprintAligned Right Edge
Must Fit Within This Space27 September 23-25, 2009 Copyright 2009 CA. All rights reserved.
-
Whats Missing?What s Missing?
Co-branded Logo FootprintAligned Right Edge
Must Fit Within This Space
-
Whats Missing?(But Planned for 6.5)( )
> One-to-one parity with WinC/Java (for Panel objects)
> Support for .NET Custom Components on Panels/Pages
> ClickOnce Deployment> ClickOnce Deployment
> New Variants for Patterns: ACTIVE ACTIVE
UIBASIC
UISTYLE
Co-branded Logo FootprintAligned Right Edge
Must Fit Within This Space29 September 23-25, 2009 Copyright 2009 CA. All rights reserved.
-
Whats Missing?(That were sat on the fence about)( )
> WCF Proxy (via Code Libraries)
> New Pattern Libraries for Page objects: WebBasic
WebStyle
WebFoundation???
> New Variants for OBASE
> Enhanced CSAPI Libraryy
Co-branded Logo FootprintAligned Right Edge
Must Fit Within This Space30 September 23-25, 2009 Copyright 2009 CA. All rights reserved.
-
SummarySummary
Co-branded Logo FootprintAligned Right Edge
Must Fit Within This Space
-
Summary
> Weve already come a long way from Plex r6.1!
> WPF is here to stay
> What can you do now?> What can you do now? Start migration today!
Plex Packager Tool Alpha available nowg p
Nothing you do now is throw-away Server wont change
Remember - backwards compatibility is built-in!
Co-branded Logo FootprintAligned Right Edge
Must Fit Within This Space32 September 23-25, 2009 Copyright 2009 CA. All rights reserved.
-
Q&AQ&A
Co-branded Logo FootprintAligned Right Edge
Must Fit Within This Space