13
M-Power eNews VSD 加值服務部 王詩齡 November 11 M-Power eNew 本篇文章版權為倍力資訊股份有限公司所有,未經書面同意,嚴禁複製、轉載 Page 1 of 13 PowerBuilder 12.5 產品新功能介紹 前言: !Sybase PowerBuilder 12.5 2011 年第三季已經正式上市,PowerBuilder 12.5 延續前一版 本隨附了兩種 IDE(整合開發環境) 、以及新版的 SQL Anywhere12 InfoMaker12.5 等相關開發 軟體。您可以使用 PowerBuilder Classic IDE 來開發 Client/Server N-Tier 系統架構的 Win32 應用程式,或是部署成.NET Win Forms.NET Web Forms 等應用程式。您也可使用 PowerBuilder .NET IDE ,整合最新的.NET 4.0 Framework Microsoft Visual Studio 2010 Shell 部署 Managed 程式碼,透過此開發.NET 最新的 WPF(Windows Presentation Foundation)應用 程式和 WCF(Windows Communication Foundation)應用程式。同時,您還可以將所有的 PB 件轉換成 PB Assembly 提供 PowerBuilder .NET 其他的應用程式使用,或者是將 NVOCVUO 轉換成.NET Assembly 提供其他的.NET 開發環境的應用程式使用,另外.NET 也提供開發 REST Client 讓程式更容易取得 Web Service。由此看來,PowerBuilder 在整合.NET 上是更跨越了一 大步。當然,PowerBuilder 12.5 並非僅僅提升.NET 的功能而已,對於 PowerBuilder 本身 DataWindow 的優勢更是強化了不少,在 Win32 程式的開發上也加強了許多功能。接下來將介 紹更多 PowerBuilder 12.5 的新功能,就讓我們拭目以待吧。本文內容首先彙整了 PowerBuilder 12.5 的產品支援,並與前一版本進行差異性比較,以提供各位讀者參考,再依照分類為各位詳 細地介紹 PowerBuilder 12.5 的新功能。 PowerBuilder 12.5 產品支援: PowerBuilder 12.5 因延續了 12.0 的開發功能與支援,所以除了列出新版本的產品支援外,亦對 兩版本的各項差異進行比較,包含開發環境、部署環境、資料庫及其他相關軟體及產品支援四個 部分,請參閱表 1 至表 4PowerBuilder 12.5 為了許多新功能的開發,必須使用較新版的軟體 及產品,而開發與部署的環境幾乎完全可向下相容的,至於是否支援 Microsoft 最新的 Windows 8 作業系統,因目前該版本尚為 Beta 版且相較 PowerBuilder 12.5 上市較晚,須待上市後始可測 試。 1. 開發環境(Development) 1 開發環境比較表 作業系統 PowerBuilder 12.5 PowerBuilder 12.0 Microsoft Windows XP(SP3) Microsoft Windows Server 2003(SP2) 官方未對此版本說明 Microsoft Windows Vista(SP2_32bit)

PowerBuilder 12.5 產品新功能介紹 - M-Power 倍力資 … · M-Power eNews VSD 加值服務部 王詩齡 November 11 M-Power eNew 本篇文章版權為倍力資訊股份有限公司所有,未經書面同意,嚴禁複製、轉載

Embed Size (px)

