Chapter 4

The MonoCross Pattern

What's In This Chapter?

  • Recognizing cross-platform development challenges
  • Making your code portable with Mono
  • Developing for multiple platforms
  • Implementing the Model-View-Controller pattern in MonoCross
  • Building shared applications in MonoCross
  • Developing platform containers in MonoCross

Now that you've evaluated your architectural options, designed your user experience, and set up your environment, you're ready to begin coding. But before you dive in, it is crucial to understand the problems inherent to cross-platform mobile development and the approach necessary to solve them. By reading this chapter you can achieve a greater understanding of some of the challenges developers face when attempting to write cross-platform mobile applications and explore the MonoCross open-source pattern as a solution to those challenges. You see how MonoCross enables sharing of business logic and data access code across platforms using proven enterprise software patterns, such as the Model-View-Controller (MVC) and Separated Interface patterns. Finally, you learn how MonoCross uses a shared application to define application workflow using URI-based navigation and platform containers to create sophisticated user experiences that can be deployed to multiple platforms and rendered from the shared application.

Understanding the Cross-Platform Problem

With the introduction of so many new smartphone platforms in recent years, more enterprise developers are being asked ...

Get Professional Cross-Platform Mobile Development in C# now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.