Create an App with Advanced Page Building - 2 Flashcards

1
Q

Question: What is the importance of structuring the App Explorer in mendix app development?

A

Structuring the App Explorer is crucial to maintain an organized application, making it easier to develop, locate, and fix documents efficiently.

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

Why is it recommended to invest effort into organizing the App Explorer when adding documents to a Mendix application?

A

Investing effort in organizing the App Explorer ensures a neat and organized application, preventing it from becoming messy and facilitating quicker development.

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

How can a good folder structure in the App Explorer enhance the maintainability of a Mendix application?

A

A good folder structure improves maintainability by enabling faster retrieval of required documents, aiding in quicker development and issue resolution.

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

What is the suggested approach for structuring documents related to processes in the App Explorer of a Mendix app

A

Documents related to processes should be organized into folders that reflect individual processes and their respective steps.

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

How should documents related to specific entities be organized in the App Explorer of a Mendix app?

A

Documents related to specific entities should be structured into a single folder named after the entity, grouping overview pages, validation microflows, and other relevant documents.

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

What are the two options for adding custom styling to a Mendix application, as mentioned in the provided text?

A

The two options are changing SASS variables and adding new styling in a custom layer, either using SASS or CSS.

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

How does Mendix use SASS in the context of styling?

A

Mendix uses SASS (Syntactically Awesome Style Sheets) to quickly change existing styling, which is then compiled to CSS (Cascading Style Sheets) for formatting the layout of Mendix apps.

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

How can the Theme Customizer and changing SASS variables be used to achieve the desired branding changes in a Mendix app?

A

The Theme Customizer and changing SASS variables allow customization of styling in Mendix. The Theme Customizer helps update the app’s theme to match corporate branding, while changing SASS variables enables quick adjustments to existing styling.

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

In a Mendix navigation layout, what role do scroll containers play?

A

Scroll containers are used to divide the layout into individual regions, such as header, sidebar, and footer. They also define the scrolling behavior for these regions.

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

What is the key requirement when using scroll containers in a Mendix layout?

A

A scroll container must be the only top-level widget, meaning it needs to be the starting point when structuring the layout. Additionally, it can only be placed directly into another scroll container.

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

What does the term “contents” refer to in the context of a Mendix navigation layout?

A

Contents in a Mendix navigation layout encompass everything that should be present in every page using the layout, from navigation bars to sign-out buttons.

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

What is the purpose of placeholders in a Mendix navigation layout?

A

Placeholders are empty areas that form the canvas for pages using the layout. They allow customization for the unique content of each page while keeping the layout’s content consistent.

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

What is the naming convention for at least one placeholder in a Mendix layout?

A

Mendix dictates that at least one placeholder should be named ‘Main’ when creating a page based on a layout.

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

What is a master layout in the context of Mendix application design?

A

A master layout is a layout that serves as the parent to other layouts. It allows the child layouts to use defined placeholders to create more specialized configurations.

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

How does a layout benefit from having a master layout?

A

If a layout has a master, it can use the placeholders defined in the master to create a more specialized configuration. This enhances reuse in application design and improves maintenance by following the DRY (Don’t Repeat Yourself) principle.

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

What is the impact on placeholders when a page is based on a layout with a master layout?

A

When a page is based on a layout with a master layout, it can only use the placeholders defined in the new layout, not the ones of the master layout.

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

How do master layouts contribute to the principle of DRY (Don’t Repeat Yourself) in Mendix application design?

A

Master layouts reduce duplication of elements by allowing the reuse of layouts, enabling better control over design and maintaining consistency across the project.

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

According to UX design practices, what is the recommended maximum number of layouts in a chain of master layouts?

A

In line with UX design practices, it is advised to keep the chain of layouts to a maximum of 3 for simplicity and better user experience.

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

What are the two ways to change the default login page in a Mendix app?

A

The two ways to change the default login page in a Mendix app are to create a custom login.html file or to use the built-in custom login page.

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

