The App Directory Flashcards

1
Q

Question: What does a ‘clean’ version of an App Directory look like?

A

Answer: A ‘clean’ App Directory is the initial state of an app directory when it is opened for the first time.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Question: What is found within the javascriptsource folder of an App Directory?

A

Answer: The javascriptsource folder contains the structure of app modules with JavaScript actions defined for nanoflows.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Question: What does the javasource folder in an App Directory contain?

A

Answer: The javasource folder contains all Java sources belonging to microflows in the app modules.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Question: Why might you find other folders on the same directory level with subfolders leading to third-party Java files?

A

Answer: Other folders on the same directory level may lead to third-party Java files, such as Apache libraries, which implement custom code.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Question: Within a module folder (e.g., system), what can be found in the Actions folder?

A

Answer: The Actions folder within a module contains Java actions created in that specific module.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Question: What is the purpose of the Datasets folder within a module?

A

Answer: The Datasets folder is where data sets created in that specific module are stored.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Question: How can you create a data set in a module, and what is its source?

A

Answer: You can create a data set in a module, and its source can be a Java action or OQL query. If Java action is selected as the source, a corresponding file will be created in the directory.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Question: What does the Proxies folder in the App Directory contain?

A

Answer: The Proxies folder contains entities, both persistent and non-persistent, and enumerations. It also has subfolders like microflows and constants, each with a corresponding Java file to accommodate for Java development.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Question: What types of files are typically found in the Resources folder?

A

Answer: In the Resources folder, you will find files like HTML files or configuration files that directly affect the way the application works. These files are packaged together with the app model.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Question: What is the purpose of the Theme folder in the App Directory?

A

Answer: The Theme folder contains files and folders that form the source for styling your application. It requires HTML/CSS/SASS knowledge to extend or modify existing design properties or create new ones.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Question: What can be found in the Userlib folder of the App Directory?

A

Answer: The Userlib folder contains Java libraries that may support your custom Java functions. These libraries can change when you download modules like the Community Commons Function Library or Email module with templates.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Question: What does the Widgets folder in the App Directory contain?

A

Answer: The Widgets folder contains .mpk files that reflect the widgets available in Studio Pro. Each .mpk file can include multiple widgets. Changes to these files should be made by those with knowledge of the Mendix APIs and JavaScript programming.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Question: What is the purpose of the .mpr file in the App Directory?

A

Answer: The .mpr file, named after your app, is required by Studio Pro to open the app.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Question: What is the purpose of the .mpr.bak file in the App Directory?

A

Answer: The .mpr.bak file is a backup for your .mpr file and can be used to restore your app in case of issues during Mendix version upgrades or Team Server app updates.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Question: What does the .mpr.lock file in the App Directory indicate?

A

Answer: The .mpr.lock file indicates that the app is currently open in Studio Pro and might be hidden, depending on your Windows settings.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Question: What does the Deployment folder in the App Directory contain?

A

Answer: The Deployment folder contains deployment files necessary to run your app locally. It includes folders and files related to the local database, application files, and sources used by Mendix to run the app.

17
Q

Question: Where are app packages stored when created in Mendix?

A

Answer: App packages created in Mendix are stored in the Packages folder.

17
Q

Question: Where does Mendix store deployment packages created in Studio Pro by default?

A

Answer: Mendix stores deployment packages by default in the Releases folder.

18
Q

Question: What is the purpose of the data-snapshot.zip file in the App Directory?

A

Answer: The data-snapshot.zip file contains a local database snapshot created in Studio Pro. It can be shared with teammates for reuse.

19
Q

Question: What is the .classpath file used for?

A

Answer: The .classpath file is needed for Eclipse to import your app into the application. It facilitates the integration of your Mendix app with Eclipse.

20
Q

Question: What is the .app file used for?

A

Answer: The .app file is needed for Eclipse to import your app into the application. It is used for importing your Mendix app into Eclipse.

21
Q

Question: What is the purpose of the <root>.launch file?</root>

A

Answer: The <root>.launch file is needed for Eclipse to import your app into the application. It assists in the process of importing your Mendix app into Eclipse.</root>

22
Q

Question: Why is it important to keep your App Directory clean and up to date?

A

Answer: Keeping the App Directory clean and up to date is important to ensure the directory accurately reflects the content of your app and prevents unnecessary clutter.

23
Q

Question: Where is the content of the resources folder copied during deployment?

A

Answer: The content of the resources folder is copied to the model/resources folder in your deployment folder.

24
Q

Question: How should you handle version management when maintaining your app?

A

Answer: When using version management, it’s important to update your app before committing changes to check for new functionality or conflicts and resolve them.

25
Q

Which folders contain source information tied to a specific module enabling reuse of this module in another project?

A

Javascriptsource and Javasource folders

26
Q

VerifyPassword.java file belonging to the System module is stored in which of the JavaSource sub-folders?

A

Actions

27
Q

Microflows.java file is stored in which sub-folder of JavaSource directory?

A

Proxies

28
Q

Which of the following sources are typically stored in the Resources folder of the App Directory?

A

Configuration files, HTML and Java files

29
Q

Files and folders that together form the styling of your application are typically stored in which of the following folders?

A

Theme