About

I am a software developer in Seattle, building a new AI software company.

Ads

August 2009

Sun Mon Tue Wed Thu Fri Sat
            1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31          

Ads


« Generics in Avalon | Main | SharpReader »

January 28, 2004

Comments

Marc Clifton

What exactly does "document" mean, in this context?

Wesner writes:

"Avalon provides the ability to serialize any element tree, actually any .NET object graph, into XAML, not just read from it."

I don't think is correct. I can't find the quote from, I think Chris Sells (or was is Chris Anderson) right now, but XAML is a specific format for specific classes. He says that .NET's general serialization should be used for serializing .NET objects, etc. This is different than XAML.

"If application developers start writing document-based applications that follow the Avalon model of deriving new classes from existing elements,"

Umm, what exactly makes deriving new classes from existing elements "Avalon"? This sounds like inheritence. What am missing?

"XAML could quickly become one of the most common file formats."

Why? What's the advantage? xml is verbose. Why would I want to make my documents bigger by using xml?

I guess I don't get it. We have XML, and XAML is XML with classes representing the tags, properties representing the attributes. How does this help to describe a document? I think "document" really needs to be defined here.

Marc

Wesner Moise

XAML is suppose to be an easy to use XML serialization format, that works on .NET trees rather arbitrary .NET graphs.

The point I was trying to make is that Avalon elements would form the foundation of future documents, and the XAML is the document format for these elements. XAML is not necessarily specific to the Avalon UI. Custom elements are possible through the combination of derived (inherited) elements and composition; XAML does provide a way to refer to other assemblies for custom elements.

Thus, creating documents based on Avalon element trees will be fairly common, because of the ease of use of element composition and inheritance, and the richness of the Avalon infrastructure.

XAML is verbose but that won't stop people from using it all together for their document formats, especimally since BAML is also available in binary format.

When I say document, I refer to webpages, spreadsheets, wordprocessor, graphics documents--typical of desktop applications-- which can be edited and printed.

The comments to this entry are closed.