Adding to what Bruce and Kevin said, there are tons of great Elevate session replays about using DataWindow Converter and PowerScript Migrator toolsets within SnapDevelop C# IDE (included with PB 2019 and newer) to rapidly create C# REST APIs...
And yes, it is C# but you have the PB DataStore object so the programming is very PB like but you are getting industry-standard secure and scalable C# solution. In other words, this is best of both worlds!
Sure, that's what the DataWindow and PowerScript Converters are for. There's even scaffolding available to help. Just make sure you use the NonPBClient or AnyClient options. That's because there are two forms of json the services generate. If you select PBClient, they will generate a custom json data structure that includes state flag information that make it work better with a PowerBuilder client. If you select NonPBClient, then you will get a more traditional json format that just about any client can use. If you select AnyClient, the services will contain two sets of methods, one for PB Clients and one for non PB clients.
I believe that the best way to do that is using SnapDevelop. Your solution should be a ASP.NET Core Web API. But this isn't powerscript. You should write your code in c# (or migrate it if you have part of this business logic implemented in powerbuilder).
There are no comments made yet.
There are no replies made for this question yet. However, you are not allowed to reply to this question.
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here. Register Here »