Software:PowerBuilder

From HandWiki
Revision as of 15:21, 14 February 2024 by John Marlo (talk | contribs) (fixing)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Short description: Software development tool
Appeon PowerBuilder
PowerBuilder 2017 Logo.png
Developer(s)SAP/Appeon
Initial releaseJuly 1992
Stable release
PowerBuilder 2022 r3 / Janvier 8, 2024
Preview release
None
Written inC++ and C#
Operating systemMicrosoft Windows
Available inEnglish, Japanese for the IDE (numerous languages supported for deployed applications)
TypeIDE
LicenseCommercial

PowerBuilder is an integrated development environment owned by SAP since the acquisition of Sybase in 2010. On July 5, 2016, SAP and Appeon entered into an agreement whereby Appeon, an independent company, would be responsible for developing, selling, and supporting PowerBuilder.[1]

Over the years, PowerBuilder has been updated with new standards. In 2010, a major upgrade of PowerBuilder was released to provide support for the Microsoft .NET Framework.[2] In 2014, support was added for OData, dockable windows, and 64-bit native applications.[3] In 2019 support was added for rapidly creating RESTful Web APIs and non-visual .NET assemblies using the C# language and the .NET Core framework. And PowerScript client app development was revamped with new UI technologies and cloud architecture.[4]

Appeon has been releasing new features every 6-12 month cycles, which per the product roadmap focus on four key focus areas: sustaining core features, modernizing application UI, improving developer productivity, and incorporating more Cloud technology.[5]

Features

PowerBuilder has a native data-handling object called a DataWindow, which can be used to create, edit, and display data from a database. This object gives the programmer a number of tools for specifying and controlling user interface appearance and behavior, and also provides simplified access to database content and JSON or XML from Web services. To some extent, the DataWindow frees the programmer from considering the differences between Database Management Systems from different vendors. DataWindow can display data using multiple presentation styles and can connect to various data sources.

Usage

PowerBuilder is used primarily for building business CRUD applications.

Although new software products are rarely built with PowerBuilder, many client-server ERP products and line-of-business applications built in the late 1980s to early 2000s with PowerBuilder still provide core database functions for large enterprises in government,[6][7][8] higher education,[9] manufacturing, insurance, banking,[10] energy, and telecommunications.

Job openings for PowerBuilder developers are readily available but often revolve around maintaining existing applications.

History

The First version of PowerBuilder was released by PowerSoft in July 1991 [11]

In December 2013 SAP announced the new version going directly to number 15 and released a beta version.[12] Key features included support for the .NET Framework v4.5, SQL Server 2012, Oracle 12, Windows 8, OData and Dockable Windows. SAP later released this as version 12.6.

On May 31, 2019 PowerBuilder 2019 was launched by Appeon. This release supports C# development. It provides a new C# IDE, .NET data access objects, C# migration solution, Web API client, and UI themes.[13]

On April 3, 2020 PowerBuilder 2019 R2 was launched by Appeon. This release includes a first-ever PowerScript-to-C# code converter, which can automatically migrate 80-95% of PowerBuilder business logic and DataWindows to C#.[14] Interoperability between PowerScript and .NET programming languages is also now supported. Many existing features have also been enhanced.

On January 22, 2021 PowerBuilder 2019 R3 was launched by Appeon. This release provides a groundbreaking new app deployment technology called PowerClient, which securely automates the installation and update of client apps over HTTPS. C# Web API development has been greatly enhanced with asynchronous programming and support for Amazon Aurora and Azure cloud databases. Aside from many other new features, PowerBuilder 2019 R3 is a long-term support (LTS) version that replaces previous LTS versions[15]

On August 6, 2021 PowerBuilder 2021 was launched by Appeon. The Cloud deployment capability of the PowerBuilder 2021 IDE, in conjunction with the matching PowerServer 2021 runtime, has been completely revamped to handle the most daunting projects with ease and bring PowerBuilder up-to-date with the latest .NET technologies. The presentation layer now executes PowerScript natively on Windows devices. The middle-tier has been rebuilt around REST API standard with a pure .NET Core implementation. Added a new CI/CD utility that integrates with Git/SVN and Jenkins, compiles all PowerBuilder projects using the command-line interface. It includes many other new features, making PowerBuilder one of the easiest and most productive tools for developing Installable Cloud Apps.[16]

On September 4, 2022 PowerBuilder 2022 was launched by Appeon. This release brings enhancements to the productivity of developing both client/server & installable cloud apps and more security measures to safeguard your apps. It includes many new features, including Windows 11 support, introducing time-saving functionalities to the IDE, such as Tabbed Code Editor, Jump to Objects, and Quick Code Search, and supports the latest HTTP/2 and TLS 1.3 protocols and two-way TLS authentication.[17]

Features

PowerBuilder is an object-oriented programming language. Nearly all of the visual and non-visual objects support inheritance, polymorphism, and encapsulation. The programmer may utilize a common code framework such as PowerBuilder Foundation Classes, also known as PFC, to inherit objects from and leverage pre-existing code.[18]

The DataWindow is the key component (and selling point) of PowerBuilder. The DataWindow offers a visual SQL painter which supports outer joins, unions and subquery operations. It can convert SQL to visual representation and back, so the developer can use native SQL if desired. DataWindow updates are automatic — it produces the proper SQL at runtime based on the DBMS to which the user is currently connected. This feature makes it easier for developers who are not experienced with SQL.

The DataWindow also has the built-in ability to both retrieve data and update data via stored procedures or REST Web APIs as well as import/export JSON data. The RESTClient object introduced in PowerBuilder 2017 facilitates bridging the DataWindow with REST Web APIs and requiring minimal coding.[19]

RDBMS interfaces

PowerBuilder offers native interfaces to all major databases, as well as ODBC and OLE-DB, in the Enterprise version. There are many connectivity options that allow performance monitoring and tuning, such as:

  1. Integrated security
  2. Tracing of all SQL
  3. Isolation level
  4. Password expiration dialog
  5. Blocking factor
  6. Number of SQL statements to cache
  7. Use connection pool
  8. Thread safety
  9. Trace ODBC API calls

Due to the information about the database schema (such as primary key information) that are stored in PowerBuilder's data dictionary, the code required to implement data display and browsing is greatly simplified, because the dictionary information allows generation of the appropriate SQL behind the scenes.

PowerBuilder supports the following ways of interacting with a database:

DataWindow: this is the simplest approach, relying on automatically generated SQL.

"Embedded SQL"
Embedded SQL supports SELECT, INSERT, UPDATE, DELETE and cursors. This option is used when the developer desires more control than is available with the DataWindow option. Example:
UPDATE my_employee SET STATUS = 'A';
 IF sqlca.sqlcode<>0 THEN ...
"Dynamic SQL"
This is a form of parameterized SQL, where the user builds a string that may optionally have bind variables. Dynamic SQL may be used to create cursors as well.

Integration with third-party software

PowerBuilder supports ActiveX and OCX controls, both visible and non-visible. It also can use OLE Automation as a client. However, PowerBuilder supports only late binding, not early binding. Therefore, when using OLE Automation, a dropdown of possible actions is not provided. PowerBuilder can also act as a DDE client or server, providing a further mechanism to interoperate with other applications.

PowerBuilder can make Windows and third-party API calls, and, in general, works well with third-party libraries in DLL files, however it does not directly support callback functions.

Compilation and debugging

PowerBuilder offers a "/pbdebug" (or variants: "-pbdebug", "-pbd", "/debug", "-debug", "-deb") runtime switch, which creates a log file. This can help track down a bug "in the field", as the user simply emails this log file to the developer. It has another feature which can log all SQL statements to a file. It also has built-in performance profiling, an integrated debugger, context-sensitive help, and an active newsgroup to provide support.

PowerBuilder applications are typically compiled to p-code, which is then interpreted by the PowerBuilder run time. An application can also be compiled to machine code, which can sometimes offer a performance benefit.

Criticism

Extensibility of the language was rather limited for older versions of PowerBuilder. The technologies provided to overcome this (ex. PowerBuilder Native Interface, or PBNI) is rather tricky. To develop a solution that includes external C++ code may not only require a competent C++ developer, but also a PowerBuilder expert to guide the developer through the myriad subtleties of the language and the PowerBuilder Virtual Machine.

Inheritance and object-oriented features are limited to some object types (Windows, Userobjects and Menus). In particular, it is not possible to inherit from a DataWindow. A PowerBuilder user cannot open a descendant and a parent at the same time in the painter, though they can see all ancestors' code while working on the descendant.

To address these criticisms, Appeon has set a new roadmap for PowerBuilder, which it publishes openly on the Appeon Website.[20] Amongst developers, the (classic) PowerScript language itself, which is still available for compatibility reasons, is known as a "language built around the DataWindow", and PowerBuilder is known as the "IDE built around the DataWindow". C# development centered around a new .NET DataWindow with automated migration of existing DataWindows was introduced in PowerBuilder 2019.[21]

Community

Since Appeon took over PowerBuilder, it has launched a new official community website for PowerBuilder developers. This community website offers technical articles, webinars, and Q&A, which are authored by community users. Appeon also hosts an annual user conference called Appeon Elevate, and recordings of the conference sessions are available from the conference website. There are a number of local user groups around the world that cooperate with Appeon to deliver abridged versions of the conference in seminar format and local language. [22]

There are also a variety of grass roots community groups and resources for PowerBuilder developers to share and convene. PowerBuilderTV[23] is series of webinars by PowerBuilder users and vendors that tend to focus on third party add-ons. PowerBuilder Central[24] is a community initiative to create a single source for third party add-ons and services.

PowerBuilder Tools

  • Appeon PowerServer - Deploys existing or new PowerBuilder projects as Cloud-native applications that runs on .NET Core with support for almost every single PowerBuilder feature, including the PFC framework.[25]
  • Visual Expert for PowerBuilder - Visual Expert helps in sharing the knowledge of your applications. It also automates impact analysis and checks code quality.[26]
  • Enable Multilingual - Enable makes PowerBuilder applications multilingual quickly and easily. Using Enable, developers can only need to make a few small changes to the original PowerBuilder code to go from monolingual to multilingual.[27]
  • ProDiff for PowerBuilder - ProDiff is designed to highlight the differences between versions of PowerBuilder development source code.[28]
  • Visual Guard for PowerBuilder - Visual Guard is an access control and application-level permissions tool. It helps you centralize view and control of users and their rights in PowerBuilder applications.[29]
  • STD Framework for PowerBuilder - A Free object oriented development framework for PowerBuilder Classic, Web Services, Appeon PowerServer Web and Mobile.[30]
  • Ultimate Suite for PB - A suite of controls, written in PowerScript, that modernizes the GUI of PowerBuilder applications; Ultimate Suite for PB gives applications a contemporary look and makes them more user-friendly.[31]
  • AscentialTest - Automated testing for PowerBuilder, web, and others. Deep integration with the PowerBuilder VM api's allow AT to see and understand PB objects.
  • PowerGen - Automated build and regeneration of PowerBuilder applications. Supports building directly from Source Control.[32]

