ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

New WEBDEV 2024 feature!
Help / WEBDEV Tutorial / Tutorial - Creating a WEBDEV project and its analysis
  • Lesson 1 - Creating a WEBDEV project and its analysis
  • Analysis and project: Definitions
  • Project with analysis
  • Creating the project
  • Creating the analysis
  • Conclusion

Tutorial - Creating a WEBDEV project and its analysis

Lesson 1 - Creating a WEBDEV project and its analysis
We will cover the following topics:
  • Creating a project.
  • Creating an analysis.
Durée de la leçon 5 min
Analysis and project: Definitions
To create a website with WEBDEV, you need to create a project. This project contains all the elements required for the website.
When designing a website, you may have to handle data. To store the data, you must create a "database".
The first thing you should do in a WEBDEV project that handles data is create an analysis. An "analysis" contains the description of data files (or tables). The application data will be stored in the data files.
Vocabulary:
A "Data file" corresponds to a "table" in some databases.
When the website is run, these descriptions will be used to create the database and/or the data files. Data will be stored in this database or these data files.
Project with analysis
In this tutorial, we will create and associate a project with an HFSQL database.
WEBDEV supports a wide range of database formats. It natively supports HFSQL, a built-in database system. The HFSQL database is available in Local, Network, Cluster, Client/Server (Windows and Linux), Cloud and Mobile versions.

To create a site with a database, you must:
  • Create the site project. This project will contain all the elements of the website (pages, code, queries, reports, etc.).
  • Create the analysis linked to the project. The analysis allows you to define all the data files handled by the site.
Creating the project
Let's get started by creating a WEBDEV project.
To create a project, simply follow the steps of the project creation wizard:
  1. Open WEBDEV and go to the home page (Ctrl + <).
  2. On the home page, click "Create a project" and select "Site". The project creation wizard starts. The different steps of the wizard will help you create your project.
    The information specified in this wizard can be modified later.
  3. For this lesson, we are going to create a blank project. Select "Create a blank project" and proceed to the next step of the wizard.
  4. Specify the type of site to create. Select "WEBDEV website" and go to the next step.
  5. The wizard includes two generation modes. Select "Session mode" and go the next step.
  6. Select the string format to be used at runtime. For this lesson, keep "Use ANSI strings at runtime". Go to the next step.
  7. The wizard prompts you to enter the name, location and description of the project. In our case, this project will be named "My_WEBDEV_Site".
    Project creation wizard - General information
    By default, WEBDEV creates this project in ".\My Projects\My_WEBDEV_Site". You can keep this location or change it via the [...] button.
    When you develop for the Web, avoid using accented characters in the names of elements (projects, pages, etc.).
  8. The different steps of the wizard appear on the left. You can easily navigate between sections by clicking on them. Since the other steps of the "Description" are not strictly necessary, you can click "Guidelines" directly.
  9. In this step, you can first choose the code style. Don't change the default options. Go to the next step.
  10. The wizard then allows you to choose the style book (also called "Skin"). Select "Phoenix".
    Skins are used to standardize the visual aspect of a site and easily change styles.
    Skin also include images, fonts, textures, button shapes and styles for the project.
    .
    Project creation wizard - Project skin
  11. Click "Database" directly. We are now going to specify the database details.
  12. Select "Yes, create a new database" and validate. The analysis creation wizard starts.
Creating the analysis
Now, let's take a look at the steps to create the analysis:
  1. Specify the analysis name and directory. By default, the analysis name corresponds to the project name and the analysis directory is a ".ana" directory in the project directory. Keep the default parameters.
    Analysis creation wizard - Name of the analysis
    Proceed to the next step of the wizard.
  2. You can then choose the type of database used by the project. Select "HFSQL Classic".
    Analysis creation wizard - Type of database
    Proceed to the next step of the wizard.
  3. Validate. The data file creation wizard opens automatically.
  4. Close this wizard. In the next lesson, we will look at the different ways of creating a data file description.
Conclusion
In this lesson, we have covered:
  • the role of the project in the website creation process.
  • the main steps to create a project.
  • the main steps to create an analysis.
  • etc.
The next lesson of this tutorial will present the different methods available to define a data file in the data model editor. You will also learn how to define links between the various files in the analysis.
To learn more, see the following help page: Creating a WEBDEV project. This help page explains all the options in the WEBDEV project creation wizard.
Table of contentsNext Lesson
Minimum version required
  • Version 2024
Comments
Click [Add] to post a comment

Last update: 12/11/2023

Send a report | Local help