1 / 36

“Love your XAML”

“Love your XAML”. Rich Griffin. Who am I?. Rich Griffin Senior Technical Consultant. XAML projects. Lehman Brothers. Lehman Brothers. Mix UK Reader. McClaren. IPTV. Radio. XAML is a . Set of semantics that sit on top of raw xml that enables a common interpretation.

tavi
Download Presentation

“Love your XAML”

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. “Love your XAML” • Rich Griffin

  2. Who am I? Rich Griffin Senior Technical Consultant

  3. XAML projects

  4. Lehman Brothers

  5. Lehman Brothers

  6. Mix UK Reader

  7. McClaren

  8. IPTV

  9. Radio

  10. XAML is a ...

  11. Set of semantics that sit on top of raw xml that enables a common interpretation. Technically XAML is not a language itself but a .Net serialisation and initialisation language for CLR objects. Mapping XML... tags to CLR types. attributes to CLR properties and events.

  12. Declarative language Markup languages are easier to read for tools and humans. <Grid> <Button Content=“Click Me” /> </Grid>

  13. Attached Properties Provide the ability to extend types with properties by other types. In effect they are type safe versions of the JavaScript expando properties that we are used to.

  14. Markup Extensions. XAML defines a special namespace for dealing with the parser built in types and are represented enclosed in curly’s {}. They are implemented as CLR types and are similar to CLR attributes.

  15. Markup Extensions X:Static <Button Command=‘{x:static ApplicationCommands.Close}’ />

  16. Markup Extensions X:Data <XmlDataSource> <x:XData> <Customer xmlns=‘’ Name=‘Richard’ /> </x:XData> </XmlDataSource>

  17. Where is the love ? Separation of concerns Comprehensiveness Expressivity Extensibility Workflow

  18. Comprehensiveness Styles Templates Data Binding Animation

  19. Expressivity Controls Layout Text 3D vector graphics

  20. Extensibility XAML can represent UI controls XAML can represent .Net objects

  21. Separation of concerns XAML provides the ability to separate the UI from the application logic Helps to separate design and development tasks allowing developers to work directly on artefacts created by designers.

  22. Workflow Continual collaboration Continual iteration

  23. What is in your WPF toolbox ? VS08 KAXAML Blend Snoop / Mole WPF Profiler

  24. What is in your Silverlight toolbox ? VS08 KAXAML Blend Silverlight Spy Firebug

  25. Visual Studio 2008

  26. KAXAML

  27. Expression Blend: XamlCentrale

  28. Expression Blend: XamlCentrale

  29. Mole

  30. Snoop

  31. Silverlight Spy

  32. TFS Integration – developers be nice Blend does not support a SCM XAML Designers will need to have vs08 installed Some mentoring will be required on how to.. Be gentle... There is a high probability that designers will not know about source control

  33. Lets crank some XAML

  34. Take away Find a designer by them beer and pizza Start using KAXAML Learn the features of Blend Love your XAML

  35. Links http://blogs.msdn.com/tims/ http://silverlight.net/ http://www.slxlab.com/ http://del.ic.ous/grippa

  36. Any questions?(too late!) http://blogs.conchango.com/richardgriffin

More Related