Citation preview

  • M-Power eNews VSD

    November 11 M-Power eNew

    Page 1 of 13

    PowerBuilder 12.5

    !Sybase PowerBuilder 12.5 2011 PowerBuilder 12.5

    IDE() SQL Anywhere12 InfoMaker12.5

    PowerBuilder Classic IDE Client/Server N-Tier Win32

    .NET Win Forms.NET Web Forms

    PowerBuilder .NET IDE.NET 4.0 Framework Microsoft Visual Studio 2010 Shell

    Managed .NET WPF(Windows Presentation Foundation)

    WCF(Windows Communication Foundation) PB

    PB Assembly PowerBuilder .NET NVOCVUO

    .NET Assembly .NET .NET REST

    Client Web ServicePowerBuilder .NET

    PowerBuilder 12.5 .NET PowerBuilder

    DataWindow Win32

    PowerBuilder 12.5 PowerBuilder

    12.5

    PowerBuilder 12.5

    PowerBuilder 12.5 PowerBuilder 12.5 12.0

    1 4PowerBuilder 12.5

    Microsoft Windows

    8 Beta PowerBuilder 12.5

    1. (Development)

    1

    PowerBuilder 12.5 PowerBuilder 12.0

    Microsoft Windows XP(SP3)

    Microsoft Windows Server 2003(SP2)

    Microsoft Windows Vista(SP2_32bit)

  • M-Power eNews VSD

    November 11 M-Power eNew

    Page 2 of 13

    Microsoft Windows 7 (SP1_32 bit _64 bit)

    2. (Development)

    2

    PowerBuilder 12.5 PowerBuilder 12.0

    Microsoft Windows XP

    Microsoft Windows Server 2003

    Microsoft Windows Vista

    Microsoft Windows 7

    Microsoft Windows Server 2008

    3. (Native Database Interfaces)

    3

    PowerBuilder 12.5 PowerBuilder 12.0

    Adaptive Server Enterprise Adaptive Server

    versions 11.x, 12.x,

    and 15.x

    Adaptive Server

    versions 11.x, 12.x,

    and 15.x

    Informix IBM Informix

    Dynamic Server

    (IDS) database

    version

    9.x or later

    IBM Informix Dynamic

    Server (IDS) database

    version

    9.x or later

    Microsoft SQL Server Microsoft SQL Server

    20002005 and 2008

    Microsoft SQL Server

    20002005 and 2008

    Oracle Oracle9iOracle 10g

    and Oracle 11g

    Oracle9iOracle 10g

    and Oracle 11g

    4.

    4

    PowerBuilder 12.5 PowerBuilder 12.0

    Application servers PowerBuilder Classic has

    been tested with EAServer

    6.3.1.

    PowerBuilder Classic has

    been tested with EAServer

    5.5 patched with EBF 13993

  • M-Power eNews VSD

    November 11 M-Power eNew

    Page 3 of 13

    and EBF 14146, and with

    EAServer 6.3.

    SQL Anywhere PowerBuilder 12.5 has been

    tested with SQL Anywhere

    12.0.1.

    PowerBuilder 12.0 has been

    tested with SQL Anywhere

    11.0.1, and with the SQL

    Anywhere 11.0.1 Runtime

    Edition.

    PowerDesigner PowerBuilder 12.5 has been

    tested with

    PowerDesigner 15.3 ESD

    #9.

    PowerBuilder 12.0 has been

    tested with

    PowerDesigner 12.5.

    Microsoft .NET

    Framework

    PowerBuilder .NET and

    PowerBuilder Classic are

    compatible with

    Microsoft .NET Framework

    4.0 and later.

    PowerBuilder .NET is

    compatible with

    Microsoft .NET Framework

    3.5 Service Pack 1.

    PowerBuilder Classic is

    compatible with

    Microsoft .NET Framework

    2.0 and later. However,

    for .NET Web Forms

    applications and .NET Web

    Service components, you

    must install AJAX Extensions

    version 1.0 (build 61025.0)

    from a separate

    downloadeven if you

    already installed the AJAX

    Extensions version that is

    included in .NET Framework

    3.5.

    Web browsers PowerBuilder Web Forms

    applications are fully

    supported in Internet

    Explorer 6 and later

    browsers.

    PowerBuilder Web Forms

    applications are fully

    supported in Internet

    Explorer 6 and later

    browsers.

    Java PowerBuilder Classic is PowerBuilder Classic is

  • M-Power eNews VSD

    November 11 M-Power eNew

    Page 4 of 13

    compatible with JDK 1.5 and

    1.6.

    compatible with JDK 1.5 and

    1.6.

    Ghostscript The DataWindow Save As

    PDF feature has been tested

    with AFPL Ghostscript

    version 8.60.

    The DataWindow Save As

    PDF feature has been tested

    with AFPL Ghostscript

    version 8.60.

    PowerBuilder 12.5 1. WPF DataWindow Enhancements

    I. Grid style DataWindow

    PowerBuilder 12.5 DataWindow

    DataWindow

    Autosize Width

    i. None()

    ii. Widest Shown

    iii. Widest on Page

    iv. Widest Retrieval

    II. DataWindow Controls Tab Order Enabled

    PowerBuilder ( ButtonGraphPicture Text )

    DataWindow

    PowerBuilder 12.5 DataWindow Controls Tab Order Enabled

    DataWindow Controls

    III. Debug Data Buffer

    Design-time Debug All Variables

    Data Buffer 1 DataWindow List Visualizer

    DataWindow Visualizer Data Buffer PrimaryDeleted Filtered

    2

  • M-Power eNews VSD

    November 11 M-Power eNew

    Page 5 of 13

    1 All Variables Data Buffer

    2 DataWindow Visualizer Data Buffer

    IV. Child DataWindow Control

    Child DataWindow WPF DataWindow

    DataWindow(Nest) DataWindowChild DataWindow Hscrollbar

    Vscrollbar LiveScroll AutoSizeHeight

    3

    Composite DataWindow Child DataWindow

    Child DataWindow

    Composite DataWindow Composite DataWindow

    Create as composite control DataWindow

  • M-Power eNews VSD

    November 11 M-Power eNew

    Page 6 of 13

    3 Child DataWindow Control

    V. (Candlestick Graph) Style DataWindow

    PowerBuilder 12.5 (Candlestick Graph) Style DataWindow

    Open()Close()High()Low()

    4

    4 (Candlestick Graph)

  • M-Power eNews VSD

    November 11 M-Power eNew

    Page 7 of 13

    2. New Target Types I. WCF Services Target

    WCF Service .NET 4.0 Framework ASP.NET

    Web Service IIS Server Web Service HTTP(s)

    TCPMSMQ Named Pipes Transport Level

    Message Level

    WCF Service

    i.

    ii. WCF (DataContract)Client

    Link Compiler

    iii. WCF

    Web Service WCF WCF

    ASMX / WSE (ASMX ASP.NET

    Web WSE Web Services Enhancements)

    iv. WCF Message Queuing(MSMQ) Queue

    Queue Client

    Server

    v. WCF WS-* Web Service Enhancements

    Web Service Enhancements

    (ReliableMessaging)(Security)(Reliability)

    (Addressing)(Transaction)

    II. PB Assembly Target

    PowerBuilder .NET PBL *.dll Assembly

    PowerBuilder .NET

    III. Custom Visual User Objects (CVUO) .NET Assembly

    .NET Assembly Target WPF Window (CVUO)

    .NET Assembly.NET PowerBuilder

    (DataWindow) Microsoft Visual Studio WPF

    Window

    3. REST Client support

  • M-Power eNews VSD

    November 11 M-Power eNew

    Page 8 of 13

    PowerBuilder 12.5 Rest Client

    Web REST Web Service

    HTTPURIXML HTML

    URI

    HTTP

    GETPOSTPUT DELETE

    JSONXML HTML Clien Web Service

    PowerBuilder .NET IDE REST Client

    Google Translate API 5 REST

    i. Google Translate API URI

    https://ajax.googleapis.com/ajax/services/language/translate

    ii. Web Service GET

    iii. Web Service JSON

    5 REST

    REST Google Translate API Client WPF Window

    Client

    Request: GET

    https://ajax.googleapis.com/ajax/ser

    vices/language/translate

    googleTranslate proxy

    proxy = create googleTranslate

    mle_1.text = "Hello, my friend!"

    result = proxy.GetMessage("1.0", string(mle_1.text), "en|zh-TW")

    Server

    https:// .. / { id }

    POST / GET / PUT / DELETE

    Response: JSON

    https://ajax.googleapis.com/ajax/ser

    vices/language/translate?v=1.0&q=

    Hello,%20my%20friend!&langpair

    =en%7Ces

    Assembly: googleApi.dll

    Proxy Object: googleTranslate

  • M-Power eNews VSD

    November 11 M-Power eNew

    Page 9 of 13

    MultiLineEdit 6

    6 Google Translate API

    REST

    i. SOAP XML+RPC(Remote Procedure Call)

    ii. Cache server

    iii. Stateless Server (Requests)

    iv. HTTP

    v. Client

    vi. JSONXML

    vii.

    4. Miscellaneous Enhancements I. (Multi-Thread)

    Shared Objecst PowerBuilder .NET

    .NET Assembly(System.Threading.Thread

    System.Threading.ThreadStart)

    PowerBuilder .NET

    PowerBuilder .NET (Instance) NVO

    (Reentrant)

    II. WPF Target *.exe *.dll

    PowerBuilder Classic Win32 PBL *.exe *.pbd

  • M-Power eNews VSD

    November 11 M-Power eNew

    Page 10 of 13

    III. .NET Events

    PowerScript .NET Events PowerBuilder .NET

    Event PowerBuilder .NET .NET

    UIElement.MouseRightButtonDown Event

    IV.

    PowerBuilder .NET Full Build Solution, Full Build Target,

    Incremental Build Solution, Incremental Build Target, Deploy Solution, Deploy Target,

    Output File, Comment, Solution and Target.

    V. Sybase ASE 15.5 BigTime BigDateTime

    Sybase ASE 15.5 BigTime BigDateTime

    5. PB Win32 Enhancements I. Grid style DataWindow

    1. WPF DataWindow Enhancements I. Grid style DataWindow

    II. DataWindow Controls Tab OrderEnabled Show Focus Rectangle

    1. WPF DataWindow Enhancements II. DataWindow Controls Tab Order

    Enabled PowerBuilder Classic IDE Show Focus Rectangle

    DataWindow Control

    III. Window Control

    PowerBuilder Classic IDE Window Control (Transparent)

    (BackColor) 7

  • M-Power eNews VSD

    November 11 M-Power eNew

    Page 11 of 13

    7 Window Control

    IV. DataWindow Object User-Drawn Control

    Paint DataWindow

    8

    8 User-Drawn Control

    6. .NET 4.0 Framework support PowerBuilder .NET NET 4.0 Framework NET 4.0

    Framework NET 4.0

    Framework

    I.

    .NET 3.5 Framework

  • M-Power eNews VSD

    November 11 M-Power eNew

    Page 12 of 13

    II.

    (Garbage Collection)

    III.

    IV. WPF

    CalendarDataGrid DatePicker

    Win7

    V. WCF

    IIS WCF

    REST

    NET 4.0 Framework

    http://msdn.microsoft.com/zh-tw/library/ms171868(v=VS.100).aspx#windows_communic

    ation_foundation

    PowerBuilder 12.5 PowerBuilder 12.5

    .NET PowerBuilder Assembly

    .NET DataWindow .NET

    PowerBuilder (Seamlessly) Win32 .NET

    PowerBuilder 12.5

    WCFREST Client CVUO .NET Assembly DataWindow

    PowerBuilder 12.5

    PowerBuilder PowerBuilder 12.5

    PowerBuilder 12.5 PowerBuilder 12.5

    (NET 4.0 Framework SDK for Windows 7 and .NET Framework 40

  • M-Power eNews VSD

    November 11 M-Power eNew

    Page 13 of 13

    )

    http://www.mpinfo.com.tw

    4 85 12

    02-2731-6868 603