O'Reilly logo

Professional Cross-Platform Mobile Development in C# by Kenny Goers, Ben Horgen, John Hunter, Scott Olson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required