[AI] Tech Dose of the day: XAML
vishnuhappy at yahoo.com
Tue Jun 3 07:04:31 EDT 2008
Dosed by Vaidehi Kumari – M & E Team (from MphasiS Software Services)
What is an XAML?
Extensible Application Markup Language (XAML) is a declarative language. XAML was introduced as part of Windows Presentation Foundation (WPF) which was released in November 2006 as part of .NET Framework v3.0. XAML is at the core of Silverlight, v2 of which will be released this year. XAML with those two presentation technologies (WPF for the Windows desktop and Silverlight for the cross-platform browser) and have no qualms in intermixing those terms in this blog post. The XAML that Silverlight 2 will support is a subset of the XAML that WPF supports, but the core principles and most capabilities are the same. XAML files are XML files that generally have the .xaml file name extension.
XAML is an XML language for describing a hierarchy of objects and their properties; in our concrete examples, it describes a hierarchy of visual objects that make up a Graphical User Interface (GUI).
XAML combined with the next-gen Windows graphics kernel (code-named Avalon) is an all-in-one markup language for hypertext (HTML), vector graphics (SVG), animations (Flash,SMIL), print documents (PDF,XSL-FO), forms (XForms,XUL), and much more.
What is its usefulness?
XAML simplifies creating a UI for the .NET Framework programming model. You can then use a separate code-behind file to respond to events and manipulate the objects you declared in XAML. You can create visible UI elements in the declarative XAML markup, and then separate the UI definition from the run-time logic by using code-behind files, joined to the markup through partial class definitions. The ability to mix code with markup in XAML is important because XML by itself is declarative, and does not really suggest a model for flow control.
XAML has a set of rules that map object elements into classes or structures, attributes into properties or events, and XML namespaces to CLR namespaces. XAML elements map to Microsoft .NET types as defined in referenced assemblies, and the attributes map to members of those types.
BMR - a key player in weight issues. Know more - http://in.search.yahoo.com/search?&fr=na_onnetwork_mail_taglines&ei=UTF-8&rd=r1&p=basal+metabolic+rate
More information about the AccessIndia