W3C home > Mailing lists > Public > www-svg@w3.org > August 2003

Re: SVG1.2 and web applications

From: Bernhard Zwischenbrugger <bz@datenkueche.com>
Date: Mon, 18 Aug 2003 17:37:25 +0200
Message-ID: <1061221045.3f40f2b5ab401@webmail.datenkueche.com>
To: www-svg@w3.org

Hi all

> Have you used other similar approaches such as XForms actions? You seem to be
> saying that you'd the DSM or something declarative in a non-mobile
> environment 
> (which is what it has thus far been mostly targetted at), can you describe
> how 
> you think it'd make writing SVG apps better in general? We're very interested
> in 
> feedback :)

At the moment I'm working on a Browser based SVG Editor ( ASV6.0 )

There are very nice things like keep the file-size for a complete
Applicatoin below 30kByte. This is great and gives a new chance to 
make someting like a Network-Computer.

postURL is excelent for Client-Server communication!
(but ASV has problems with namespaces :-( )

The most difficult things are at the moment:

o editing text (single line, multi line)
o selecting more than one element with  mouse (everything inside of a rectangle)
o draw BBox, convert Screen coordinates to CTM coordinates (ASV3.0 is buggy)   
ASV6.0 still has problems with nested SVG Elements.
o Scrollbars (CTM, Screen.x/y)


I also have problems with style and transform attributes:

<rect x="10" y="10" width="20" height="20" transform="translate(4,4) rotate
(10,3) matrix(3,8) transform(-4,7) matrix(3 4 2 6 4 8)"/>

The transform attribute can have lots of values and it would be nice if
there would be a function "normalizeTransform" that converts the transform
attribute to something like 
<rect x="xxx" y="xx" width="xxx" height="xxx" transform="matrix(a b c d 0 0)"/>
(the matrix has zero for transX transY)

There is the same problem with style attributes:
<text fill="red" font-size="10" style="fill:blue; font-size:20" ... />

Same with colors:
fill="rgb(12,12,12)" or fill="#ffeedd"

It is easy to write functions that convert all this attributes to a
"normalized" form - but it is boring.
I also don't know the prefered way to use attribute.

It would be nice to have something like "canonical" SVG.


XForms is a replacement for HTML Forms but I don't see
how to make it usefull in SVG.
For me postURL gives me all I need for Client-Server communication -
except File-upload functionality for (binary) files.


A very important but difficult thing is copy/paste with clipboard. 
Without clipboard SVG Applications are not "real" applications.


I'm thinking about how to make "undo" for DOM commands.
Maybe there is a simple solution, but at the moment I don't know how to do that.
There is also a problem when I load a SVG Document to an other SVG Document.
How can I keep the ID's unique? 

thanks for reading


This mail sent through IMP: http://horde.org/imp/
Received on Monday, 18 August 2003 11:39:09 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:53:58 UTC