Microsoft, the evil empire that we all love, recently release Vista for everyone. My recent trip to Dallas made me learn about all this new stuff microsoft has been cooking for an year or two. I will try to share what I recently learnt. One of the great things about Vista is that it will support applicaitons that employ graphics used by computer games. I was a big fan of Wolf 3D game. Using WPF(Windows Presentation Foundation), you can create graphics like that by just typing xml. Many feel that XAML will eliminate the need for multiple file formats or plug-ins (read: Flash), while lowering development costs and reducing time to market.
I just made a contact management program in XAML. And I have to admit that it is not that different. Any developer can learn it. And people with ASP.NET experience will have pick this up pretty quickly. Here is how a sample of XAML code.
The same Button object created using C# requires four lines:
Button myBtn = new Button( );
myBtn.Background = Brushes.Green;
myBtn.Text="Submit";
myBtn.Click += new System.EventHandler(OnClickHandler);
This looks pretty familiar right? I would recomment you guys to get started on XAML. Thats the next generation for application. It may seems like browser apps may not last forever. I will soon post my content management application using XAML.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment