Download presentation
Presentation is loading. Please wait.
Published byMeredith Roberts Modified over 8 years ago
1
PowerBuilder is.NET John Strano Technology Evangelist
2
2 – Sybase Confidential May 27, 2016 PowerBuilder Evolving with.NET
3
3 – Sybase Confidential May 27, 2016 PowerBuilder Goals and Strategy Strategy –Leverage Microsoft’s infrastructure –Focus PowerBuilder engineering on differentiating technologies –Provide migration path from Win 32 to.NET –Sybase is the only vendor providing such a migration path –Ensure PowerBuilder skills are all you need to move forward
4
4 – Sybase Confidential May 27, 2016 PowerBuilder Goals and Strategy Goals –Develop and deliver a product that will enable existing customers to leverage as much of their existing code as possible, and bring it forward to.NET platform –Ensure PowerBuilder is the easiest tool for building.NET applications
5
5 – Sybase Confidential May 27, 2016 PowerBuilder Productivity: Example Deborah Kurata's (MSMVP) Blog Post: Painting on the DataGridView – http://msmvps.com/blogs/deborahk/archive/2009/08/13/painting-on-the- datagridview.aspx http://msmvps.com/blogs/deborahk/archive/2009/08/13/painting-on-the- datagridview.aspx
6
6 – Sybase Confidential May 27, 2016 PowerBuilder Productivity: Example private void myGrid_RowPostPaint(object sender, DataGridViewRowPostPaintEventArgs e) { if (e.RowIndex == 2) { // Calculate the bounds of the row int rowHeaderWidth = myGrid.RowHeadersVisible ? myGrid.RowHeadersWidth : 0; Rectangle rowBounds = new Rectangle( myGrid.RowHeadersWidth, e.RowBounds.Top, myGrid.Columns.GetColumnsWidth( DataGridViewElementStates.Visible) - myGrid.HorizontalScrollingOffset + 1, e.RowBounds.Height); // Paint the border ControlPaint.DrawBorder(e.Graphics, rowBounds, Color.Red, ButtonBorderStyle.Solid); // Paint the background color myGrid.Rows[e.RowIndex].DefaultCellStyle.BackColor = Color.BlanchedAlmond; } } In C#:
7
7 – Sybase Confidential May 27, 2016 PowerBuilder Productivity: Example If(Mod(GetRow(),2) = 1, 16777215, 25231232) In DataWindow Expression:
8
8 – Sybase Confidential May 27, 2016 PowerBuilder Productivity: Example In WPF DataWindow Expression:
9
9 – Sybase Confidential May 27, 2016 PowerBuilder Productivity: Example In WPF DataWindow Expression:
10
10 – Sybase Confidential May 27, 2016 PowerBuilder Productivity: Example What would this be in C#?:
11
11 – Sybase Confidential May 27, 2016 Current Roadmap.NET Platform Support Technology Differentiators Q2 09 H1 10 Open Development.NET Code Access Security (CAS).NET language enhancements Develop Win32 Deploy.NET Winform, Webform, Smart Client DataWindow UI enhancements 11.5.1 DW enhancements.NET language support – CTS WPF IDE Managed code deployment RDBMS Support Updates, for Sybase, IBM, MS, Oracle, etc Web Services WPF DataWindow PB skills Managed code apps Visual Studio IDE inside PowerBuilder RDBMS Support Updates, for Sybase, IBM, MS, Oracle, etc. App Server Plug-in for JEE support 11.5.1 MSS 2008, INF 11 Migrate Win32/WinForm WPF Develop WPF PowerBuilder 11.5.1 features in italics. PowerBuilder 11.5 ships with PocketBuilder 2.5 and Application Server Plug-in 1.1 in the box
12
12 – Sybase Confidential May 27, 2016 What’s Next? Beyond.NET, Beyond v12 Continued alignment with Microsoft platform Silverlight – RAD development for the Web Sharepoint Webparts WCF, Oslo/M Windows 7 Cloud, SSDS – SQL Server Data Services Multi-channel apps – Different target types within the PowerBuilder IDE
13
WPF: What is it? PowerBuilder is.NET
14
14 – Sybase Confidential May 27, 2016 Windows Presentation Foundation Along with Silverlight, WPF is Microsoft's next generation presentation technology While Microsoft will support Win32 and.NET 2.0 for years to come, WPF is their stated strategic direction
15
15 – Sybase Confidential May 27, 2016 Windows Presentation Foundation WPF uses vector-based graphics WPF is resolution-independent –Vector-based graphics render/resize to any screen resolution WPF applications are meant to have a rich visual appearance 3D graphics High definition playback etc…
16
16 – Sybase Confidential May 27, 2016 Windows Presentation Foundation Broad Integration A single API to access... –3D graphics, video (HD), speech, rich document viewing, etc. –...with one technology
17
17 – Sybase Confidential May 27, 2016 PowerBuilder and WPF PowerBuilder will be your entrée to WPF Your investment, knowledge, and skills in PowerBuilder will be preserved
18
18 – Sybase Confidential May 27, 2016 The PowerBuilder.NET IDE PowerBuilder is.NET
19
19 – Sybase Confidential May 27, 2016 PowerBuilder and WPF Our goal, our mandate, is to provide you with a “PowerBuilder Experience” when developing WPF applications
20
20 – Sybase Confidential May 27, 2016 Based on the Visual Studio Isolated Shell The PowerBuilder.NET IDE
21
21 – Sybase Confidential May 27, 2016 PowerBuilder.NET for WPF Development Leveraging Visual Studio features –Isolated Shell provides framework and features –UI –Editors –WPF Designer –Intellisense –Debugger Plug-in existing PowerBuilder components –Database Painter –SQL Painter –etc.
22
22 – Sybase Confidential May 27, 2016 PowerBuilder.NET for WPF Development Provides a familiar PowerBuilder experience –Little or no re-training Provides usability enhancements consistent with other major IDEs Keeps PowerBuilder current with latest functionality
23
23 – Sybase Confidential May 27, 2016 PowerBuilder.NET for WPF Development PowerScript in the VS Core Editor WPF Painters –Incl. WPF DataWindow Painter Tabbed documents Auto-hide for tool panes 3rd Party Add-ins Import/Export IDE Settings
24
24 – Sybase Confidential May 27, 2016 PowerBuilder.NET for WPF Development…and more… Benefits for… WPF Application Targets.NET Assembly Targets.NET Web Service Targets
25
25 – Sybase Confidential May 27, 2016 PowerBuilder: A Full.NET Citizen PowerBuilder is.NET
26
26 – Sybase Confidential May 27, 2016 PowerBuilder: A Full.NET Citizen An effective illustration that PowerBuilder, and the PowerBuilder Developer, are full.NET citizens......They are utilizing the same tools and the same “off the street”... – XAML – Control Templates – Skins – 3 rd party controls...as non-PowerBuilder.NET developers
27
27 – Sybase Confidential May 27, 2016 PowerBuilder: A Full.NET Citizen In utilizing the Isolated Shell, PowerBuilder is implementing the same WPF design editor and the same XAML editor as VS2010
28
28 – Sybase Confidential May 27, 2016 PowerBuilder: A Full.NET Citizen XAML – XAML is the declarative markup language with which you may create complex WPF user interfaces – XAML allows separation of UI (markup) from runtime logic – XAML knowledge will not be required, just optional
29
29 – Sybase Confidential May 27, 2016 PowerBuilder: A Full.NET Citizen XAML – You will be able to use “off the street” XAML in your PowerBuilder applications
30
30 – Sybase Confidential May 27, 2016 PowerBuilder: A Full.NET Citizen XAML – You will be able to use “off the street” XAML in your PowerBuilder applications
31
31 – Sybase Confidential May 27, 2016 PowerBuilder: A Full.NET Citizen Control Templates –Are described by a portion of XAML –Act as “resource dictionaries” –Specify to what kind of control they may be applied –Alter the default appearance of the designated WPF control
32
32 – Sybase Confidential May 27, 2016 PowerBuilder: A Full.NET Citizen Control Templates –May certainly be used with controls in PowerBuilder.NET in that they are derived from base WPF classes......
33
33 – Sybase Confidential May 27, 2016 PowerBuilder: A Full.NET Citizen Control Templates (cont’d)
34
34 – Sybase Confidential May 27, 2016 PowerBuilder: A Full.NET Citizen Skins –Are also declaratively developed in XAML –Can be statically or dynamically invoked –Have a wider scope than control templates –Alter appearance (as well as behavior!) of not just controls or groups of controls, but for an entire application if you wish
35
35 – Sybase Confidential May 27, 2016 PowerBuilder: A Full.NET Citizen Skins (cont’d) –May be used with WPF PowerBuilder applications after you... Develop them yourself Find those that are freely available Purchase those that are professionally developed “Off the street” skins will need to be slightly modified to utilize PowerBuilder WPF subclasses
36
36 – Sybase Confidential May 27, 2016 PowerBuilder: A Full.NET Citizen Skins (cont’d)
37
37 – Sybase Confidential May 27, 2016 PowerBuilder: A Full.NET Citizen Skins (cont’d)
38
38 – Sybase Confidential May 27, 2016 PowerBuilder: A Full.NET Citizen DataWindow Skins
39
39 – Sybase Confidential May 27, 2016 PowerBuilder: A Full.NET Citizen 3 rd Party WPF Controls –May be used with WPF PowerBuilder applications after you... Use base WPF controls You or your teammates develop them in VS Find those that are freely available Purchase those that are professionally developed
40
40 – Sybase Confidential May 27, 2016 PowerBuilder: A Full.NET Citizen 3 rd Party WPF Controls
41
41 – Sybase Confidential May 27, 2016 PowerBuilder: A Full.NET Citizen 3 rd Party WPF Controls
42
42 – Sybase Confidential May 27, 2016 PowerBuilder: A Full.NET Citizen 3 rd Party WPF Controls
43
43 – Sybase Confidential May 27, 2016 PowerScript Language Enhancements Primitive Type Mapping System.Object Arrays Parameterized Constructors User-defined Enumerations Properties & Indexers Interfaces Generics Delegates Namespace Bitwise Operators
44
44 – Sybase Confidential May 27, 2016 27-May-16 Sybase Proprietary and Confidential ©2003 Sybase, Inc. 44 WCF Client is an engine to be used (in PB12 WPF target) to consume several kinds of services: – ASMX Web Services – ASMX + WSE 3.0 Services – WCF Services ASMX Web Services + WSE WCF Services (basicHttp, wsHttp, netTcp, REST) WCF Engine 1 2 3 Web Service Engine (EasySoap,.NET Engine) WCF Client Support
45
45 – Sybase Confidential May 27, 2016 PowerBuilder 12 Tutorials PowerScript Language Enhancements WCF Client Support http://www.sybase.com/powerbuilder12beta/tuto rials
46
46 – Sybase Confidential May 27, 2016 Summary PowerBuilder is.NET
47
47 – Sybase Confidential May 27, 2016 Summary... PowerBuilder: A Full.NET Citizen PowerBuilder is.NET It’s a misconception that it’s necessary to move away from PowerBuilder to “be.NET”.
48
48 – Sybase Confidential May 27, 2016 Summary... PowerBuilder: A Full.NET Citizen Build WPF applications with a familiar PowerBuilder experience Provide your users with rich, progressive user interfaces
49
49 – Sybase Confidential May 27, 2016 Summary... PowerBuilder: A Full.NET Citizen No need to go to another tool for your.NET requirements Extend your skills and your existing code to new incarnations of the.NET framework
50
50 – Sybase Confidential May 27, 2016 Our Future, Your Future We don’t succeed unless you succeed We’ve ensured that PowerBuilder is the most versatile tool for the PowerBuilder community for: –.NET –JEE –Mobile –Pure Win32 Client/Server
51
51 – Sybase Confidential May 27, 2016 Our Future, Your Future PowerBuilder is the smart business decision for your bottom line –Reduces risk –Leverages investment in code and skill –Extends into the future
52
52 – Sybase Confidential May 27, 2016 PowerBuilder is.NET Thank you.
Similar presentations
© 2024 SlidePlayer.com Inc.
All rights reserved.