Hello Dave!

To do a comparison between two technologies such as SVG and Flex, you
need first some criteria to evaluate on. And you need some kind of
thesis which you can check afterwards, which technology is "really
better" for your purpose.

Within my diploma thesis a year ago, I did a comparison between RIA
technologies and I had also SVG and Flex on my list. I evaluated on
different criteria as learning curve, (media) richness, components,
programming language, workflows, runtime-environment, community,
possibility of abuse etc. etc. There are such a lot of criteria you
can have depending on you goal.

SVG(1) and Flex(2) have a lot of differences and similarities, so what
are looking for:
Examples for similarities, we all know of are found in the area of
Vector Graphics & Co.
* vector graphics: yes, yes
* description language based on XML: yes(SVG), yes(MXML)
* procedural coding possible: yes(Javascript), yes(Actionscript)
* ready-to-use vector primitives: yes(via XML dialect SVG), yes(but
via Drawing API/Actionscript in first place), ergo: you would have to
write MXML based primitves first to be equal to SVG or write
Javscript/DOM functions to dynamically create SVG shapes to equal the
Flex/Flash ActionscriptDrawing API

I think your initial question targets this area. Am I right?

Examples for differences:
* runtime-environment: SVG plugin needed, built into browser of the
WHAT-WG versus FlashPlayer-Plugin, which is mostly compatible between
browsers and has a better market penetration
* components: You get a gui component framework for free with the Flex
SDK while SVG targets graphics and has no component framework out of
the box.

I discontinue this comparison, because I probably covered your point
of interest, which was Vector graphics and "DOM".

hth,
Matthias



2007/7/16, dave <[EMAIL PROTECTED]>:
>
> How would one compare Flex functionality with say, SVG
> functionality? This was the context behind my
> question.
>
> --- zwetan <[EMAIL PROTECTED]> wrote:
>
> > On 7/12/07, dave <[EMAIL PROTECTED]> wrote:
> > >
> > > Is there a Flash DOM(or similar Object Model/Spec)
> > on
> > > the lines of SVG DOM?
> > >
> >
> > I assume you're looking to understand the "graphic
> > structure" of a SWF
> > by calling it the flash DOM,
> > only Flex 2 started to document that (if it's that
> > you're looking for)
> >
> > Understanding the display architecture
> >
> http://livedocs.adobe.com/flex/2/docs/wwhelp/wwhimpl/js/html/wwhelp.htm?href=00001850.html
> >
> > AND
> >
> > Core display classes
> >
> http://livedocs.adobe.com/flex/2/docs/00001851.html#137132
> >
> >
> > but it's not a DOM per se
> > MXML can be seen as a DOM (but it's arguable too)
> >
> > cheers,
> > zwetan
>
>
>
>
> ____________________________________________________________________________________
> Choose the right car based on your needs.  Check out Yahoo! Autos new Car 
> Finder tool.
> http://autos.yahoo.com/carfinder/
>
> _______________________________________________
> osflash mailing list
> [email protected]
> http://osflash.org/mailman/listinfo/osflash_osflash.org
>

_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org

Reply via email to