References

  1. Martin Berner. "Appeon Signs Agreement with SAP to Bring Major Innovations to PowerBuilder". SAP Community Network. http://scn.sap.com/community/powerbuilder/blog/2016/07/05/appeon-signs-agreement-with-sap-to-bring-major-innovations-to-powerbuilder. 
  2. "Sybase PowerBuilder tool readied for Microsoft's .Net". Sybase. 18 August 2009. http://www.infoworld.com/d/developer-world/sybase-powerbuilder-tool-readied-microsofts-net-965. 
  3. "SAP announces PowerBuilder 12.6". https://www.powerbuilder.eu/powerbuilder-blog/438-new-powerbuilder-release-sap-announces-powerbuilder-126. 
  4. "PowerBuilder 2019 Press Release". Appeon. https://www.appeon.com/company/news/appeon-releases-powerbuilder-2019-new-ui-technology-and-c-development-capability.html. 
  5. "Appeon Products Roadmap". Appeon. https://www.appeon.com/developers/roadmap. 
  6. "Java Vs .NET: Pros and Cons of Migrating PowerBuilder Applications To either of those Technologies". https://kumaran.com/blogs/powerbuilder-migration-java-vs-net-pros-cons/. 
  7. "PowerBuilder World Tour". http://powerbuilder-world-tour.com/EN/powerbuilder-world-tour-cities/north-america-pb-envents/agenda-may6.html. 
  8. "Superior Court of Orange County Applications Developer I/II (Oracle/.NET) - PRIMARILY REMOTE OPPORTUNITY Job in Orange, CA" (in en). https://www.glassdoor.com/job-listing/applications-developer-i-ii-oracle-net-primarily-remote-opportunity-superior-court-of-orange-county-JV_IC1146843_KO0,67_KE68,99.htm. 
  9. "PowerCampus™ by Ellucian" (in en). http://www.ellucian.com/Software/PowerCampus-by-Ellucian/. 
  10. "The Bank of New York Mellon Specialist Developer (Mainframe DB2/IMS, CICS, IMS/DC, Powerbuilder, .Net) Job in New York, NY" (in en). https://www.glassdoor.com/partner/jobListing.htm?pos=215&ao=173064&s=58&guid=0000015ee3c484549b0750102ff37b83&src=GD_JOB_AD&t=SR&extid=1&exst=O&ist=L&ast=OL&vt=w&slr=true&rtp=0&cb=1507059860757&jobListingId=2549588940. [|permanent dead link|dead link}}]
  11. "PowerSoft History PowerBuilder History". http://www.lannigan.org/powersoft_powerbuilder_history.htm. 
  12. "PowerBuilder 15 beta is here!". sap.com. http://scn.sap.com/community/developer-center/powerbuilder/blog/2013/12/11/powerbuilder-15-beta-is-here. 
  13. "PowerBuilder 2019 Press Release". Appeon. https://www.appeon.com/company/news/appeon-releases-powerbuilder-2019-new-ui-technology-and-c-development-capability.html. 
  14. "PowerBuilder 2019 R2 Press Release". Appeon. https://www.appeon.com/company/news/appeon-releases-powerbuilder-2019-r2-automated-c-migration-solution.html. 
  15. "PowerBuilder 2019 R3 Press Release". Appeon. https://www.appeon.com/company/news/powerbuilder-2019-r3-released-automated-app-deployment-long-term-support.html. 
  16. "Appeon Releases PowerBuilder 2021 with Revamped Cloud Deployment | Appeon Website". https://www.appeon.com/company/news/appeon-releases-powerbuilder-2021-revamped-cloud-deployment.html. 
  17. "Appeon Releases PowerBuilder 2022 | Appeon Website". https://www.appeon.com/company/news/appeon-releases-powerbuilder-2022.html. 
  18. "EHS | Health & Safety | Quality Management Software | Intelex". http://www.ecocion.com/about-us/publications/it-development/sybase-powerbuilder/powerbuilder-foundation-class-help. 
  19. "RESTClient Tutorial - Calling Web APIs". Appeon. https://docs.appeon.com/powerbuilder/CRUD_Operations_with_.NET_DataStore/index.html#perform-crud-operations-using-the-web-api. 
  20. "PowerBuilder Roadmap". Appeon. https://www.appeon.com/developers/roadmap. 
  21. "PowerBuilder .NET API Reference". Appeon. https://www.appeon.com/support/documents/appeon_online_help/powerbuilder/api_reference/index.html. 
  22. "PowerBuilder User Group Meeting in Germany". Appeon. https://www.appeon.com/company/events/powerbuilder-user-group-meeting-germany.html. 
  23. "PowerBuilderTV". http://www.powerbuilder.tv. 
  24. "PowerBuilder Central - About Us". powerbuildercentral.com. http://www.powerbuildercentral.com. 
  25. "Appeon PowerServer Product Page". Appeon. https://www.appeon.com/products/powerserver. 
  26. "Visual Expert Product Page". Novalys. http://www.visual-expert.com. 
  27. "Enable Multilingual Product Page". Novalys. http://www.enable-pb.com. 
  28. "ProDiff Product Page". PBDR Ltd.. http://www.pro-diff.com. 
  29. "Visual Guard Product Page". Novalys. http://www.visual-guard.com. 
  30. Chris Pollach. "STD Framework Download Page". http://sourceforge.net/projects/stdfndclass. 
  31. "PB Ultimate Suite Product Page". Novalys. http://pbultimatesuite.com. 
  32. "PowerGen Overview". https://ecrane.com/index.php/powergen-our-flagship-product/powergen-overview. 

29. Ultimate Suite for PowerBuilder Product Page

External links