Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to develop a simple app for the Windows Phone 7 platform. It's basically a vocabulary based game that involves the user moving word tiles from one area to another to score points.

I want to know what is the best way of tying the UI to the game's backend? I saw the Windows Phone 7 jumpstart videos, there they touch up on Data Binding but don't really go into any depth.

I'm a newbie and don't have any experience with designing the architecture for a phone app, It'd be great if someone could explain what steps I should be taking or guide me to a resource from where I could learn more.

share|improve this question

closed as too broad by gnat, GlenH7, MichaelT, Kilian Foth, World Engineer Oct 22 '13 at 1:03

There are either too many possible answers, or good answers would be too long for this format. Please add details to narrow the answer set or to isolate an issue that can be answered in a few paragraphs.If this question can be reworded to fit the rules in the help center, please edit the question.

did you check resources suggested in windows-phone-7 tag wiki at Stack Overflow? "Windows Phone 7 Development for Absolute Beginners" etc... – gnat Mar 20 '12 at 14:21
Yes, i have familiarized myself with the Basics. – nikhil Mar 20 '12 at 14:31
up vote 1 down vote accepted

This month's issue of MSDN magazine has a good article:

However, when you used the phrase "tying the UI to the game's backend" and the word "architecture", I'm thinking that you need more information beyond simply binding from a XAML view to an object behind it. I'm thinking you should start reading about MVVM, as well as general WP7 architecture guidance.

There's stuff all over the web but the problem is that the overall guidance is not fully prescriptive in all cases - MS has advice for you, but no silver bullet. This makes it hard to pull any useful information out of all the noise on message boards and places like StackOverflow (not implying that there aren't good answers out there, but you will find many that are conflicting, overly confusing or tailored to specific scenarios.)

In my opinion, the best way to get started is with the publications from MS Patterns and Practices. Hit that link and Ctrl-F for "phone" and get to reading. Even the "retired" Windows Phone 7 Developer Guide there is great, but I'd start at the top with the Phone/MVVM one. Check out the Resources in that one, including Karl's "MVVM In the Box". And make sure you actually download and study the code as well as reading the article.

share|improve this answer
You're right that looks promising, I'll try that code now. – nikhil Mar 21 '12 at 4:09

If you think you already know the basics and still need guidance, I suggest you get a good book on the subject. For example, Charles Petzold offers a free e-book on Windows Phone 7 that can be downloaded here.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.