Quickstart building a web application (Web/Mobile)
Lesson 4: Create a web project
In this lesson we will create the Web Project.
In the Dashboard we can see we have three tables, two Data Dictionaries, but no projects.
Click the Create Project button.
Choose Mobile Web Project, because we are going to use the mobile drill down style of the web application framework.
Now we can enter:
The Web Application Name, which is going to be the name by which the DataFlex Web Application server is going to identify the application.
Details on how it should register the website under the internet information server.
The virtual directory name. Leave everything as is and click OK.
The WebAp.src file is created this is the main source file of a DataFlex Application.
In the Workspace Explorer, there’s a project WebApp.src. By default there are two views in the project: the dashboard and login view. These can be opened by double clicking them.
Doubleclick the Login view. It opens Login.wo.
Press F7 to open the WebApp Designer, which pops up as a panel. A preview of the login screen will appear.
If you click on the different components in the Workspace Exolorer, a preview of those components will be displayed. Not all parts are available for preview. Among these are the SessionManager.wo and the WebResourceManager.wo. Some parts don’t have a user interface to preview. For example the SessionManager.wo and the WebResourceManager.wo.
Compile the application by clicking the Compile button.
Run the application by clicking the Run button.
By default, the user table has a user called "Admin". The password for this account is also Admin. Use these to credentials to login.
The dashboard will appear together with a menu. There is not a lot of content within this menu as we have not created any data.
This is the default structure of a mobile drill down Web Application within DataFlex. This ends this lesson.