** Hot News **
Structure Generator Utility
Software Tool & Die Inc (STD) are pleased to announce a new free & open source utility for automatically generating PowerBuilder structures from any DataWindow. This comes in handy when building Web Service, .NET Assembly, User Object, etc interfaces for encapsulated data interaction. The Structure Generator utility is designed using the latest STD Foundation Class framework version 2025R1 and specifically works with the new PowerBuilder 2025 release. It works with the WorkSpace application type!
The generator starts by introspecting any PBL (PowerBuilder Library)
to build a list of DataWindow objects contained within that library. The PB
developer can point the utility to any MS-Windows folder that may
contain a PBL. From there, the generator displays a list of DataWindow
Objects (DWO) contained in the selected PBL. Any SQL or External based
DWO can be used to build a set of structures for to use in constructing a data equivalent structure object source.
![]() |
Structure Generator in action! |
For .Net based interfaces you need to build two structures. One that
maps any DWO's primary buffer and a second structure that houses the
first. The SG can build both structures by selecting the "generate parent structure"
option on the lower left hand side of the "Structure Builder" screen. You can also request that the SG prefix your Structure Item names (ie: "si_"). Once the DWO and structure options are selected, the "Generate"
command button will allow the developer to select the target folder and Structure name where the SG will build then actual PB structure object source code.
For the "Tracing Options" DWO shown above, lets enter the structure name "sr_trace_options"
when we select the "generate" command button. The SG will complete the building of the resulting structure(s) based on the DWO's definition.
Once your structure(s) source are built by the SG utility, all the PB
developer needs to do to ready the structures for use is to use the
RMB on any PBL and then select the "Import" popup menu option. This will now import both the source code & compile the P-Code of the imported structure into working object for use in your PB application(s)!
Now to complete the structure, you can edit the Structure Item "description(s)" as required to complete the object's documentation. Then save the edited Structure for your use or share the structure PBL with your fellow PB developers for their productivity.
To download the free & open source SG 2025R1 utility - click here!
Enjoy ... Chris
No comments:
Post a Comment