Hi Everyone
It's late frinday afternoon and I have spent the day musing an idea:
Can I use the Snap Develop C# migration tools to rapidly migrate a PB application to Web using Blazor Server and .Net Datastore for the data access layer?
Obviously the answer is Yes for the data access layer and probably yes to use the .Net datastore in the Blazor C# @Code sections.
Then perhaps I could also use the C# Models with validation code to drive the Blazor validations.
Finally can I develop a program to Parse the Windows & Datawindows to generate the @page data for the Blazor code and probably the data managemnt from the DW models too. I this this is possible, we have tested the idea of scafolding code from PB UI with Angular and TypeScript and that worked for simple screens and tab interface screens too. I'm thinking that using Blazor will be much easier as the @Code section for servier side C# is in the same file and does not require generating numerious files and keeping track of them all.
So what do people think about my crazy idea and do you think Blazor has a future.... after all Microsift changes with the wind! I'd be interested in Appeon's oppinion about this being a possible roadmap to get to Web from PB, using all the great tools to preserve the business logic and is it something they would consider?
Cheers
David
https://www.brucearmstrong.org/2011/09/friday-morning-sessions-at-pbtechwave.html
I do not know why :-( The legal HTML Datawindow was not so bad, but they missed to make the Javascript stuff open source and to communicate that technology.
Sure with old browser technology and the PowerBuilder Community widely ignoring this chance ( 1 1/2 decade ago) it was hard to believe that this (HTML / CSS / Javascript) might become the future.
I don't know whether HTML, CSS and JS aren't going anywhere or not. I only know they are by far the leading frameworks today.
And to me, that is enough to use them in projects where UI and zero-plugin is strategic.
Any smart support that will be included to that extent in Snapdevelop is welcome.
I don't mean a mere syntax editor, but rather component generator from DW definition, likewise C# models for REST API.
Looking at Blazor and that code structure I think it woud be a cleaner process to scaffold that code, but I always worry with MS removing tech just after you get used to using it! We'll probably end up changing the app to be configurable as to what output you require. Then we can quickly adapt to the customer requirements too. Most people we are talking to have chosen a different framework and are certainly not using JavaScript. It's this lack of consistancy that it worrying me.
It's always good to float these discussions.
Cheers
David