|
|
|
|
|
- Overview
- How to?
- Importing a WEBDEV project
- Importing WEBDEV elements
- Conversions performed when importing a WEBDEV project
- Importing a WEBDEV PHP project into a WINDEV project
Importing a WEBDEV project into WINDEV
In most cases, a site is linked to an application. WINDEV proposes a feature for importing WEBDEV sites or WEBDEV pages. You have the ability to import the entire project or a single page. The pages are changed into windows. The Server and Browser codes are grouped. The elements without equivalent in WINDEV (JavaScript code for example) are imported as comments or as separated elements. Importing a WEBDEV project To import a WEBDEV project: - Start WINDEV.
- On the "Project" tab, in the "Project" group, expand "Import" and select "From WEBDEV .. A WEBDEV project".. The import wizard starts.
- Select the WEBDEV project to import. Go to the next step.
- A new WINDEV project will be created from the imported WEBDEV project. The WEBDEV project will not be modified. Specify the characteristics of the new WINDEV project:
- Project name.
- Project description.
- Project directory.
- Go to the next step.
- If the WEBDEV project is linked to an analysis, you can:
- Share the analysis with the initial project. The same analysis will be used by the WEBDEV project and the new WINDEV project.
- Copy the analysis to the new project directory. The analysis will be duplicated. Each project (WINDEV and WEBDEV) will evolve with its own analysis
- Ignore the analysis. The analysis is not used.
- Go to the next step.
- If the WEBDEV project contains elements that can be shared with WINDEV (classes, sets of procedures, reports, queries), the import wizard allows you to:
- share these elements. These elements will not be physically copied into the new WEBDEV project but they will be accessible from the project.
- copy these elements into the new WEBDEV project. These elements will evolve independently in each project.
- Validate. The import starts automatically and the new WINDEV project is created.
Importing WEBDEV elements To import WEBDEV elements (pages, etc.): - Open the WINDEV project where the import must be performed.
- On the "Project" tab, in the "Project" group, expand "Import" and select "From WEBDEV .. WEBDEV elements". The import wizard starts.
- Select the WEBDEV project containing the elements to import or select the WEBDEV files to import. Go to the next step.
- Select the pages to import.
- If the WEBDEV project contains elements that can be shared with WINDEV (classes, sets of procedures, reports, queries), the import wizard allows you to:
- share these elements. These elements will not be physically copied into the WEBDEV project but they will be accessible from the project.
- copy these elements into the WEBDEV project. These elements will evolve independently in each project.
- Validate. The import is automatically performed.
Conversions performed when importing a WEBDEV project When WEBDEV projects or WEBDEV pages are imported into a WINDEV project: - the following controls are not imported: IFrame, Frameset, Breadcrumb, Pager, etc. Controls that are not available in WINDEV are replaced by the "<Not imported>" label
- thumbnails, clickable images and images are imported as images.
- cells are imported as images or captions.
- links are changed to buttons
- page opening actions are automatically replaced by the corresponding window opening code.
- internal pages are converted to internal windows.
- code not supported in WINDEV is commented out (JavaScript code, PHP code...)
- the following functions (specific to WEBDEV) are automatically replaced with their equivalent in WINDEV:
| | WEBDEV function | WINDEV function | PageRefresh | WinRedraw | PageDisplay | Open | FramesetDisplay | Open | FramesetRefresh | Open | FileToPage | FileToScreen | PageParameter | CommandLine |
The functions specific to WEBDEV that are not replaced trigger compilation errors. The code of the application must be reviewed and modified in order to operate in Windows.
Importing a WEBDEV PHP project into a WINDEV project When importing a WEBDEV PHP project into a WINDEV project, the following elements are not imported: - The code of buttons,
- Project code.
When importing a table, display problems may occur.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|