Hi Don,

> Our Aurora XAML Designer application is written entirely in C# with 
> XAML. One of the cool features we are building in is the ability to 
> select a *Theme* for the user interface. This is done using XAML and 
> Styles. The application logic is still a .NET program; the UI and 
> styles were defined in XAML.

Skinning is always a plus.  But of course that can be done in SPARK
too through CSS.

> XAML defines all of the user interface, look feel, animations and 
> some basic behaviors of the UI. But for application development you 
> still use a .NET language with your XAML document. The objects are 
> defined in XAML, but the advanced logic is done in your .NET 
> language, kind of how ECMA acts on the SVG objects in the DOM.

I guess I wasn't able to express myself clearly before but this was
what I was trying to point out two posts ago when I said:

> What is the application code written in?  
> Where does the application code sit?  

That is exactly what I was trying to get at.  I understand that XAML
provides UI controls in a similar fashion to SPARK.  This just gets
straight back to what my original statement was (though it was
originally done only have seriously): 

"SVG+SPARK - an open source alternative to XAML"

Remember - the SPARK *framework* can be implemented in any language. 
SVG is simply used to visualize the widgets.  Currently I've only
implemented it in ECMAScript, but if I had the time I'd get it going
in Java as well.

Mainly I'm just poking fun at MS and XAML.  SVG+SPARK is not be as
fast or as robust as XAML+.NET.  But SVG+SPARK can do what XAML does.
 Keep that in mind.

Alastair


--- In [email protected], "mobiform" <[EMAIL PROTECTED]> wrote:
> --- In [email protected], "Alastair Fettes" 
> <[EMAIL PROTECTED]> wrote:
> > Hi Don.
> > 
> > So you really want to write an entire application in X(A)ML?  Could
> > you write a program even close to as powerful in XAML as in other
> > languages?  > 
> > Alastair
> > 
> 
> 
> Hi Alastair,
> 
> I think your missing it here a bit, maybe this would clarify....
> 
> Imagine SVG and the SVGDOM with Java as the code behind language 
> instead of ECMA Script. Now you're starting to move more in the 
> direction of XAML and Avalon. Now imagine the SVG not being 
> interpreted, but converted directly into Java runtime code.
> 
> XAML defines all of the user interface, look feel, animations and 
> some basic behaviors of the UI. But for application development you 
> still use a .NET language with your XAML document. The objects are 
> defined in XAML, but the advanced logic is done in your .NET 
> language, kind of how ECMA acts on the SVG objects in the DOM.
> 
> You can use XAML like SVG with no code behind, or you can use code 
> behind to create a full blown Windows .NET application much the same 
> way that you do today with .NET 1.1. (There is also an in-between 
> application for the Internet called an Express Application)
> 
> Our Aurora XAML Designer application is written entirely in C# with 
> XAML. One of the cool features we are building in is the ability to 
> select a *Theme* for the user interface. This is done using XAML and 
> Styles. The application logic is still a .NET program; the UI and 
> styles were defined in XAML.
> 
> > What happens if you want to do something that isn't in the XAML 
> schema?
> 
> Doesn't matter. I can create custom objects and use them in the 
> XAML. There are no restrictions. Consider the following code.
> 
> This is an PieChart Control with Pie Slices that we wrote in Avalon 
> and C#. We can use this in control in the XAML, note the XAML linear 
> gradient brush being used by one of the pie slices....we can do XAML 
> styling, animation, .... no limits.
> 
> 
> <!-- Saved from Aurora XAML Designer for WinFX - Mobiform Software 
> Ltd. - Tuesday, June 21, 2005 3:48:47 PM -->
>  <Canvas xmlns="http://schemas.microsoft.com/winfx/avalon/2005"; 
> Background="#FFFFFFFF" Height="400" Name="ROOT" Width="500">
>   <Panel.Children>
>    <?Mapping XmlNamespace="AuroraPieChart_SmartControl_1ns" 
> ClrNamespace="SmartControl" Assembly="AuroraPieChart" ?>
>     <AuroraPieChart_SmartControl_1:AuroraPieChart 
> Background="#FFFFFFFF" Height="209" Canvas.Left="104" 
> Name="AuroraPieChart1" Canvas.Top="107.361666666667" Width="322" 
> xmlns:AuroraPieChart_SmartControl_1="AuroraPieChart_SmartControl_1ns"
> >
>      <Panel.Children>
>       <AuroraPieChart_SmartControl_1:AuroraPieSlice Fill="#FF1505EA" 
> Canvas.Left="0" Name="AuroraPieSlice1" Percent="20" Canvas.Top="0" />
>       <AuroraPieChart_SmartControl_1:AuroraPieSlice Canvas.Left="0" 
> Name="AuroraPieSlice2" Percent="20" Canvas.Top="0">
>        <AuroraPieChart_SmartControl_1:AuroraPieSlice.Fill>
>         <LinearGradientBrush EndPoint="1,1" Opacity="1">
>          <GradientBrush.GradientStops>
>           <GradientStopCollection>
>            <GradientStop Color="#FF0000FF" Offset="0" />
>            <GradientStop Color="#FFA52A2A" Offset="0.5" />
>          </GradientStopCollection>
>         </GradientBrush.GradientStops>
>        </LinearGradientBrush>
>       </AuroraPieChart_SmartControl_1:AuroraPieSlice.Fill>
>      </AuroraPieChart_SmartControl_1:AuroraPieSlice>
>       <AuroraPieChart_SmartControl_1:AuroraPieSlice Fill="#FFD88543" 
> Canvas.Left="0" Name="AuroraPieSlice3" Percent="20" Canvas.Top="0" />
>       <AuroraPieChart_SmartControl_1:AuroraPieSlice Fill="#FF26BEB8" 
> Canvas.Left="0" Name="AuroraPieSlice4" Percent="20" Canvas.Top="0" />
>     </Panel.Children>
>    </AuroraPieChart_SmartControl_1:AuroraPieChart>
>   </Panel.Children>
>  </Canvas>
> 
> Ron @ Mobiform
> http://www.mobiform.com




-----
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
---- 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to