ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / Editors / Project editor / Library
  • General case: application or site associated with a library
  • Special case: Splitting an application or site into multiple libraries
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
General case: application or site associated with a library
A library is a WDL file that contains all WINDEV or WEBDEV resources: windows, pages, reports, classes, sets of procedures, data files, etc.
This file is opened by the executable or by the site. The necessary elements are automatically loaded when they are used.
WINDEV When creating the executable, the library corresponding to the project is generated. It can be included (or not) in the executable. For more details, see Creating an executable.
Remark: For backward compatibility with version 5.5, you have the ability to create an executable without library. For more details, see Creating an executable without library.
WEBDEV - Server code When creating the setup program of a dynamic site, the library of the site is created. For more details, see Deploy a site.
Special case: Splitting an application or site into multiple libraries
To reduce load times when working with large projects (e.g. hundreds of windows), you can split the project into:
  • a main "Executable" or "Site" project.
  • one or more "Library" projects. Each "Library" project contains the project elements associated with a theme.
The main project creates the main library. This library is created when creating the executable. The library contains the elements specific to the project: analysis, project, etc. The main library cannot be shared between multiple projects. It is unique for each project.
The "Library" projects create the secondary libraries of the application by grouping the application elements by theme.
For example, a project for business management groups several hundreds of windows and reports. To optimize the loading time of the project in the editor, it is split into:
  • a main project. This project creates the main library and uses the secondary libraries.
  • a "Customer management" project. This project is used to create a secondary library.
  • an "Order management" project. This project is used to create a secondary library.
  • etc.
For more details, see Use several libraries.
Remark: To share resources between applications or sites, it is recommend to use external or internal components. They are very easy to use. For more details, see:
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 08/25/2022

Send a report | Local help