> For the complete documentation index, see [llms.txt](https://learn.totalcross.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://learn.totalcross.com/documentation/guides/app-architecture.md).

# App Architecture

- [Suggested Architecture](https://learn.totalcross.com/documentation/guides/app-architecture/suggested-architecture.md)
- [Why do Design Patterns help with the application's organization?](https://learn.totalcross.com/documentation/guides/app-architecture/suggested-design-patterns.md)
- [MVC Architecture Pattern](https://learn.totalcross.com/documentation/guides/app-architecture/suggested-design-patterns/mvc.md)
- [Template Pattern](https://learn.totalcross.com/documentation/guides/app-architecture/suggested-design-patterns/builder.md)
- [Data Persistence: DAO Pattern.](https://learn.totalcross.com/documentation/guides/app-architecture/suggested-design-patterns/dao.md)
- [Separation of concepts: What is the best way to create UI interfaces?](https://learn.totalcross.com/documentation/guides/app-architecture/container-x-window.md)
- [Positioning](https://learn.totalcross.com/documentation/guides/app-architecture/relative-positioning.md)
- [Manual Positioning](https://learn.totalcross.com/documentation/guides/app-architecture/relative-positioning/manual-positioning.md)
- [Relative Positioning](https://learn.totalcross.com/documentation/guides/app-architecture/hbox-and-vbox.md)
- [Best practices to improve project maintenance](https://learn.totalcross.com/documentation/guides/app-architecture/colors-fonts-and-images.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://learn.totalcross.com/documentation/guides/app-architecture.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
