ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / Editors / Project editor / Webifying a WINDEV project
  • Overview
  • How to webify a WINDEV project?
  • Tips and prerequisites
  • Start the webification wizard from WINDEV (with WEBDEV included)
  • Start the webification wizard from WEBDEV
  • Follow the tips of the webification audit
  • Finish the webification
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Overview
A widespread need today is to transform Windows applications (or parts of applications) into dynamic websites.
As you know, WEBDEV can be used to retrieve existing code, queries, states, classes, windows, etc. from a WINDEV application..
WEBDEV goes much further thanks to the webification wizard.
How to webify a WINDEV project?

Tips and prerequisites

A WINDEV application can only be webified:
  • From version 24 onwards,
  • using WINDEV 64-bit with WEBDEV 64-bit included.
    Please note: WINDEV and WEBDEV licenses are required for this type of installation.. To use the WINDEV-integrated version of WEBDEV, both WEBDEV and WINDEV dongles must be connected to the development computer.
  • using WEBDEV 64 bits.
Before webifying a WINDEV application, it is recommended to:
  • Know what the aim of the webified application is. Are all the features of the application necessary in the Web version?
    For example:
    • If the WINDEV application deals with system management, is it necessary to webify it?
    • If the WINDEV application uses functionalities that are not available on Web (scanner, Bluetooth communication, Word processing, etc.), these cannot be migrated and will require specific development if necessary.
  • Check the Business/GUI code splitting of the application. This can be verified using WINDEV.
    The "Business logic / GUI code" splitting functionality simplifies migration and avoids doubling code in the windows and in the pages.
    If this action is not performed before the webification, it is possible to do it afterwards.
  • Make sure the components used by the application are multi-product.

Start the webification wizard from WINDEV (with WEBDEV included)

To start the WINDEV project webification:
  1. Open the project in WINDEV.
  2. On the "Project" tab, in the "Webification" group, expand "Webify" and select "Webify". The webification wizard starts. This wizard will create a specific project configuration for the elements of the site.
  3. Select the items to convert, especially the windows of your application.
    Remarks:
    • If some items have already been converted, the wizard lists the converted and non-converted items.
    • Start by converting one or two windows of your application. You can convert the other windows as you go along.
  4. Go to the next step.
  5. If necessary, deselect project elements which are not to be integrated into the site project configuration: reports, queries, classes, etc. Checked elements are automatically integrated into the site..
  6. Go to the next step of the wizard: the Site project configuration will be created and the selected windows will be "webized"..
  7. Finish the wizard.
    Note: Depending on the number of items selected, this operation can take a relatively long time (5 to 10 seconds per item)..
  8. The project webification audit is automatically run.
Note: At any time:
  • The Webization wizard can be relaunched via the WINDEV menu: under the "Project" pane, in the "Webification" group, pull down "Webify" and select the "Webize" option.
  • It is possible to webify a window via the "Webify" option of the window's context menu in the project explorer.
  • It is possible to copy/paste code or elements between a window and a page.

Start the webification wizard from WEBDEV

To start the WINDEV project webification:
  1. Open the WINDEV project in WEBDEV.
  2. The webification wizard starts. This wizard will create a specific project configuration for the elements of the site.
  3. Select the items to convert, especially the windows of your application.
    Remarks:
    • If some items have already been converted, the wizard lists the converted and non-converted items.
    • Start by converting one or two windows of your application. You can convert the other windows as you go along.
  4. Go to the next step.
  5. If necessary, deselect project elements which are not to be integrated into the site project configuration: reports, queries, classes, etc. Checked elements are automatically integrated into the site..
  6. Go to the next step of the wizard: the Site project configuration will be created and the selected windows will be "webized"..
  7. Finish the wizard.
    Note: Depending on the number of items selected, this operation can take a relatively long time (5 to 10 seconds per item).
  8. The project webification audit is automatically run.
Note: At any time, you can restart the Webization wizard via the WEBDEV menu: under the "Project" pane, in the "Webification" group, pull down "Webify" and select the "Webize" option.

Follow the tips of the webification audit

The webization audit is automatically launched at the end of the webization wizard, and can be launched at any time via the WINDEV menu: under the "Project" pane, in the "Webification" group, pull down "Webify" and select the "Webization audit" option.
This audit makes it possible to deal with certain compilation errors by suggesting solutions.
All compilation errors encountered are also displayed in the error pane.
We need to fix all these errors to fully webify the application. Some errors may concern processes or functions that are not available on the Web, WLanguage functions that are not available, etc.
Please note: In some cases, new developments may be required to adapt the application to the Web.. For example:
  • If the application used an Image Editor control, it may be necessary to use an Upload control, which will allow downloading the modified image.
  • If the application used a Word Processing control, it may be necessary to use an HTML control and adapt the analysis to manage HTML.

Finish the webification

When all compilation and webification audit errors are corrected, and the management adaptations are made, the webification is completed.
Other functionalities can be added later, such as Responsive Web Design. It may be a good idea to use Dynamic Serving temporarily to replace the different pages as you go along.
Minimum version required
  • Version 24
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/21/2024

Send a report | Local help