Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

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
    
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
add comment

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.

2 Answers

up vote 1 down vote accepted

This month's issue of MSDN magazine has a good article: http://msdn.microsoft.com/en-us/magazine/hh852595.aspx.

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
add comment

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
add comment

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