Home | Sign in | English UK
  • This lesson will teach you the following concepts
  • Introduction
  • SCM (Source Code Manager)
  • Principle of SCM
  • Creating the repository
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. This set of versions is called "Repository".
  • 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, the developer will check out the element from the repository.
  • 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 repository).
  • Once the developer has finished, the checked-out element is checked back into the repository.
  • 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 repository

To share a project via the Source Code Manager, a repository must be created. This repository must be created once only on a server.
This repository 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 repository 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. Visit www.pcscloud.net for more details.
  • SCM Drive. This mode allows you to have the Source Code Manager in the cloud for all your WEBDEV projects. Visit www.scmdrive.com for more details.
  • In the next lesson, our repository will be created when importing a project into the SCM.


We advise you to make backup copies of the repository 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 24
Click [Add] to post a comment