Home | Sign in | English UK
  • This lesson will teach you the following concepts
  • Introduction
  • SCM (Source Code Manager)
  • Principle of SCM
  • Creating the SCM database
Lesson 12.1. SCM
This lesson will teach you the following concepts
  • Overview
  • The source code manager

Estimated time: 15 mn
Previous LessonTable of contentsNext Lesson
The development of a large IS system requires the participation of several developers. These developers must work on a single WEBDEV project while sharing the different resources (pages, classes, ...).
WINDEV is supplied with a Source Code Manager named "SCM" used to share the source codes of different projects between developers and to find out the full history of modifications performed (in the code, in the interface, ...).
SCM (Source Code Manager)

Principle of SCM

The Source Code Manager is used to store and share the projects and their elements.
The principle is as follows:
  • A reference version of each one of your projects is found on a server. All versions are called "SCM database".
  • Each developer has a local copy of different projects on his computer.
  • Whenever a developer wants to modify a project element (page, report, query, ...), he notifies the SCM that he is becoming the temporary owner of this element. To do so, this element will be checked out from the SCM database by the developer.
  • This developer gets exclusive rights on this element: all requested modifications can be performed on this element.
  • The other developers are still working on the copy of the reference version of this element (found in the SCM database).
  • When the modifications have been made by the developer, the checked-out element is checked back into the SCM database.
  • The other developers are automatically notified of this check-in operation. They can now update their local copy.
The SCM supports teamwork and it allows you to find out the history of all the modifications.
The SCM can also be used to manage and control the elements shared between several projects.

Creating the SCM database

To share a project via the Source Code Manager, an SCM database must be created. This SCM database must be created once only on a server.
This SCM database can be created:
  • when installing WEBDEV.
  • when creating a project that is using the SCM.
  • when importing a project into the SCM.
  • whenever you want, from WEBDEV directly or from the SCM administrator.
The SCM database can be installed in the following modes:
  • HFSQL Classic,
  • HFSQL Client/Server,
  • Cloud. The Cloud mode allows you to access the source codes of projects from anywhere, at any time. Check the www.pcscloud.net site for more details
  • In the next lesson, our SCM database will be created when importing a project into the SCM.


We advise you to perform backups of SCM database on a regular basis. To do so, you must:
  • connect as administrator to the management tool of SCM.
  • on the "Management" pane, in the "Backups" group, select "Full backup".
Previous LessonTable of contentsNext Lesson
Minimum version required
  • Version 23
Click [Add] to post a comment