Book Image

Windows Phone 7 Silverlight Cookbook

By : Robb Schiefer Jr., Jonathan Marbutt, Robb Schiefer
Book Image

Windows Phone 7 Silverlight Cookbook

By: Robb Schiefer Jr., Jonathan Marbutt, Robb Schiefer

Overview of this book

Silverlight has revolutionized development using Microsoft technologies. It is an excellent tool for mobile application development. The XAML-based markup and familiar C# code are the perfect combination for building apps efficiently and with minimum hassle.Packed full of recipes containing comprehensive instructions for the tasks required to build modern compelling smartphone apps using Silverlight.Starting with application design and architecture, you will quickly move on to more technical features and APIs you can implement to make your app stand out. You will use the Camera API to scan barcode, location services to pinpoint the user’s GPS coordinates and accelerometer to provide feedback based on movement of the phone. All of these features can be provided in a slick user interface through the power of Silverlight. Animations, behaviors and XAML provide all you need and more.
Table of Contents (18 chapters)
Windows Phone 7 Silverlight Cookbook
About the Authors
About the Reviewers


Throughout the previous chapters, we have learned various ways to layout and engage the user with animations while adding interactivity through behaviors. But as with many applications, you will need to create applications with data that comes from a database or web service. While traditionally databinding in applications has been just for placing simple lists or datagrids onto an application, with Silverlight binding can take on a whole new role. Binding in Silverlight contains both the traditional method of showing data on a form but also the ability to bind properties to properties of other controls in element-to-element binding, which we will demonstrate later in this chapter.

In this chapter, we will discuss at length the loose binding characteristics of Silverlight that enables us to maximize the code reuse for our application. Because of this loose binding, we will be able to demonstrate one of the more common architectures that has been made popular in Silverlight, MVVM...