4D v14.3Creating a new application |
||
|
4D v14.3
Creating a new application
Creating a new application
You can create a blank database or you can create a database from a structure definition that has previously been exported. You create databases the same way regardless of whether it is done from the 4D application or from the 4D Server application. You can create a blank database, i.e. that does not contain any tables, fields or forms. Its the equivalent of a blank sheet for databases. To create a blank database:
When you validate the dialog box, 4D closes the current database (if any), creates a folder at the location indicated (the name of the folder is the database name) and puts all the files needed for proper operation of the database into it. For more information about the architecture of 4D databases, refer to Database Architecture. The 4D application window is then displayed with the Explorer in the foreground. You can then, for example, create project forms or display the Structure editor and add tables, fields, etc. Structure definitions that are exported in XML format can be used to create new identical databases on the fly. In this case, the structure definition can be considered as a structure template, which can be duplicated at leisure. For more information, refer to Exporting and importing structure definitions. An XML structure definition can be used as is or can be modified beforehand via an XML editor. This means that the use of any type of mechanism used to generate structures by programming can be considered. Furthermore, since the internal format of 4D structure definition XML files is public (see Format of a 4D structure definition), it is possible to build this type of file from other database environments or any design application in order to generate 4D databases automatically. To create a database from a structure definition:
|
PROPERTIES
Product: 4D ARTICLE USAGE
4D Design Reference ( 4D v14 R2) Inherited from : Creating a new application ( 4D v12.4) |