|
|
|
|
- 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.
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. 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.
Let's get started by creating a WEBDEV project. To create a project, simply follow the steps of the project creation wizard: - Open WEBDEV and go to the home page (Ctrl + <).
- 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. - 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.
- Specify the type of site to create. Select "WEBDEV website" and go to the next step.
- The wizard includes two generation modes. Select "Session mode" and go the next step.
- Select the string format to be used at runtime. For this lesson, keep "Use ANSI strings at runtime". Go to the next step.
- 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".
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.). - 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.
- In this step, you can first choose the code style. Don't change the default options. Go to the next step.
- 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. .
- Click "Database" directly. We are now going to specify the database details.
- Select "Yes, create a new database" and validate. The analysis creation wizard starts.
Now, let's take a look at the steps to create the analysis: - 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.
Proceed to the next step of the wizard.
- You can then choose the type of database used by the project. Select "HFSQL Classic".
Proceed to the next step of the wizard.
- Validate. The data file creation wizard opens automatically.
- Close this wizard. In the next lesson, we will look at the different ways of creating a data file description.
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|