Slideshow

advertisement
Charlotte PowerBuilder Conference
Moving at the Speed of Change
New Features in
PowerBuilder 12.6
Powered by
Sponsored by
May 2015
Charlotte PowerBuilder Conference
Moving at the Speed of Change



May 2015
Development lead with Integrated Data
Services for last 11 years
Previously spent 15 years as an independent
PowerBuilder consultant
Have been using PowerBuilder since version
1.0.B
Bruce Armstrong
Charlotte PowerBuilder Conference
Moving at the Speed of Change


May 2015
Charter member of TeamSybase (formerly
TeamPS), a PowerBuilder MVP and an SAP
Mentor.
Contributing author to SYS-CON's
PowerBuilder 4.0 Secrets of the Masters and
an editor of SAMs' PowerBuilder 9: Advanced
Client/Server Development
Bruce Armstrong
Charlotte PowerBuilder Conference
Moving at the Speed of Change



May 2015
Contributed numerous articles to the
PowerBuilder Developer's Journal (PBDJ)
and the ISUG Tech Journal
Editor-in-chief of PBDJ from 2004 to 2013
At one point, a technical editor for the ISUG
Tech Journal
Bruce Armstrong
Charlotte PowerBuilder Conference
Moving at the Speed of Change
Dockable Windows
64 bit compile
OData Support
Updated Support for:
.Net Framework 4.5
Windows 8
Microsoft SQL Server 2012
Oracle 12
AGENDA
May 2015
Charlotte PowerBuilder Conference
Moving at the Speed of Change
DOCKING WINDOWS
May 2015
Charlotte PowerBuilder Conference
Moving at the Speed of Change
DOCKING WINDOWS
May 2015
Charlotte PowerBuilder Conference
Moving at the Speed of Change
• Two new window types
• mdidock!
• mdidockhelp!
DOCKING WINDOWS
May 2015
Charlotte PowerBuilder Conference
Moving at the Speed of Change
May 2015
• New OpenSheet variations:
• OpenSheetAsDocument ( sheetrefvar {, windowtype }, mdiframe,
sheetname {, tabalign } )
• OpenSheetDocked ( sheetrefvar {, windowtype }, mdiframe,
position, sheetname )
• OpenSheetInTabGroup ( sheetrefvar {, windowtype },
siblingname, sheetname )
• All of these have WithParm variations as well
DOCKING WINDOWS
Charlotte PowerBuilder Conference
Moving at the Speed of Change
May 2015
• The layout of the windows can be persisted
•
•
•
•
SetSheetID ( sheetname )
SaveDockingState ( regkey )
LoadDockingState ( regkey, windowtypes, sheetnames )
OpenSheetFromDockingState ( sheetrefvar {, windowtype },
mdiframe, sheetname )
• WithParm option as well
• CommitDocking()
DOCKING WINDOWS
Charlotte PowerBuilder Conference
Moving at the Speed of Change
May 2015
• New window properties to control docking
•
•
•
•
•
•
•
WindowDockOptionAll!
WindowDockOptionTabbedDocumentOnly!
WindowDockOptionDockedOnly!
WindowDockOptionFloatOnly!
WindowDockOptionTabbedDocumentAndDockedOnly!
WindowDockOptionTabbedDocumentAndFloatOnly!
WindowDockOptionDockedAndFloatOnly!
DOCKING WINDOWS
Charlotte PowerBuilder Conference
Moving at the Speed of Change
• Tab Shape Properties
• windowdocktabslanted!
• windowdocktabrectangular!
• windowdocktabsingleslanted!
DOCKING WINDOWS
May 2015
Charlotte PowerBuilder Conference
Moving at the Speed of Change
• Tab Button Properties
• windowdocktabclosebuttonnone!
• windowdocktabclosebuttononactive!
• windowdocktabclosebuttonshared!
DOCKING WINDOWS
May 2015
Charlotte PowerBuilder Conference
Moving at the Speed of Change
64 BIT COMPILATION
May 2015
Charlotte PowerBuilder Conference
May 2015
Moving at the Speed of Change
• Only available for Pcode
NEW OPTION IN PROJECT PAINTER
Charlotte PowerBuilder Conference
Moving at the Speed of Change
May 2015
• New ProcessBitness property on Environment object can
be used to determine if application is running in 32 or 64
bit mode.
• New longptr datatype is:
• 4 bytes in 32 bit mode (same as long)
• 8 bytes in 64 bit mode (same as longlong)
64 BIT COMPILATION
Charlotte PowerBuilder Conference
Moving at the Speed of Change
May 2015
• EASYSoap not supported for web services
• You must use 32bit OLE and Active X controls during
development, but have 64 bit controls at runtime
• You must use 32 bit PBNI extensions during development, but
have 64 bit versions at runtime. They must have the same
name.
• A great number of rich text editing features do not work
properly or behave differently.
64 BIT COMPLIATION LIMITATIONS
Charlotte PowerBuilder Conference
Moving at the Speed of Change
May 2015
• The ORCAScript build executable command now has a
optional x64 argument to indicate that a 64 bit compile
should be done.
build executable exeName iconName pbrName pbdflags
[machinecode] [newvstylecontrols] [x64]
64 BIT COMPLIATION
Charlotte PowerBuilder Conference
Moving at the Speed of Change
DEMO
May 2015
Charlotte PowerBuilder Conference
Moving at the Speed of Change
ODATA
May 2015
Charlotte PowerBuilder Conference
Moving at the Speed of Change
May 2015
• Developed initially by Microsoft, now an OASIS standard
• Based on REST calls over HTTP, provides a web services based
method of doing CRUD operations against a database
• Natively supported by Microsoft SQL Server, SAP HANA, SAP
ASE, SAP SQL Anywhere
• Can be implemented for other databases using WCF Data
Services, ASP.Net Web API, Progress DataDirect Cloud, etc.
ODATA
Charlotte PowerBuilder Conference
Moving at the Speed of Change
ODATA IN DATABASE PROFILES
May 2015
Charlotte PowerBuilder Conference
Moving at the Speed of Change
May 2015
NEW ODATA DATAWINDOW DATA SOURCE
Charlotte PowerBuilder Conference
Moving at the Speed of Change
May 2015
ODATA BASED DATAWINDOW CREATION
Charlotte PowerBuilder Conference
Moving at the Speed of Change
May 2015
• All of my PowerBuilder samples, including the source code for the
demos I've done at various conferences are available in the
PowerBuilder Samples folder on my Google Drive: http://goo.gl/VXouQ
• The PowerBuilder Developer's Journal may have gone away, but I'm
going a free "magazine" on FlipBoard. It's basically just collection of
articles from all over the internet on
PowerBuilder: http://goo.gl/Mrd3Ql
• I've done a number of videos for the SAP Database and Technology
Academy. The PowerBuilder related videos, including mine, are available
at:http://goo.gl/53pe7a
SOME LINKS
Charlotte PowerBuilder Conference
Moving at the Speed of Change
May 2015
• I've done a number of webinars for PowerBuilder.TV. The archives of
the webinars related to PowerBuilder, including mine, are available
at: http://goo.gl/IUHN1N
• Also, don't forget the PowerBuilder Developer Center, where a
bunch of us hang out to answer questions, write blogs and
documents: http://goo.gl/DtaS58
• You might also want to check out the PowerBuilder Central site. It's
an attempt to collect references to different resources like this and
make the available in a central location: http://goo.gl/WVyNo7
SOME LINKS
Charlotte PowerBuilder Conference
Moving at the Speed of Change
May 2015
• If you're looking for PowerBuilder training, be sure to
check out Yakov Werde's training offerings (as well as his
consulting services) at: elearnitonline.com
SOME LINKS
Charlotte PowerBuilder Conference
Moving at the Speed of Change
Questions and Answers
May 2015
Download