We've actually done some cool prototyping work using a "hidden" Java applet as a data pump (talking to back end data sources via web services) and with a model for "declarative, data-bound animation" that links the data elements with expressions bound to SVG attributes. Works surprisingly well! Part of the trick was figuring out the correct JSObject code to use (both the casting of objects and the underlying Javascript needed), but once past that, we were good.
Ultimately, we ended up doing the data binding and animation on the server side and rendering the SVG out as PNG because we didn't want to create a dependency for an SVG plug-in on the client side, but who knows what the future would bring if IE ever supported it natively. We don't need much more than SVG Tiny support. Rick Bullotta VP, Manufacturing Applications Solutions Mgmt. SAP Labs, LLC http://www.sap.com/manufacturing -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of James Sent: Tuesday, July 26, 2005 11:06 AM To: [email protected] Subject: Re: [svg-developers] Programming Environment I have been wondering the same thing. Currently I've been experimenting with the JSObject class for java, and had some success. The only other method I can think of is utilising php, but that requires a reload of the page for every change and is not very practical for me, and I'm guessing for you. If you are interested here is a brief introduction to Java/Javascript interaction I found on google: http://www.raditha.com/java/javascript.php James On 7/26/05, Bob Hunter <[EMAIL PROTECTED]> wrote: > This may seem like a dumb question, but is there another way to program > SVGs > other than Javascript. I've developed a pretty sophisticated command and > control application using just Javascript and SVG. However, we're looking > at exporting it to some Asian markets where stealing your code is rampant. > So, now I'm looking for some sort of compiled code method of doing this > app. > > > > I realized that I have very little code that actually runs inside the SVG. > For the most part, I add event listeners for the mouse and handle all of > the > interactivity through Javascript outside the SVG. The Javascript uses DOM > methods to add back animateMotions, paths, etc. to accomplish the > interactivity. > > > > Can this be done equally well from a Java applet? Is there something > better > than Java for this purpose? > > > > Thanks, > > > > Bob > > > > [Non-text portions of this message have been removed] > > > > ----- > 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 > > > Visit your group "svg-developers" on the web. > > To unsubscribe from this group, send an email to: > [EMAIL PROTECTED] > > Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. > > ________________________________ > ----- 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 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/

