473,804 Members | 3,057 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

XAML

How important is XAML? (or how important is it expected to become during the
next 5 years?)

Looking for informed opinions.

Thanks!
Dec 31 '05
13 2474
On Sun, 1 Jan 2006 09:07:33 -0800, "Jeff" <A@B.COM> wrote:
Thanks Scott... could you elaborate a bit?... perhaps point me/us to
additional reading?


Well, let's say I write this hunk of XAML:

<Page x:Class="Defaul t_page" Title="Home">
<TextBlock FontSize ="18" TextWrapping="W rap">
CheckOut
<Hyperlink NavigateUri="pa ge2.xaml">Page 2!</Hyperlink>,
</TextBlock>
</Page>

The first question is - am I describing the UI for a web form, or a UI
for Windows Presentation Framework (WPF)? I don't know just by looking
- it could be either! If I add an XML namespace specific to WPF
(xmlns="http://schemas.microso ft.com/winfx/avalon/2005"), then I'd
know.

Everyone associates XAML with WPF at first, but XAML doesn't
necessarily have to be tied to WPF. Let's take a step back even
further.

What am I doing with XAML? I am giving declarative instructions to:

Create a Page object and set the Title property.
Create a TextBlock object with FontSize and TextWrapping properties
set, then add the TextBlock to the Page's content.
Create some literal text, and a Hyperlink object to add the to
TextBlock content.
And so on...

What I'm really doing is providing instructions to build a tree of
managed objects. The tree of objects could represent a window, a
webform, even ...

<SequentialWork flow x:Class="HelloW orld" >
<SequentialWork flow.Parameters >
<wcm:Paramete r Name="FirstName " Type="System.St ring">
<wcm:Paramete r Name="LastName" Type="System.St ring">
</SequentialWorkf low.Parameters>
<Code ExecuteCode="co de1_CodeHandler " ID="code1" />
</SequentialWorkf low>
... a Workflow [1].

Because XAML is general purpose, and because it's toolable (meaning it
will work with designers, compilers, and the tools we write
ourselves), XAML and XAML-like technologies are bound to become more
prevalent in the next 5 years in a number of areas (not just UI), as a
way to manage complexity (because the above XAML snippets cut down on
the amount of code we'd have to write to do the same thing, and
because it is toolable we might not have to make a lot of effort
maintaining the XAML, either).

Of course, because XAML is so toolable, I'm not sure how *visible*
XAML will actually be. It will certainly be behind the scenes of many
tools [2], but not something we work with by hand very much.

[1] http://msdn.microsoft.com/windowsvis...ding/workflow/

[2]
http://www.microsoft.com/products/ex...r/default.aspx
I hope this afternoon ramble makes some sense...

--
Scott
http://www.OdeToCode.com/blogs/scott/
Jan 1 '06 #11
Very very helpful. Thanks!

"Scott Allen" <sc***@nospam.o detocode.com> wrote in message
news:o1******** *************** *********@4ax.c om...
On Sun, 1 Jan 2006 09:07:33 -0800, "Jeff" <A@B.COM> wrote:
Thanks Scott... could you elaborate a bit?... perhaps point me/us to
additional reading?


Well, let's say I write this hunk of XAML:

<Page x:Class="Defaul t_page" Title="Home">
<TextBlock FontSize ="18" TextWrapping="W rap">
CheckOut
<Hyperlink NavigateUri="pa ge2.xaml">Page 2!</Hyperlink>,
</TextBlock>
</Page>

The first question is - am I describing the UI for a web form, or a UI
for Windows Presentation Framework (WPF)? I don't know just by looking
- it could be either! If I add an XML namespace specific to WPF
(xmlns="http://schemas.microso ft.com/winfx/avalon/2005"), then I'd
know.

Everyone associates XAML with WPF at first, but XAML doesn't
necessarily have to be tied to WPF. Let's take a step back even
further.

What am I doing with XAML? I am giving declarative instructions to:

Create a Page object and set the Title property.
Create a TextBlock object with FontSize and TextWrapping properties
set, then add the TextBlock to the Page's content.
Create some literal text, and a Hyperlink object to add the to
TextBlock content.
And so on...

What I'm really doing is providing instructions to build a tree of
managed objects. The tree of objects could represent a window, a
webform, even ...

<SequentialWork flow x:Class="HelloW orld" >
<SequentialWork flow.Parameters >
<wcm:Paramete r Name="FirstName " Type="System.St ring">
<wcm:Paramete r Name="LastName" Type="System.St ring">
</SequentialWorkf low.Parameters>
<Code ExecuteCode="co de1_CodeHandler " ID="code1" />
</SequentialWorkf low>
.. a Workflow [1].

