The App Directory Flashcards
Question: What does a ‘clean’ version of an App Directory look like?
Answer: A ‘clean’ App Directory is the initial state of an app directory when it is opened for the first time.
Question: What is found within the javascriptsource folder of an App Directory?
Answer: The javascriptsource folder contains the structure of app modules with JavaScript actions defined for nanoflows.
Question: What does the javasource folder in an App Directory contain?
Answer: The javasource folder contains all Java sources belonging to microflows in the app modules.
Question: Why might you find other folders on the same directory level with subfolders leading to third-party Java files?
Answer: Other folders on the same directory level may lead to third-party Java files, such as Apache libraries, which implement custom code.
Question: Within a module folder (e.g., system), what can be found in the Actions folder?
Answer: The Actions folder within a module contains Java actions created in that specific module.
Question: What is the purpose of the Datasets folder within a module?
Answer: The Datasets folder is where data sets created in that specific module are stored.
Question: How can you create a data set in a module, and what is its source?
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.
Question: What does the Proxies folder in the App Directory contain?
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.
Question: What types of files are typically found in the Resources folder?
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.
Question: What is the purpose of the Theme folder in the App Directory?
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.
Question: What can be found in the Userlib folder of the App Directory?
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.
Question: What does the Widgets folder in the App Directory contain?
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.
Question: What is the purpose of the .mpr file in the App Directory?
Answer: The .mpr file, named after your app, is required by Studio Pro to open the app.
Question: What is the purpose of the .mpr.bak file in the App Directory?
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.
Question: What does the .mpr.lock file in the App Directory indicate?
Answer: The .mpr.lock file indicates that the app is currently open in Studio Pro and might be hidden, depending on your Windows settings.