WINDEV Concepts
74 Part 2: Development environment <Component name>.WDZ File with the dependencies of theWDK file (only for WEBDEV and WINDEV Mobile components) File containing the dependencies of the WDK file. This information is extracted in the project in which the component is integrated. • For a WEBDEV component, this file contains the generated WEBDEV pages, images, etc. • For a Mobile component (iOS or Android), this file contains the Android generation files, etc. <Component name>.WDO Optional file Text file containing the list of the additional elements provided with the external component (data files, .INI files, etc.). This file can be created manually or generated automatically from the items specified in the "Other" folder of the "Project explorer" pane. For more details, see WDO file. 1.3 What elements are included in an external component? An external component contains: • the elements to be distributed (windows, reports, etc.). These elements can be accessible (or not) when importing the component into a WINDEV, WEBDEV or WINDEV Mobile project. These elements cannot be modified from the project that uses the component. • a short description of the component. • a help text to reuse the component. This help is generated from the code comments. Remark: By default, if an external component uses an analysis and data files, the HFSQL functions will handle these elements in an independent HFSQL context. These parameters can be changed in the advanced options of the component. For more details, see Advanced options of an external component. 2 Creating and generating an external component Below are the steps to create an external component: 1. Creating the external component. 2. Developing the elements of the external component. 3. Defining the advanced options of the external component. 4. Generating the external component. The external component can be distributed and reused. For more details, see Distributing an external component and Using an external component in an application. 3 Distributing an external component 3.1 Overview Once the component has been created, tested and generated, it can be distributed to other developers. Multiple methods are available: • Direct use of the external component Example: the external component is directly used on the computer of the developer who created it. • Standard distribution , providing the necessary files. Example: the external component is intended to be used within the same company, by several developers. In this case, the necessary files can be copied to a network drive.
Made with FlippingBook
RkJQdWJsaXNoZXIy NDQ0OA==