LogoLogo
v7.0.0
v7.0.0
  • TotalCross Overview
  • TotalCross Javadoc
  • TotalCross Changelog
  • Roadmap
  • Documentation
    • Getting Started
      • First embedded project with TotalCross
    • Components
      • Accordion
      • Aligned Labels
      • Button
      • Check
      • ComboBox
      • Dynamic Scroll
      • Edit
      • Floating Button
      • Gpiod
      • Grid
      • GridContainer
      • Image
      • ImageControl
      • ImageList
      • Label
      • Material Icons
      • Material Window
      • MessageBox
      • Multi Edit
      • Progress Bar
      • Progress Box
      • Radio
      • Radio Group
      • Scroll Container
      • Side Menu
      • Slider
      • Sliding Window
      • Spin List
      • Spinner
      • Switch
      • Tabbed Container
      • Velocimeter
    • APIs
      • API Overview
      • API Rest
      • Asynchronous Task
      • Camera
      • Control
        • Main Window
        • Window
        • Container
      • GPS
      • HTTPS and SSL
      • JSON
      • Maps
        • Maps - Deprecated
        • Static Map
      • Material Design Standards
      • Ninepath
      • Notifications
      • PrinterManager
      • Push Notification Firebase
      • Scanner
      • SOAP
      • Socket
      • SocketServer
      • SQLite Encryption
      • QR Code Generator
      • totalcross.sys
      • Youtube API
    • Creating an Issue
    • Contributing
      • Branch workflow
      • Writing documentation
    • Guides
      • App Architecture
        • Suggested Architecture
        • Why do Design Patterns help with the application's organization?
          • MVC Architecture Pattern
          • Template Pattern
          • Data Persistence: DAO Pattern.
        • Separation of concepts: What is the best way to create UI interfaces?
        • Positioning
          • Manual Positioning
        • Relative Positioning
        • Best practices to improve project maintenance
      • Device Simulator
      • Package your app from scratch
        • TotalCross SDK
        • Environment Variables in IDE
          • Eclipse
          • IntelliJ
        • Deploy your app with a dependecy TC
        • Deploy iOS
          • Using Development certificate to test your apps
      • Understanding TotalCross for Linux ARM
      • Running C++ applications with TotalCross
      • Web Services
    • Miscelaneous
      • Java JDK 8
      • Maven
      • Installing Visual Studio Code
    • FAQ
      • IMEI in Android 10
Powered by GitBook
On this page
  • Overview
  • The mobile user experience
  • Recommended App Architecture
  • Why do Design Patterns help with the application's organization?
  • Separation of concepts: What is the best way to create UI interfaces?
  • Positioning
  • Best Practices to improve project maintenance

Was this helpful?

  1. Documentation
  2. Guides
  3. App Architecture

Suggested Architecture

PreviousApp ArchitectureNextWhy do Design Patterns help with the application's organization?

Last updated 6 years ago

Was this helpful?

Overview

This guide is intended for developers who have already completed getting started and have a basic understanding of TotalCross UI components, SQLite, Deploy, and Web Services, and now want to know about the architecture and best practices for building more robust and better quality apps.

If you are not already familiar with the TotalCross framework we strongly recommend you to read the entire previous session (Learning TotalCross), beginning with Getting Started.

The mobile user experience

In most cases, computer applications have a single point of entry into a desktop or quick access to programs, and then run as a single monolithic process.

Mobile apps, on the other hand, have a more complex structure. A standard mobile app contains several components, including Containers, Windows, services, content providers, and calls to native components such as camera or calls.

And when we are developing multiplatform we still have to think more deeply, remembering the particularities of each Operating System to which we want to make the application available. Although TotalCross already does the trickiest part of generating executables and preserving performance, you also need to think about the structure, modeling and configuration of the App.

Recommended App Architecture

We've separated some suggestions for the architecture of your app.

Why do Design Patterns help with the application's organization?

Separation of concepts: What is the best way to create UI interfaces?

Positioning

Best Practices to improve project maintenance

Why do Design Patterns help with the application's organization?
Separation of concepts: What is the best way to create UI interfaces?
Positioning
Best practices to improve project maintenance