What is a pro of using a custom login.html file to create a custom login page?

A

A pro is that you don’t need to allow anonymous users, enhancing the security of the app.

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

What is a con of using a custom login.html file for a custom login page?

A

A con is that you need to be able to write HTML to build the page.

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

How does the built-in custom login page differ from creating a custom login.html file in terms of ease of use?

A

The built-in custom login page is easier to use compared to creating a custom login.html file, as it is an out-of-the-box feature in Mendix app development.

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

What is a con of using the built-in custom login page in terms of security?

A

A con is that you need to allow anonymous users, which may have implications for security.

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

When is it appropriate to use the reference set selector widget in Mendix?

A

The reference set selector widget is used in Mendix when selecting associated objects is required, particularly in scenarios where multiple selections are possible, denoted by a * - * association.

24
Q

How can the reference set selector widget be configured in Mendix to display options?

A

The reference set selector widget can be configured to show options either in a dropdown or on a select page. This choice is influenced by factors such as the size of the object list and user-friendliness.

25
Q

Why might it be preferable to show options in a select page instead of a dropdown in the reference set selector widget?

A

If the list of objects to choose from is extensive, it’s preferable to show them in a select page. This improves initial page load speed and enhances user-friendliness by avoiding the need to scroll through a large dropdown list.

26
Q

You want to re-use a header on multiple pages, which of the following options can you use to ensure that the content of the header throughout the app automatically changes after you modify its content?

A

Snippet

27
Q

Which of the following widgets can be used to select associated objects, when multiple select is possible?

A

Reference set selector

28
Q

From the buttons on a Data Grid widget that work with single select mode, which ones need to be configured with multi-select mode?

A

Edit, Delete

29
Q

Where should you configure that only selected roles are allowed to see a container on a page?

A

In the Conditional visibility property of the container.

30
Q

What is the benefit of removing the outer layout grid from a popup window in Mendix?

A

It allows the buttons in the footer to be directly visible and “sticky.”

31
Q

How can you give a popup window a fixed size in Mendix?

A

By giving the popup window a fixed width, fixed height, and setting the resizable property to “no.”

32
Q

In the context of popup windows in Mendix, what does it mean for the footer to be “sticky”?

A

The footer is always visible, even when scrolling.

33
Q

What functionalities are typically contained in the footer of a popup window designed for approving or rejecting requests, as mentioned in the provided text?

A

An approve button, a reject button, and a cancel button.

34
Q

How is the size of popup windows set to fixed?

A

By setting the resizable property of the page to No.

35
Q

How can you ensure that the buttons in the footer area of the relatively long and scrollable pop-up page are always visible?

A

By removing the outer layout grid.

36
Q

What constraint can you use to show the most recently created items at the top of the page?

A

createdDate (descending)

37
Q

What are the default Mendix options for the popups?

A

Resizable with size determined automatically, with layout grid as the most outer layer of the page.

38
Q

How to make the popup window always visible?

A

Remove the outer layer grid.

39
Q

When would you use a Menu document in a Mendix app, and what purpose does it serve?

A

n a Mendix app, a Menu document is utilized when you want to display a custom navigation menu other than the main navigation tree. Its purpose is to define a navigation menu for auxiliary purposes, such as a side bar.

40
Q

Where are main menus for Mendix applications typically defined, and how do menu documents complement this?

A

Main menus for Mendix applications are typically defined within the app’s structure. Menu documents complement this by providing a means to create custom navigation menus for specific use cases, like a side bar or auxiliary navigation.

41
Q

What components make up a menu in Mendix, and how is the structure of a Menu document defined?

A

A Mendix menu comprises menu items, which can have optional sub-items. The structure of a Menu document involves defining these menu items and their hierarchy, enabling the creation of tailored navigation menus.

41
Q

How does the process of creating navigation items in a Mendix Menu document differ from the main navigation menu?

A

