XAML

XAML is a declaratory language developed for the needs for the new operating system of Microsoft, Windows Vista. Pronounced Zammel , these initial corresponds to extensible Application Markup Language .

The user interfaces of the future applications developed for Windows Vista (there will be an update for Windows XP a little before the exit of Vista) will be created with XAML. XAML belongs to Windows Presentation Foundation which is itself component framework. Net 3.0.

Based on the language XML, it facilitates the work of the developer and makes it possible to write an application Windows customer as easily (or at least, its interface) as a Web application. The idea is indeed to separate construction from the user interface of the subjacent code as that is already the case in the Web applications of the type ASP.NET. The development of the user interface being entrusted to designers, Microsoft proposes with those the software Interactive Expression Designer to handle this interface. XAML also includes functionalities to handle objects in three dimensions, in a way similar to X3D.

XUL and UIML is other examples of languages of description of graphical interfaces based on XML.

Authority transaction

XAML is also a specification of development for services Web which draws its name from the protocol XA ( Transaction Authority ) which gave Transaction Authority Markup Language .

Specifications XAML indeed make it possible a transaction Web to manage the compromise integrity (what was up to now lacking with the developments B2B). With XAML it becomes possible to manage the which allows the controlled update of several databases distributed (for example between several partners).

Transaction XAML “waits” to receive the payment (the made ) various requested waiters and in the event of problem with one of them, is able to ask the other waiters “to demolish” the partial updates carried out in order to maintain the integrity of the data.

Example

Here an example of code of a small Windows application which posts “Hello World! ”:

< Canvas ID=" root" xmlns=" http://schemas.microsoft.com/2003/xaml" xmlns: def=" Definition" > < Text> Hello World! < /Text> < /Canvas>

As in the development Web, of the code allowing to manage events (click, double-click, entry of text, etc) can be inserted:

  • is directly in the page using a special tag def: Code ,
  • is in a separate file written in a language supported by the environment.

The code can be written in C# or Visual BASIC .NET. One of most appreciated the characteristics development in XAML, present in fact since the arrival of .NET, is precisely to be able to separate this visible part by the user (graphic environment) from the code in itself. The separate file is then called code-behind spins .

See too

External bonds

  • Xaml.fr the French site of XAML.
  • MSDN: '' XAML Overview ''
  • ondotnet.com: ''Inside XAML''

Random links:Teutons | Fencing with the Olympic Games of 1988 | Saipa | Phlebotominae | Bar Codes | Washington,_l'Illinois