Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4097950
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T20:14:21+00:00 2026-05-20T20:14:21+00:00

I am about to start building an app that will be used across all

  • 0

I am about to start building an app that will be used across all platforms. I will using monotouch and monodriod so I can keep things in .net

I’m a little lazy so I want to be able to reuse as much code as possible.

Lets say I want to create an application that stores contact information. e.g. Name & Phone number

My application needs to be able to retrieve data from a web service and also store data locally.

The MVVM pattern looks like the way to go but im not sure my approach below is 100% correct

Is this correct?

  1. A project that contains my models
  2. A project that contains my views,local storage methods and also view models which I bind my views to. In this case there would be 3 different projects based on the 3 os’s
  3. A data access layer project that is used for binding to services and local data storage

Any suggestions would be great.

Thanks for your time

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T20:14:22+00:00Added an answer on May 20, 2026 at 8:14 pm

    Not specifically answering your question, but here are some lazy pointers…

    • you can definitely reuse a lot of code across all 3 platforms (plus MonoWebOS?!)
    • reusing the code is pretty easy, but you’ll need to maintain separate project files for every library on each platform (this can be a chore)
    • MVVM certainly works for WP7. It’s not quite as well catered for in MonoTouch and MonoDroid
    • some of the main areas you’ll need to code separately for each device are:
      • UI abstractions – each platform has their own idea of “tabs”, “lists”, “toasts”, etc
      • network operations – the System.Net capabilities are slightly different on each
      • file IO
      • multitasking capabilities
      • device interaction (e.g. location, making calls etc)
    • interface abstraction and IoC (Ninject?) could help with all of these
    • The same unit tests should be able to run all 3 platforms?

    Update – I can’t believe I just stumbled across my own answer… 🙂 In addition to this answer, you might want to look at MonoCross and MvvmCross – and no doubt plenty of other hybrid platforms on the way:

    • https://github.com/slodge/MvvmCross
    • http://monocross.net (MVC Rather then Mvvm)
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm about to start building a Rails app that will eventually need to vary
I'm about to start building a tumblr clone that handles multiple users (so premade
I'm building an iPhone app that is essentially a book, it will be bundled
I'm building a rails app that takes information about products from an XML datafeed
I am building a small app that I can use to do Interval Training,
I'm building a small PHP/Javascript app which will do some processing for all cities
I'm currently building an app that will play sounds. When a user starts a
I'm about to start work on my first big iOS app, but haven't really
I'm about to start a new project using node, backbone, underscore, and express among
I'm about to start a new project. The purpose of this project will be

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.