Creating navigation items in a Mendix Menu document follows a similar process to the main navigation menu. The primary difference lies in the use case, as Menu documents are specifically designed for creating customized navigation menus for auxiliary purposes.

42
Q

Where can a Menu document be displayed within a Mendix app?

A

A Menu document in a Mendix app can be displayed anywhere, either on a page or within a navigation layout. This flexibility allows developers to integrate custom navigation menus in different parts of the application.

43
Q

Why is it important to offer an application in multiple languages in an international business context, and how does Mendix facilitate this?

A

Offering an application in multiple languages is crucial in an international business world to cater to users and customers globally. Mendix facilitates this by working with translatable texts, allowing easy translation of labels, button captions, data grid columns, and menu items to serve a diverse audience.

44
Q

How does Mendix handle translatable texts, and what types of elements can be translated?

A

Mendix works with translatable texts that include labels, button captions, data grid columns, and menu items. These texts are tracked and stored in the project, making it convenient to translate the entire app from one language to another.

45
Q

What is the significance of the Project Language in Mendix, and how does it affect users?

A

The Project Language in Mendix allows you to add multiple languages and set one as the default. The default language is what users will see when they use the application. It ensures that the app can be presented in different languages to cater to a diverse user base.

46
Q

What is the Development Language in Mendix, and why is it considered a best practice to set it at the beginning of a project?

A

The Development Language in Mendix is the default language set during app development. It is recommended to set the development language at the start of the project to avoid mix-ups in language libraries. Starting with the correct development language ensures that all new labels, messages, etc., are added to the selected language library.

47
Q

How does Mendix handle pages that haven’t been translated to the selected language, and how are untranslated labels displayed?

A

In Mendix, when pages haven’t been translated to the selected language, labels display the text of the default language between angle brackets (e.g., < Requests >). When deployed, labels without translation display the default language label without the angle brackets.

48
Q

What is the purpose of the Batch Translation option in Mendix Studio Pro, and how does it streamline the translation process?

A

The Batch Translation option in Mendix Studio Pro serves the purpose of efficiently translating translatable texts in an app. It streamlines the translation process by providing a complete list of all translatable texts in both source and destination languages, allowing for easy replacement of words in angle brackets.

48
Q

How can the Modeler in Mendix be configured regarding translations, and where can this configuration be found?

A

The Modeler in Mendix can be configured in the language settings of the project regarding how strict it is in checking for translations. This configuration allows developers to control how the Modeler handles untranslated texts in the app.

49
Q

How can developers filter and search for specific labels during the Batch Translation process in Mendix Studio Pro?

A

Developers can filter on specific modules and use the search function during the Batch Translation process in Mendix Studio Pro. This allows them to focus on particular areas of the app and quickly find specific labels for translation.

50
Q

Why is the Occurrence window important in the Batch Translate window of Mendix Studio Pro, and how does it assist in the translation process?

A

The Occurrence window in the Batch Translate window is crucial because some labels and texts may occur multiple times in the app. It helps developers understand where these labels are used, providing context for accurate translations. For example, it distinguishes between different meanings of a word and ensures precise translations.

51
Q

How does the Export/Import Translations feature in Mendix Studio Pro facilitate translating languages outside the development environment?

A

The Export/Import Translations feature in Mendix Studio Pro allows developers to export translatable texts to an Excel (.xlsx) file. This file contains two columns for each language. Developers can then translate the texts outside Mendix Studio Pro and import the Excel file back into the project when the translations are complete.

52
Q

How many source and destination languages can you specify?

A

One source, one destination

53
Q

What does default project language define?

A

The language which users will see when using your app.

54
Q

When and how a default language of an app needs to be selected?

A

Automatically at the moment of app creation.

54
Q

Where can you choose the development language?

A

In the toolbar of Studio Pro

55
Q

Which of the following functionalities do you need to use to show a complete list of all translatable texts of a source and destination language?

A

Batch translation