Because XAML is general purpose, and because it's toolable (meaning it
will work with designers, compilers, and the tools we write
ourselves), XAML and XAML-like technologies are bound to become more
prevalent in the next 5 years in a number of areas (not just UI), as a
way to manage complexity (because the above XAML snippets cut down on
the amount of code we'd have to write to do the same thing, and
because it is toolable we might not have to make a lot of effort
maintaining the XAML, either).

Of course, because XAML is so toolable, I'm not sure how *visible*
XAML will actually be. It will certainly be behind the scenes of many
tools [2], but not something we work with by hand very much.

[1] http://msdn.microsoft.com/windowsvis...ding/workflow/

[2]
http://www.microsoft.com/products/ex...r/default.aspx
I hope this afternoon ramble makes some sense...

--
Scott
http://www.OdeToCode.com/blogs/scott/

Jan 1 '06 #12
that's scary man!

"Jeff" <A@B.COM> wrote in message news:%2******** ********@TK2MSF TNGP14.phx.gbl. ..
Well, you see, Autodesk is the organization that is *really* controlling
*everything* including the price of gas, middle East policy, organized
crime, and of course XAML. If you don't believe me, just consider that Big
Foot and the Loch Ness monster are both on the payroll of Autodesk.





"Lloyd Dupont" <net.galador@ld > wrote in message
news:%2******** *********@TK2MS FTNGP15.phx.gbl ...
I don't see how whatever software politic Autodesk has could impat on the
adoption (or not) of XAML by the developer community?!?

"clintonG" <cs*********@RE MOVETHISTEXTmet romilwaukee.com > wrote in message
news:O6******** *****@TK2MSFTNG P15.phx.gbl...
If you're asking for insight and possibilities I perceive XAML will allow
us to build an interactive desktop that is indistinguishab le from a
"page" allowing unique applications such as a desktop that functions as
an interactive architectural floorplan or an interactive representation
of a machine for example but as it has been said, all of this will be a
few years away and we will also have to contend with subversive and
corrupt crippleware vendors such as Autodesk who will do everything they
can to prevent this sort of progress.

<%= Clinton Gallagher
METROmilwaukee (sm) "A Regional Information Service"
NET csgallagher AT metromilwaukee. com
URL http://metromilwaukee.com/
URL http://clintongallagher.metromilwaukee.com/


"Jeff" <A@B.COM> wrote in message
news:%2******** ********@tk2msf tngp13.phx.gbl. ..
How important is XAML? (or how important is it expected to become during
the next 5 years?)

Looking for informed opinions.

Thanks!




Jan 2 '06 #13
>
That's the way I see it. Does that help?
I see.
A bit of informed feedback is always interesting.

"clintonG" <cs*********@RE MOVETHISTEXTmet romilwaukee.com > wrote in message
news:ue******** ******@TK2MSFTN GP09.phx.gbl... We will need standardized schemas that can be used for vector geometry.
The Autopimps control the drafting software and have refused to web enable
the drawing file formats which keeps the customer's drawing assets
crippled. The Autopimps bought a seat on a W3C committee to scuttle the
adoption of SVG. Microsoft did the same by the way but at least Microsoft
provides alternatives whereas the Autopimps provide none.

The Autopimps change their file format every two years and have at least a
half-dozen proprietry file viewers which provide basic viewing but cripple
any web enablement and demand fees that must be passed on to a developer's
customer.

The Autopimps software development license states nobody may develop
software that competes with an Autopimp product. Any developer that
chooses to proceed anyway is always at risk of the Autopimps using their
slimy lawyers to steal the software created by a developer with a great
idea.

The Autopimps now support the use of the .NET Framework in several of
their products but have not supported web enabling the interface of the
products (they have a FU hyperlink feature in the IDE that has been
dysfunctional or crippled for the last five years) and they have
obstructed any means of web enabling the drawing files themselves. They
support "some" use of XML but only in certai products which have very
small markets and only then support their own crippled schemas with no
implementation I am aware of which would allow other options.

A developer has to pay the Autopimps $1200 every year to have access to
documentation and private developer resources that are not otherwise made
available on the web when downloading their SDK. Its like MSDN in that NFR
software is provided when paying the fee but like the corrupt cable
companies that charge customers for programming they do not want the
Autopimps bundle documentation and resources that are not otherwise
available without having to pay for the NFR that is not needed when a
developer is already a customer and uses a specific product such as
AutoCAD/Architectural Desktop or Revit.

The National Institute of Science and Technology reports the US
construction industry is losing $15 billion annually as a result of
crippled software or lack of software processes. If its true that the
Autopimps control most design and drafting for the US construction
industry as it is true that Microsoft controls most desktop operating
systems it must then be true that the Autopimps are the fundamental reason
why the US construction industry is operating at a $15 billion annual
loss.

<%= Clinton Gallagher
METROmilwaukee (sm) "A Regional Information Service"
NET csgallagher AT metromilwaukee. com
URL http://metromilwaukee.com/
URL http://clintongallagher.metromilwaukee.com/
"Lloyd Dupont" <net.galador@ld > wrote in message
news:%2******** *********@TK2MS FTNGP15.phx.gbl ...
I don't see how whatever software politic Autodesk has could impat on the
adoption (or not) of XAML by the developer community?!?

"clintonG" <cs*********@RE MOVETHISTEXTmet romilwaukee.com > wrote in
message news:O6******** *****@TK2MSFTNG P15.phx.gbl...
If you're asking for insight and possibilities I perceive XAML will
allow us to build an interactive desktop that is indistinguishab le from
a "page" allowing unique applications such as a desktop that functions
as an interactive architectural floorplan or an interactive
representation of a machine for example but as it has been said, all of
this will be a few years away and we will also have to contend with
subversive and corrupt crippleware vendors such as Autodesk who will do
everything they can to prevent this sort of progress.

<%= Clinton Gallagher
METROmilwaukee (sm) "A Regional Information Service"
NET csgallagher AT metromilwaukee. com
URL http://metromilwaukee.com/
URL http://clintongallagher.metromilwaukee.com/


"Jeff" <A@B.COM> wrote in message
news:%2******** ********@tk2msf tngp13.phx.gbl. ..
How important is XAML? (or how important is it expected to become
during the next 5 years?)

Looking for informed opinions.

Thanks!



Jan 2 '06 #14

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
2666
by: Thilaka | last post by:
Hi guys, Recently i read some articles on Longhorn & XAML. & From what i learnt the future for developing UIs lies in XAML. Does this mean that I've got to learn XAML as developing UIs for web or win applications will be different? Or will future versions of VS.Net wrap up the XAML hence making it unnecessary for me to know or learn XAML? --
7
2168
by: GVN | last post by:
Hi All, I would like to write a .NET application which uses XAML. The following is my system's specification: Operating System : Windows XP ..NET Framework : 1.1
3
1930
by: Brent | last post by:
OK i downloaded the new/addon framework 3 and downloaded the VS 2005 addon. I started with XAML. So far im like mehhhhhhhh. Anyone else have the same opinion? When i first heard about xaml i got excited as you could put a lot of 3d effects in your apps. Who is with me in thinking that xaml is kind of green right now. Maybe tools will be added in the future that will make it an excellent technology but right now its not that great. There are...
2
2344
by: azerty | last post by:
Hello I try to use xaml serializer framework to save in .xaml file my own hierarchical graph of object. The first step is done : I create my own file with something like this : <Root
6
5771
by: moondaddy | last post by:
will CodeDom create XAML windows or just regular windows forms? If so, how to I tell it to create a xaml window instead of a windows form? thanks -- moondaddy@noemail.noemail
0
5728
by: =?Utf-8?B?WmlnZ3lTaG9ydA==?= | last post by:
I have a sample XAML file: <StackPanel xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> <Button Name="button2" Height="23" Width="300" Margin="31,37,0,0" Click="doit">Hello World</Button> </StackPanel> If I compile the application normally, the XAML is converted to a .cs and then an application is built: on clicking the button "doit" gets called if it is code-behind or is embedded in an <x:codeblock within the XAML...
3
2511
by: arunonw3 | last post by:
Please answer me 1. Is XAML maily aiming windows. Why is the controls on double click not produce the event handlers in the c# file( code behind or something ...) 2. XAML web browser applications doesnt need IIS? Then can we use it for server side programming? If yes how is it working? 3.How to use the asp.net objects from xaml (web) page. Or is there any
6
10121
by: star-italia | last post by:
Hi, Is it possible to include a XAML file into another XAML file? For example If i have - Window1.xaml - Window2.xaml and both have a treeview with a custom Style, can i describe the style in a trvStyle.xaml and then include it in both windows? Thanks in advance
4
17944
by: moondaddy | last post by:
I have a user control located in the following path: projectFolder/PropertyControls/myControl.xaml and in myControl.xaml I have a reference to a resource dictionary like this: <UserControl.Resources> <ResourceDictionary> <ResourceDictionary.MergedDictionaries> <ResourceDictionary
0
9584
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
10323
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10082
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7622
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5525
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5654
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4301
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3822
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2995
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.