PowerBuilder 10.5 Launch and Learning Event
Transcript of PowerBuilder 10.5 Launch and Learning Event
-
8/17/2019 PowerBuilder 10.5 Launch and Learning Event
1/34
Power Builder 10.5 and 11.0 Featur es 1
Power Builder 10.5 Launch and
Lear ning Event
Sybase Conf idential Pr opriety.
Sponsored by ISUG and Sybase
Sybase Conf idential Pr opriety.
Agenda
❧Power Builder 10.5 Overview
❧Power Builder 11
Web Services EnhancementsUser Inter f ace Enhancements
DataWindow EnhancementsDatabase Connectivity Enhancements
Language EnhancementsPower Builder Contr ols
-
8/17/2019 PowerBuilder 10.5 Launch and Learning Event
2/34
Power Builder 10.5 and 11.0 Featur es 2
Sybase Conf idential Pr opriety.
PowerBuilder 10.5Overview
Sybase Conf idential Pr opriety.
PowerBuilder Contr ols
-
8/17/2019 PowerBuilder 10.5 Launch and Learning Event
3/34
Power Builder 10.5 and 11.0 Featur es 3
Sybase Conf idential Pr opriety.
DatePicker Contr ol
❧New contr ol and/or enhancement to EditMask
❧New DataWindow edit mask style
Sybase Conf idential Pr opriety.
New Rich Text Edit Contr ol
❧ Pr ovides a moder n look and includes new featur es, including theability to name and use formatting styles
❧ Most of the pr oper ties and functions of rich text ob jects in pr evious versions of Power Builder continue to be suppor ted by the new richtext editor
❧ Obsolete pr oper ties and functions ar e ignor ed on rich text ob jects impor ted f r om pr evious versions of Power Builder
❧ The new rich text editor suppor ts a subset of the RTF specif icationversion 1.6
-
8/17/2019 PowerBuilder 10.5 Launch and Learning Event
4/34
Power Builder 10.5 and 11.0 Featur es 4
Sybase Conf idential Pr opriety.
Rich Text Editor User Inter f aceChanges
Rulers, Toolbars, and Status bars
❧Like the earlier rich text editor , the new editor includes a too lbar andr uler that you can hide or display at design time or r untime
❧If you enable the PopMenu pr oper ty on a RichTextEdit contr ol or richtext DataWindow, end users of your Power Builder applications can alsoopt to display or hide the toolbar or r uler
❧The new editor includes a status bar that you can enable at designtime or r untime, or that the users of your rich text applications can optto display or hide
❧The rich text editor no longer includes a separ ate tab bar . End users ofa rich text contr ol can set tabs for the contr ol in the Tabs dialog box or
dir ectly on the r uler
Sybase Conf idential Pr opriety.
Rich Text Editor User Inter f aceChanges
Toolbar Items
❧The toolbar has a contempor ary f lat-style look
❧ It includes dr op-down lists for :
❧ formatting style
❧zoom percent
❧Toolbar buttons for adding bullets or sequential numbers to par agr aphs
-
8/17/2019 PowerBuilder 10.5 Launch and Learning Event
5/34
Power Builder 10.5 and 11.0 Featur es 5
Sybase Conf idential Pr opriety.
Obsolete Pr oper ties
The following pr oper ties ar e not suppor ted in the new rich texteditor :
❧ Retur nsVisible
❧ SpacesVisible
❧ TabBar
❧ TabsVisible
❧ UndoDepth
If you set these pr oper ties on a RichTextEdit contr ol, they ar eignor ed by the new editor
The maximum undo depth in the new rich text editor is 50❧ This value cannot be changed at either design time or r untime
Sybase Conf idential Pr opriety.
Migration issue
❧ When you migr ate applications cr eated in older versions of Power Builder , the InputFieldsVisible pr oper ty inRichTextEdit contr ols and in RichText DataWindow ob jects is automatically set to "false" in the migr atedapplications
❧ You must set this pr oper ty to "tr ue" to see data in theinput f ields. You must set this pr oper ty and theInputFieldNamesVisible pr oper ty to "tr ue" to see text
labels for the input f ields in a rich text contr ol
-
8/17/2019 PowerBuilder 10.5 Launch and Learning Event
6/34
Power Builder 10.5 and 11.0 Featur es 6
Sybase Conf idential Pr opriety.
Demonstration
Sybase Conf idential Pr opriety.
LanguageEnhancements
-
8/17/2019 PowerBuilder 10.5 Launch and Learning Event
7/34
Power Builder 10.5 and 11.0 Featur es 7
Sybase Conf idential Pr opriety.
Impor t PBNI Extensions
❧ You can now impor t Power Builder extensions into a libr ary inyour application using a pop-up menu item, and authors ofPower Builder extensions no longer need to supply a PBD f ilewith the extension f ile
❧ A Power Builder extension is an extension to Power Builder functionality cr eated using the Power Builder Native Inter face(PBNI)
❧ Some Power Builder extensions ar e pr ovided with Power Builder ,including the PBDOM, EJB client, SOAP client for Web services,and UDDIPr oxy extensions
Sybase Conf idential Pr opriety.
Decimal data type upgrade
❧ Pr ovide suppor t for 28 digits versus curr ent 18
❧ Position for suppor t of .NET which handles 28 digits
❧ DataWindow expr ession suppor t
❧ Curr ently all numerics conver ted to double befor e calculations
❧ Added Decimal() DataWindow function for conversion
-
8/17/2019 PowerBuilder 10.5 Launch and Learning Event
8/34
Power Builder 10.5 and 11.0 Featur es 8
Sybase Conf idential Pr opriety.
Byte data type
❧ The Byte datatype is the same as the Uint datatype except that it has amor e r estricted r ange: f r om 0 to 255
❧ For inter action with Java components or Web services, the Power ScriptByte datatype maps dir ectly to Byte datatypes in the Java and C# or .NET languages
New Methods:
❧ Byte (stringor blob)
❧ Conver ts a numeric datatype, including a string whose value is a number ,into a Byte datatype, or obtains a Byte value stor ed in a blob
❧ GetByte (blobvariable, n, b)
❧
Extr acts data of type Byte f r om a blob variable❧ SetByte (blobvariable, n, b)
❧ Sets data of type Byte for a blob variable
Sybase Conf idential Pr opriety.
Database ConnectivityEnhancements
-
8/17/2019 PowerBuilder 10.5 Launch and Learning Event
9/34
Power Builder 10.5 and 11.0 Featur es 9
Sybase Conf idential Pr opriety.
Database Connectivity Enhancements
❧Database Tr acing Enhancements
❧ ADO.NET suppor t for ASE and Or acle
❧ ASE 15 Suppor t
❧Suppor t for ASE 15 Tempor ary Tables
❧NChar Bind Database par ameter for Or acle
Sybase Conf idential Pr opriety.
Database Tracing Enhancements
❧ Power Builder 10.5 includes accur acy and ease-of -useenhancements to the main database tr ace utility,PBTR A105.DLL, and pr ovides a second tr ace utility,PBTRS105.DLL
❧ The newer utility logs the date and time (r ather than the timeelapsed) of each SQL statement issued to the database
❧ This utility can use a timestamp f r om the time zone of the
DBMS server machine, allowing clients in separ ate timezones to mer ge tr ace output f iles in a meaningful fashion
-
8/17/2019 PowerBuilder 10.5 Launch and Learning Event
10/34
Power Builder 10.5 and 11.0 Featur es 10
Sybase Conf idential Pr opriety.
ADO.NET suppor t for ASE and Oracle
❧ Power Builder 10.5 pr ovides native access to AdaptiveServer Enter prise and Or acle using ADO.NET
❧ Connect to a database using the ADO.NET datapr oviders and per form oper ations using native syntax
❧ Cr eate a new connection or shar e an existing connectionob ject for tr ansaction management
Sybase Conf idential Pr opriety.
ADO.NET suppor t for ASE and Oracle
Data Pr ovider Namespace
.NET Fr amework Data Pr ovider for OLE DB System.Data.OleDb
.NET Fr amework Data Pr ovider for SQL Server System.Data.SqlClient
Or acle Data Pr ovider for .NET (ODP.NET) Or acle.DataAccess.Client
Sybase ADO.NET Data Pr ovider for ASE Sybase.Data.AseClient
Suppor t is pr ovided in the PBADO105.DLL f ile and the
Sybase.Power Builder .Db.dll and Sybase.Power Builder .DbExt.dll .NET assemblies
The ADO.NET drivers distributed with Power Builder ar e built with a specif ic version of the ADO.NET assemblies pr ovided by Sybase and Or acle
-
8/17/2019 PowerBuilder 10.5 Launch and Learning Event
11/34
Power Builder 10.5 and 11.0 Featur es 11
Sybase Conf idential Pr opriety.
ASE 15 Suppor t
Scr ollable cursors
❧ ASE allows both scr ollable and nonscr ollable cursors, which can be either semi-sensitive or insensitive
❧ "Scr ollable" means that you can scr oll thr ough the cursor r esult set by fetchingany, or many, r ows, r ather than one r ow at a time
❧ you can also scan the r esult set r epeatedly
❧ The CursorType database par ameter lets you specif y the type of cursor to use
Unitext suppor t
❧ Power Builder suppor ts the variable-length unitext datatype, which can hold up to1,073,741,823 Unicode char acters (2,147,483,646 bytes)
❧ You can use unitext anywher e you use the text datatype, with the same semantics
❧ Unitext columns ar e stor ed in UTF-16 encoding, r egar dless of the Adaptive Server default char acter set
❧ The Unitext datatype uses UTF-16 encoding to suppor t Unicode text and maps tothe Power Script string datatype
Sybase Conf idential Pr opriety.
ASE 15 Suppor t
Bigint suppor t
❧ Power Builder suppor ts the 64-bit integer signed and unsigned bigintdatatypes, which map to the Power Script longlong datatype
Unsigned integer datatypes (int and smallint)
❧ Power Builder also suppor ts two other unsigned integer datatypes intr oducedin Adaptive Server 15.0
❧ In this r elease, the unsigned integer datatypes ar e suppor ted whenconnecting to Adaptive Server using the SYC and JDBC drivers
❧ These datatypes allow you to extend the r ange of the positive numbers for the existing integer types without incr easing the r equir ed stor age size
❧ That is, the signed versions of these datatypes extend both in the negativedir ection and the positive dir ection
❧ However , the unsigned versions extend only in the positive dir ection
-
8/17/2019 PowerBuilder 10.5 Launch and Learning Event
12/34
Power Builder 10.5 and 11.0 Featur es 12
Sybase Conf idential Pr opriety.
ASE 15 Suppor t
❧ To use Adaptive Server 15, you must install Open Client version 15on the client computer and set the Release par ameter to 15 toestablish an Open Client 15 client context
❧ You can specif y the Release par ameter on the Connection page ofthe Database Pr of ile Setup dialog box for Adaptive Server or in code:
SQLCA.DBParm="Release='15'"
Sybase Conf idential Pr opriety.
ASE 15 Suppor t (Continued)
❧ The Open Client 15 client context can be used with Adaptive Server 11.x, 12.x, and 15.x
❧ In Power Builder 10.5, the SYC driver links to the appr opriate versionof the client libr aries dynamically and the Open Client context is r eleased when all connections ar e closed
❧ If you open multiple connections, the f irst Open Client contextetablished is used for all connections
❧ If you need to establish a new Open Client context in thedevelopment envir onment, close all open connections and establish anew connection with the Release par ameter set to the context your equir e
-
8/17/2019 PowerBuilder 10.5 Launch and Learning Event
13/34
Power Builder 10.5 and 11.0 Featur es 13
Sybase Conf idential Pr opriety.
Suppor t for ASE 15 Temporary Tables
❧ Power Builder 10.5 allows you to cr eate and edit tempor ary tables in theDatabase painter , SQL painter , or DataWindow painter when you use thePower Builder SYC native driver to connect to an Adaptive Server database
❧ Tempor ary tables persist for the dur ation of a database connection,r esiding in a special database called "tempdb“
❧ You add a tempor ary table to the tempdb database by assigning a namethat star ts with the # char acter when you cr eate a new table in aPower Builder painter . (Tempor ary tables must star t with the # char acter .)
❧ After you cr eate a tempor ary table, you can cr eate indexes and a primary key for the table❧
If you def ine a unique index or primary key, you can execute INSERT,UPD ATE, and DELETE statements for a tempor ary table❧ Selecting Edit Data f r om the pop-up menu of a tempor ary table r etrieves data
that you stor e in that table
Sybase Conf idential Pr opriety.
Suppor t for ASE 15 Temporary Tables
You can cr eate DataWindow ob jects that access tempor ary tables in a Power Builder r untime application, but your application must f irst explicitly cr eate the tempor ary tables,along with the appr opriate keys and indexes, using thesame database tr ansaction ob ject used by the DataWindow
You can use the EXECUTE IMMEDIATE Powerscriptsyntax to cr eate tempor ary tables at r untime:
-
8/17/2019 PowerBuilder 10.5 Launch and Learning Event
14/34
Power Builder 10.5 and 11.0 Featur es 14
Sybase Conf idential Pr opriety.
NChar Bind Database parameter forOracle
❧ The NChar Bind database par ameter for Or acle 9i and Or acle 10gimpr oves per formance by allowing you to specif y whether stringvariables should be tr eated as Char or NChar datatypes
❧ The default is to tr eat string variables as Char datatypes
❧ You can set this par ameter on the Tr ansaction tab page in theDatabase Pr of ile Setup dialog box for Or acle9i and Or acle 10g
Sybase Conf idential Pr opriety.
DataWindowEnhancements
-
8/17/2019 PowerBuilder 10.5 Launch and Learning Event
15/34
Power Builder 10.5 and 11.0 Featur es 15
Sybase Conf idential Pr opriety.
Treeview Presentation Style
Designed similar to gr oup DataWindow
❧Pr oper ty suppor t
❧Node lines
❧Icons❧Grid style
❧Indention size
❧Event suppor t
❧Expanding / Expanded
❧Collapsing / Collapsed
❧Function suppor t
❧Expand (multiple variations)❧Collapse (multiple variations)
Sybase Conf idential Pr opriety.
TreeView Presentation Style Pr oper ties
❧CollapsedTr eeNodeIconName
❧DefaultExpandToLevel
❧ExpandedTr eeNodeIconName
❧Indent
❧ShowConnectLines
❧ShowLeaf NodeConnectLines
❧ShowTr eeNodeIcon
❧StateIconAlignMode
❧Tr eeNodeIconName
-
8/17/2019 PowerBuilder 10.5 Launch and Learning Event
16/34
Power Builder 10.5 and 11.0 Featur es 16
Sybase Conf idential Pr opriety.
TreeView Presentation Style Functions
❧Expand
❧Collapse
❧ExpandAll
❧CollapseAll
❧ExpandAllChildr en
❧CollapseAllChildr en
❧ExpandLevel
❧CollapseLevel
❧IsExpanded
Sybase Conf idential Pr opriety.
Demonstration
-
8/17/2019 PowerBuilder 10.5 Launch and Learning Event
17/34
Power Builder 10.5 and 11.0 Featur es 17
Sybase Conf idential Pr opriety.
Enhanced Dr op Down DataWindows in Web DataWindows
❧ When you tab to a column that uses the dr op-down DataWindow edit style,you can use the arr ow keys on the keyboar d to change its value
❧ If you click the column, the dr op-down DataWindow displays so that youcan scr oll to a differ ent value and click to select it
❧ Pr eviously, clicking the column in a Web DataWindow displayed all ther ows in the DataWindow
❧ You set the display pr oper ties for the column on the Edit page in thePr oper ties view in the DataWindow painter
❧ The Width of Dr opDown pr oper ty sets the width of the dr op-down display toa size that is a percentage of the width of the column
❧ For example, 300 sets the display width to thr ee times the column width
Sybase Conf idential Pr opriety.
Dr op Down Calendar Edit Mask
❧ The dr op-down calendar DataWindow option is available for useon any DataWindow column with an EditMask, and a Date,DateTime, or TimeStamp datatype
❧ The DDCalendar EditMask pr oper ty option allows for separ ateselections of the calendar month, year , and date
❧ This option can be set in a check box on the Edit tab of theDataWindow painter Pr oper ties view when a column with theEditMask edit style is selected
❧ It can also be set in code, as in this example for the bir th_datecolumn:
dw_1.Modif y("bir th _ date.EditMask.DDCalendar=' Yes'")
-
8/17/2019 PowerBuilder 10.5 Launch and Learning Event
18/34
Power Builder 10.5 and 11.0 Featur es 18
Sybase Conf idential Pr opriety.
HTMLGen Paging Pr oper ty
❧ To set the HTMLGen.Paging pr oper ty, select HTML/XHTML inthe Format To Conf igur e dr op-down list on the Web Gener ationpage in the Pr oper ties view in the painter and then select a valuef r om the Paging Method dr op-down list
❧ You can also set this pr oper ty in code
Sybase Conf idential Pr opriety.
XMLGen Paging Pr oper ty
Paging operations are per formed on the client byretrieving the full XML result set and per forming an XSLT retransformation of the cached stylesheet
0XMLClientSide!
Paging operations use client-side script callbacks1Callback!
Paging operations are posted to the server 0Postback!
DescriptionNumericValue
Value
-
8/17/2019 PowerBuilder 10.5 Launch and Learning Event
19/34
Power Builder 10.5 and 11.0 Featur es 19
Sybase Conf idential Pr opriety.
Demonstration
Sybase Conf idential Pr opriety.
New Ink Contr ol Pr oper ties
❧ The SaveInk method saves overlay ink to a f ile or blob f r om anInkPictur e contr ol in a DataWindow
❧ The SaveInkPic method saves a pictur e, and optionally overlay ink, to a f ile
❧ ResetInk clears the ink f r om the contr ol
-
8/17/2019 PowerBuilder 10.5 Launch and Learning Event
20/34
Power Builder 10.5 and 11.0 Featur es 20
Sybase Conf idential Pr opriety.
dbAlias DataWindow Ob ject Pr oper ty
❧ The dbAlias DataWindow ob ject pr oper ty allows you to get columnnames that use the alias for a table name in a script
❧ Use this pr oper ty if you have def ined an alias for a table name in theSELECT statement for a DataWindow ob ject and you want to obtainthe column name with the table alias so that you can manipulate theupdate WHERE clause dynamically
Sybase Conf idential Pr opriety.
DataWindow Enhancements
Autosize Height for All DataWindow Bands
❧ All Bands Suppor ted (not just detail band)
❧ Band will r esize for Nested DataWindows
Limitations of the Height.Autosize pr oper ty
❧ The Height.Autosize pr oper ty is not suppor ted on DataWindows withGr aph, Label, OLE, or Rich Text pr esentation styles.
❧ Nested r epor t over f low to the next page is suppor ted in Detail bands only.
❧ Bands cannot be autosized if autosizing would pr eclude the display of atleast one Detail band r ow per page.
-
8/17/2019 PowerBuilder 10.5 Launch and Learning Event
21/34
Power Builder 10.5 and 11.0 Featur es 21
Sybase Conf idential Pr opriety.
Suppress Gr oup Headers on PageBreak
❧ A new pr oper ty to suppr ess the gr oup headers that display in agr ouped DataWindow ob ject after a page br eak
❧ Does not suppr ess gr oup headers that display on a gr oup br eak
❧ If you have mor e than one gr oup header , you can enable the new pr oper ty on one gr oup header and leave it disabled on another gr oup header
Sybase Conf idential Pr opriety.
Suppr ess Gr oup Header s on PageBreak
❧ You enable the suppr ess gr oup header pr oper ty by selecting the Suppr ess Gr oup Header check box in the Pr oper ties view for a gr oup header band.You can verif y the pr oper ty setting at r untime with one of the followingmethods:
string s
s = dw_1.describe("datawindow.header.1.SUPPRESS")
s = dw_1.ob ject.datawindow.header.1.suppress
You can modif y the pr oper ty setting at r untime by one of the following methods:
dw_1.modif y("datawindow.header.1.SUPPRESS=no")
dw_1.ob ject.datawindow.header.1.suppress=no
-
8/17/2019 PowerBuilder 10.5 Launch and Learning Event
22/34
Power Builder 10.5 and 11.0 Featur es 22
Sybase Conf idential Pr opriety.
Suppress Mar gin Bor der Line in Print Preview Mode
❧ By default, a blue line displays in Print Pr eview mode to show the location of the mar gins
❧ You can hide this line by clearing the Print Pr eview Shows Outline check box on the Print Specif ications page in thePr oper ties view in the DataWindow painter
Sybase Conf idential Pr opriety.
Rich Text DataWindow Pr esentation Style Changes
❧ In Power Builder 10.5, the Pr eview view of the DataWindow painter for a RichText DataWindow is "WYSIWYG" (what you see is whatyou get) and r ead-only
❧ When you set content in Detail view for the DataWindow header andfooter , the Pr eview view displays the header and footer at the sametime as the DataWindow r ow details
❧ In pr evious versions of Power Builder , you wer e r equir ed to open thePrint Pr eview view to pr eview the document body and page mar gins
simultaneously
-
8/17/2019 PowerBuilder 10.5 Launch and Learning Event
23/34
Power Builder 10.5 and 11.0 Featur es 23
Sybase Conf idential Pr opriety.
Rich Text DataWindow Presentation Style Changes
❧ With the focus in the Pr eview view of the DataWindow painter , youcan still select the File>Print Pr eview menu item to pr eview thedocument befor e it is sent to the printer
❧ Since the pr eview is WYSIWYG, the panel to contr ol mar gins in thePrint Pr eview view has been r emoved
❧ In pr evious builds of Power Builder , the panel for the page mar gins also included buttons to scr oll thr ough the pages of the DataWindow document
❧ In Power Builder 10.5, you must pr ess the Page Up and Page Dnkeys to change pages in the Print Pr eview view
Sybase Conf idential Pr opriety.
Demonstration
-
8/17/2019 PowerBuilder 10.5 Launch and Learning Event
24/34
Power Builder 10.5 and 11.0 Featur es 24
Sybase Conf idential Pr opriety.
User Inter f aceEnhancements
Sybase Conf idential Pr opriety.
New Bitmaps and Icons
❧ Pr ovideupdated look to IDE
❧ Allow use inapplication
-
8/17/2019 PowerBuilder 10.5 Launch and Learning Event
25/34
Power Builder 10.5 and 11.0 Featur es 25
Sybase Conf idential Pr opriety.
Menu Enhancements
❧Styles
❧Tr aditional
❧Contempor ary
❧Style attributes
❧Shadow
❧Bitmaps (16x16 and 32x32)
❧Titles❧Main backgr ound color
❧Bitmap backgr ound color
❧Highlight color
Sybase Conf idential Pr opriety.
Toolbar Enhancements
❧Styles
❧Tr aditional
❧Contempor ary
❧Style attributes
❧Titles
❧Main backgr ound color
❧Bitmap backgr ound color ❧Highlight color
❧Text color
❧ Allow toolbars to be attached to top-level non-MDI Windows
-
8/17/2019 PowerBuilder 10.5 Launch and Learning Event
26/34
Power Builder 10.5 and 11.0 Featur es 26
Sybase Conf idential Pr opriety.
Demonstration
Sybase Conf idential Pr opriety.
Web Ser vicesEnhancements
-
8/17/2019 PowerBuilder 10.5 Launch and Learning Event
27/34
Power Builder 10.5 and 11.0 Featur es 27
Sybase Conf idential Pr opriety.
Web Services Enhancements
Adding .NET’s Web Services SDK ❧ Better data type suppor t
❧ Security and Authentication
EasySOAP Implementation❧ Will be left intact, but not enhanced
Sybase Conf idential Pr opriety.
.NET Web Service Engine
❧ Can handle the XML-type arr ay datatype
❧ Suppor ts the tr ansmission of security constr aints in the header sections in the SOAP message envelope
❧ Suppor ts the latest Web service standar ds
To use this engine, you must have the wsdl.exeWeb service tool on the development computer
❧ Requir ed to parse WSDL f iles and gener ate C# code for a.NET assembly
-
8/17/2019 PowerBuilder 10.5 Launch and Learning Event
28/34
Power Builder 10.5 and 11.0 Featur es 28
Sybase Conf idential Pr opriety.
.NET Web Service Engine
The wsdl.exe f ile installs with the .NET SDK
It is not required on deployment computers❧ Deployment computers must have the .NET 2.0 Fr amework to
consume a Web service that depends on the .NET Webservice engine
Sybase Conf idential Pr opriety.
Demonstration
-
8/17/2019 PowerBuilder 10.5 Launch and Learning Event
29/34
Power Builder 10.5 and 11.0 Featur es 29
Sybase Conf idential Pr opriety.
PowerBuilder 11 and.NET
Sybase Conf idential Pr opriety.
Power Builder’s 4-Phase .NET Initiative
WebServices
WebServices
DataWindow.NETDataWindow.NET .NETCompiler
.NETCompiler
Power Builder a .NET Language
Power Builder a .NET Language
Power Builder
11
22 33
44
Power Builder’s
.NET Integration❧ Goals
❧ Build .NET classes
❧ Consume .NET classes
❧ Inherit f r om .NET classes
❧ Implement .NET inter faces
❧ Phased appr oach
❧ .NET Deployment (PB11)
❧ .NET Tar gets
-
8/17/2019 PowerBuilder 10.5 Launch and Learning Event
30/34
Power Builder 10.5 and 11.0 Featur es 30
Sybase Conf idential Pr opriety.
Power Builder .NET Compiler Inter nals
.NET Integration ❧ Compiler steps: Relies on r edistributing .NET SDK’s C# compiler
PBL Files PB2CS
PB Compiler Framework
PB System Library
for .NET
C# CodeWinForm/ASP .NET
Application
G e n e r a t e s
C o m p i l e s
Depends On Refer ences To
Sybase Conf idential Pr opriety.
.NET WinForm Suppor t
❧ Implemented using .NET Windows Forms contr ols
❧ PB Runtime Assemblies r ather than “old school” PBVM
❧ Your applications deployed as .NET Assemblies
❧ Lever ages DataWindow .NET technology
Deploy Power Builder Applications to the Web
Quickly, Easily
❧ Tr ansforms your applications into ASP .NET 2.0 code
❧ Suppor ting most featur es of Power Builder
.NET Compiler
-
8/17/2019 PowerBuilder 10.5 Launch and Learning Event
31/34
Power Builder 10.5 and 11.0 Featur es 31
Sybase Conf idential Pr opriety.
.NET Compiler
.NET Smar t Client Suppor t❧ Solve the biggest headache of all – Application Deployment
❧ The Best of the Rich Client World
❧ The Ubiquity of the Web
❧ Always up-to-date applications via Smar t updates
❧ Install as much or as little as you want on a client PC
❧ Utilize network r esources
❧ Maximize per formance using client r esources
❧ Communicate Utilizing Web Services
Sybase Conf idential Pr opriety.
Power Builder .NET Compiler Demo
ASP .NET Deployment of aPower Builder Application
-
8/17/2019 PowerBuilder 10.5 Launch and Learning Event
32/34
Power Builder 10.5 and 11.0 Featur es 32
Sybase Conf idential Pr opriety.
Power Builder .NET Compiler Demo
Windows Forms Deployment of a Power Builder Application
Sybase Conf idential Pr opriety.
Power Builder Roadmap
Q12006
Q22006
Q32006
Q12007
Power Builder 10.5• DataWindow Enhancements
• Tr eeView Pr esentation Style
• Auto-size Height for All DataWindow Bands
• UI Enhancements• DateTime Picker
• Menus and Toolbars• New Icons and Bitmaps
• DB Services Enhancements• Native driver for ASE 15.0
• Web Services Enhancements• Suppor t Complex Data Types
• Security / Authentication
Power Builder 11.0.NET Compiler
• ASP .NET Deployment• WinForms Deployment• Smar t Client Suppor t
Web DataWindowEnhancements
Power Builder Application Server Plugin• Deploy PB NVOs dir ectly to 3r d Par ty Application
Servers•
WebSpher e• WebLogic
• JBoss
• Or acle
• Ger onimo
-
8/17/2019 PowerBuilder 10.5 Launch and Learning Event
33/34
Power Builder 10.5 and 11.0 Featur es 33
Sybase Conf idential Pr opriety.
Asia Pacif ic Resources
www.ap.sybase.com/for um
Sybase Conf idential Pr opriety.
Power Builder 10.5 Launch and Lear ning Event
Q & A
-
8/17/2019 PowerBuilder 10.5 Launch and Learning Event
34/34
Sybase Conf idential Pr opriety.
Simply purchase a new license or an upgradelicense for Power Builder 10.5 and receive a one yearUpgrade Subscription Plan (USP), a $645 value,
absolutely f ree
Off er expires June 30, 2006
PowerBuilder 10.5 New Features
➘User Interface with new icons, menus, toobars, rich text control
and date picker control
➘Treeview DataWindow presentation style
➘Enhanced DataWindow functionality, such as autosize height on
all DataWindow bands and suppress group header on page-break
➘Byte and 28 Digit Decimal datatypes
➘Support for Oracle 10g and ASE 15
To order this great new version of PowerBuilder visit:
www.sybase.com/eshop
and enter the pr omotion code: PBRDSHW