CA Plex NET Client Rob Layzell CA Technologies
CA Plex. NET Client Rob Layzell CA Technologies
Agenda — Part 1 – The Technologies − Why Do YOU Need a New Client? − Windows Presentation Foundation Explained • XAML, Code-behind, XBAP, Click. Once — Part 2 – CA Plex r 7. 0 − Win. C/Java/RPG client migration − Rich client development − Web enablement ideas − What’s Currently Missing? 2 September 23 -25, 2009 Copyright © 2009 CA. All rights reserved.
Why do YOU need a new client? …and can CA Plex r 7. 0 help?
Why Do You Need a New Client? A Brief History of Plex Client Generators • COOL: Plex 4. 5 • Java • Swing • Obsydian 1. 0 • Win. C • Win. Widgets 1994 • Obsydian 1. 5 • RPGIII • DDS 4 1995 1996 1997 1998 1999 2000 2001 • Advantage Plex 5. 0 • Win. C • MFC September 23 -25, 2009 Copyright © 2009 CA. All rights reserved. 2002 … 2011
Why Do You Need a New Client? No New Client in 10 Years! Why? — Lack of compelling technologies… − MFC • Implemented for Win. C at Plex r 5. 0 • We enjoy Visual Studio/MFC upgrades as much as you! • No support for new Windows 7 technologies − Win. Forms • Glorified. NET wrapper for MFC − ASP. NET • Already have Web solutions (Websydian/ADC) 5 September 23 -25, 2009 Copyright © 2009 CA. All rights reserved.
Why Do You Need a New Client? WPF Technology Benefit #1 — Separation of Design from Functionality 6 September 23 -25, 2009 Copyright © 2009 CA. All rights reserved.
Why Do You Need a New Client? WPF Technology Benefit #2 — Simplified deployment: − XCOPY − Click. Once 7 September 23 -25, 2009 Copyright © 2009 CA. All rights reserved.
Why Do You Need a New Client? WPF Technology Benefit #3 — Rich-Web Enablement − XBAP – XAML Browser Applications − Silverlight — Support for Windows 7 Technologies Built-in − Enhanced Accessibility − Multi-touch Good: Common Event Handling No effort to implement Better: Multi-touch Event Handling Little effort to implement Best: Full multi-touch UI design Large-scale effort 8 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 SDKs − Does NOT mean you cannot use Visual Studio! 9 September 23 -25, 2009 Copyright © 2009 CA. All rights reserved.
Windows Presentation Foundation Explained
Windows Presentation Foundation Explained The Basics — Introduced in. NET 3. 0 — Framework for rendering UIs for Windows-based applications — Uses Direct. X 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 11 September 23 -25, 2009 Copyright © 2009 CA. All rights reserved.
Windows Presentation Foundation Explained What is XAML? — e. Xtensible Application Markup Language − XML-based language for declaring object structures. − Used in: • Windows Presentation Foundation / Silverlight • Windows Workflow <Window x: Class=“Demo. App. Window 1" xmlns="http: //schemas. microsoft. com/winfx/2006/xaml/presentation" xmlns: x="http: //schemas. microsoft. com/winfx/2006/xaml" Title="Window 1" Height=“ 140" Width=“ 130"> <Canvas> <Button Canvas. Left=“ 30" Canvas. Top=“ 40" Name="button 1" Width=“ 50" Height=“ 50">Hello!</Button> </Canvas> </Window> — Don’t Worry About Binding! We’ll take care of it for you… 12 September 23 -25, 2009 Copyright © 2009 CA. All rights reserved.
Windows Presentation Foundation Explained What 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, Windows Mobile, Symbian) 13 September 23 -25, 2009 Copyright © 2009 CA. All rights reserved.
Windows Presentation Foundation Explained What is Click. Once? — Click. Once 14 September 23 -25, 2009 Copyright © 2009 CA. All rights reserved.
Introducing CA Plex r 7. 0 a. k. a. Sakurajima
CA Plex r 7. 0 Goals — Provide best of breed next generation Windows client − The only enterprise level. NET 4. 0 code generation solution available* − Simplify the integration of generated code with non-Plex developers and designers — To extend the range of deployment and Integration options − WCF Proxy for Windows Service, IIS and Azure hosting − Web Service Import — To simplify the migration of existing Plex applications to make use of this new technologies. − Support for Patterns and Class Libraries − New tools to help organize applications to target new platforms. — *That I know of anyway!
CA Plex r 7. 0 Features
CA Plex Client/Server Partitioning Client PC Server PC 18 September 23 -25, 2009 Copyright © 2009 CA. All rights reserved.
CA Plex r 7. 0 Packager Tool 19 September 23 -25, 2009 Copyright © 2009 CA. All rights reserved.
CA Plex Generating WPF functions — 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 20 September 23 -25, 2009 Copyright © 2009 CA. All rights reserved.
CA Plex Application Customization — Each application contains a generic App. xaml file — Contains default rendering for WPF Controls — Edit via: − Visual Studio 2010 − MS Expression Blend 4 21 September 23 -25, 2009 Copyright © 2009 CA. All rights reserved.
CA Plex Building WPF functions — 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 application Executable ‘bootstraps’. NET Runtime Standard. NET config file (like Win. C INI) Plex. NET Runtime dependencies copied All function classes compiled into Default Code Library 22 September 23 -25, 2009 Copyright © 2009 CA. All rights reserved.
CA Plex. NET WPF Runtime Plex-generated C# Application Code Library Assemblies, Executables, Configuration Files Plex Base. NET Runtime (Plex. Obrun. dll) Plex Common Runtime 23 Plex Controls Runtime Plex API Runtime Plex WPF Runtime (Plex. Ob. Wpf. dll) Ribbon Control Library September 23 -25, 2009 Copyright © 2009 CA. All rights reserved. WPF Toolkit Library Other UI Runtimes? Silverlight?
CA Plex Demo - A Plex-generated XAML Application — XAML/Code-behind generation — Application ‘Look and feel’ customization 24 September 23 -25, 2009 Copyright © 2009 CA. All rights reserved.
What’s Missing? . . . …but What’s New?
What’s Missing? — Support for. NET Custom Components on Panels/Pages (Active. X replacement) — Legacy Active. X support — Fully Implemented Page objects — Integrated control customization 26 September 23 -25, 2009 Copyright © 2009 CA. All rights reserved.
Summary
Summary — We’ve already come a long way from Plex r 6. 1! — WPF is here to stay − Used in all MS Products with UI − Solves the Fat vs. Web Client Conundrum − Not only Web enabled, but Cloud enabled — What can you do now? − Start migration today! − Plex Packager Tool – Alpha available now for CA Plex r 6. 1 − Nothing you do now is throw-away • Server won’t change • Remember - backwards compatibility is built-in! 28 September 23 -25, 2009 Copyright © 2009 CA. All rights reserved.
Q&A
- Slides: 29