Quickstart Building a Web Application (web/mobile)
Lesson 1: Creating the workspace
Run the Studio as administrator.
The Start Center opens. It shows news items, getting started, online resources and a list of recently used workspaces.
Create a New Workspace by clicking the New Workspace button.
The New Workspace Wizard opens. It will guide your through the creation process
The first step in the Wizard is choosing a workspace name. In this case, Quickstart
The wizard comes up with a folder on the hard drive where the project files will be stored. In this Quickstart we will leave it within DataFlex Projects.
The next step is to configure the database connection. When using an SQL database, this is where will be configured which database on which server will be used. In this Quickstart we use the embedded database that is stored on the hard drive within the workspace, so just click Next.
In the last step an overview is shown of which folders it’s going to create. It includes the data folder, which will eventually contain the database.
When finished, the workspace will be created and the workspace dashboard will show up.
The workspace dashboard shows an overview of what is in the workspace, like: - The projects that are available - The available database tables - A summary of other details
The "Workspace Summary" section will show the location of the workspace on your harddrive
Clicking it the folders that are created show:
AppHtml: contains the source code for web applications, JavaScript, Html, CSS.
Appsrc: contains the database information or the database itself when using an embedded database.
DDSrc: this is the DataFlex source for the data dictionaries. In other words, the DataFlex source that’s related to your database.
Help: will contain help if necessary.
IdeSrc: this folder is used by the studio, it will not be used by the developer.
Programs: this is where the compiled application will end up.
.sws: this file is the workspace file. This can be used to open the workspace in the Studio.
Now that the workspace is created the next step is the definition of the database. That will be the next Lesson.