Saturday, January 17, 2009

XAML - The new Bridging language between Designer and Coder!

· Declarative programming - XAML
- Windows Presentation Foundation introduces XAML (eXtensible Application Markup Language), an XML-based way for instantiating and populating nested object hierarchies to write user interfaces.


- Actually XAML internally maps XML markup tags to objects in the .NET Framework. End of the day, XAML gets compiled into an object definition.

- During runtime, it instantiates each of the elements and nodes described in the XAML document and creates an equivalent object model in memory.

- XAML is not Avalon, and Avalon is not XAML! XAML is just another declarative XML based language (Similar to C#, VB .NET etc) to build UI in Windows.


Developer - Designer collaboration
- Developer - Designer collaboration with the introduction of the XML Application Markup Language (XAML).
· Trust me! Mostly Good Developer can’t be a Good Designer!

- With XAML, the developer-designer productivity and collaboration increases with the usage of tools like Visual Studio 2005 (Developer) and Expression Interactive Designer (Designer).

- XAML act as a communication channel between designers and developers!

- With introduction of XAML, Designer can use tools like Expression "Sparkle" or any third-party tools including ZAM 3D, Mobiform Aurora etc to design user interfaces including 2-D and 3-D graphics, video and animation in XAML format

- Developers consume the designer generated XAML with their code for better UI.

- Therefore one can split off presentation UI and client-side logic in the same way as with a Web application.

· Interoperability between Windows Presentation Foundation and Win Forms applications.
- You can host WPF controls in a Windows Forms application, and a Windows Forms control in a WPF application to leverage the existing code base and to facilitate incremental approach for migration.


No comments: