Databound App + Online XML Data Source (Windows Phone 8)

1,406 views
1,272 views

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,406
On SlideShare
0
From Embeds
0
Number of Embeds
532
Actions
Shares
0
Downloads
8
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Databound App + Online XML Data Source (Windows Phone 8)

  1. 1. Databound App + Online XML Data Source (Windows Phone 8) Jaliya Udagedara
  2. 2. Target Audience • Familiarity in any programming language (C# is preferred) • IDE : Visual Studio • Experience in Basic Windows Phone Application Development • XAML
  3. 3. What are we going to discuss today? • Windows Phone Databound App Template • MVVM For Windows Phone • Basics of Data Binding • Quick Look : LINQ Queries • Demo
  4. 4. Windows Phone Databound App Template • A Template designed using a MVVM pattern
  5. 5. MVVM For Windows Phone • MVVM is a way to separate data from the user interface. • Developers code models. • Designers create user interfaces. • MVVM is not just for Windows Phone Development.
  6. 6. MVVM For Windows Phone View Data Binding View Commands Messages ViewModel Model Model Model
  7. 7. Data Binding • View is bounded to ViewModel • ViewModel must implement INotifyPropertyChanged Interface • Notify clients, typically binding clients, that a property value has changed.
  8. 8. Quick Look : LINQ Queries • What are queries? • SQL for relational databases • XQuery for XML etc. • What is LINQ? • Operations in a LINQ query • Obtain the data source • Create the query • Execute the query
  9. 9. Demo WP8 Databound App Consuming an Online XML Data Source
  10. 10. Thank You! http://www.jaliyaudagedara.blogspot.com/

×