Skip to content

MobilizeNet/TailwindPowerBuilderDemo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PBNET

PBNET is a tool that understands your PowerBuilder application and converts it to a ASP.NET Core web application that uses frameworks such as Angular, CSS, and Typescript.

This tool has the ability to process the source code to generate C#, Angular, HTML, and CSS files.

Instead of manually rewriting an entire application, we help you by automating this process using PBNET. This reduces costs, risks and time, while keeping the existing business logic intact.

For more details you can go to our website or check our documentation at Mobilize.Net Documentation

PowerBuilder to .Net Core Tailwind App

This repo contains the source code and binaries for the PowerBuilder app.

This app just shows a Powerbuilder Window with a different components to interact for example: Dropdown, checkbox, etc.

The sample was migrated with our tools to a ASP.NET Core web app with an Angular FrontEnd.

How to Build the app

If you want to build this app, you have to follow the next steps:

Requirements

Database setup

In the root folder of the app you will find a file called tailwind.db. This file is the database of the app. You have to create a folder inside your local disk C called A1 and inside this another folder called _work and copy the tailwind.db file inside this folder.

The route should be like this: C:\A1\_work\tailwind.db

Steps for build BackEnd

Install Microsoft Visual Studio 2019 or above if you don't have it, open MigratedSolution file in app folder and build the solution.

Steps for build FrontEnd

Open a terminal in the app folder and use the command line with the next commands:

cd MigratedSolution\sampleSite\sampleSite-angular
npm set @mobilize:registry=https://packages.mobilize.net/npm/mobilizenet-npm
npm install
npm run build

Run the app

Finally set productcatalogSite as startup project and run.

Code Structure

When you migrate your app from Powerbuilder to ASP.NET core you will have:

  • WebSite application based on the original app pbt
  • A class library for each Powerbuilder pbl
  • An angular application which will generate an angular module with the UI elements from each pbl

Legacy vs migrated app

Legacy form

Legacy

Migrated form

Migrated

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published