Slashdot Mirror


dSVG - A New Kind of Programming?

Gord Bowman writes "For anyone familiar with XML and, specifically, with SVG (Scalable Vector Graphics), you may be aware that SVG is increasingly being used for the creation of data-driven Web applications. But everyone has been doing so by handcoding script and/or XSLT, without the benefit of an IDE to help. Seeing such a need for a tool, my company (Corel) set about creating one." and 'lo, dSVG was born. Gord Bowman is the lead developer of dSVG and would like you to take a look at the dSVG specs (you can find the link, in the full article) and offer your comments.

"It quickly became apparent that while getting a grasp of XSLT is difficult and time-consuming, even more time-consuming was all the scripting it took to create the level of interactivity required on the client via script. Thus we set about creating a library of generic script functions that would assist developers in creating their Web apps. But it didn't take long to realize that this was no good--you can't data-map and transform (via XSLT) functions like you can markup. And, unlike markup, it's much more difficult to auto-generate and customize script via an authoring tool. So I set about designing an XML markup language, implemented with script (so as to work in any SVG viewer), which would describe UI controls and behaviours, so as to facilitate the creation of SVG-based Web applications.

It was a programmer's dream. I was essentially being paid to develop a new kind of programming language. One that, like XSLT, is XML-based but is more procedural in nature and thus easier for the average developer to grasp. It's also easier for non-developers to grasp it, thus bringing SVG and application development to a whole new class of user. A year later, dSVG (Dynamic SVG) was unveiled to the public as part of the Corel Smart Graphics Studio. And as of yesterday, the full dSVG 1.1 Specification and Test Suite became available for download.

The UI controls were designed to allow complete customization of appearance, and to allow for use with forms without being tied to a forms-specific model. The behaviors were designed to be generic and higher level than DOM methods, so as to be more intuitive to non-developers. The resulting markup language allows data-driven Web applications to be created with little or no need for scripting.

While script is very useful and powerful, markup has many advantages:

- markup is more easily understood by non-developers
- markup can be easily data-mapped and transformed using XSLT
- markup can be easily generated via an authoring tool and customized by the author
- markup is semantically meaningful, promoting interoperability on the authoring side
- markup can be standardized, thus helping the adoption of SVG

dSVG was implemented with script so as to work in different SVG Viewers. However, Corel has proposed dSVG to the SVG Working Group in the hopes that through a collaborative effort, dSVG will lead to the eventual creation of standard markup for UI controls and behaviors. These could then be natively implemented, bringing about even more advantages:

- faster
- less data to transfer
- less need for a script engine on small devices (which can take up a significant part of the footprint)

The dSVG 1.1 spec and test suite was posted for download with the goal of allowing the developers and non-developers to experiment with the markup and to provide feedback. This feedback will help me to improve upon dSVG and will also help the SVG Working Group to better assess how the developer community feels about such standard markup being added to the spec for the purpose of developing SVG-based Web applications.

I hope you will take the time to read through the dSVG spec, try out the test suite, and perhaps even create some of your own content. As the creator, I am obviously passionate and excited about dSVG. And having seen how quickly even non-developers can create Web apps, I feel certain that XML-based programming makes sense and is the way of the future. But being a long-time reader of Slashdot, I would love to hear what the Slashdot community thinks. dSVG may not lead to world peace, but I think it has the potential to change the fundamental way in which Web applications are created.

I look forward to hearing your comments.

Sincerely,

Gord Bowman
Lead Developer, Corel Corporation"

184 comments

  1. Sounds great... by Tet · · Score: 4, Insightful

    ...now all we need are some browsers with native SVG support. With the Mozilla SVG project still seemingly no closer to delivering a shippable release, and no hope whatsoever of MS releasing an SVG enabled IE, looks like we're stuck with the Adobe plugin for now. Until we get past that, I doubt SVG will enter the mainstream (more's the pity).

    --
    "The invisible and the non-existent look very much alike." -- Delos B. McKown
    1. Re:Sounds great... by fryguybob · · Score: 3, Funny

      Yeah, once we get SVG browser support we can look forward to SVG banner ads.

    2. Re:Sounds great... by bwt · · Score: 3, Interesting

      I agree completely that browsers need to support SVG, and until this is more advanced, tools like the one in this article are getting ahead of things (not that that's necessarily bad). People should vote for Mozilla bug 122092: "Enable SVG support". Ultimately, this needs to be done without plugins -- its really just another image format.

      The Konqueror browser seems to have a push to get SVG going too: KSVG, but it has a way to go ("Release 0.1 pending").

      There are a good set of SVG resources for Linux. The Apache Jakarta projects java SVG viewer, Batik is probably the farthest along.

    3. Re:Sounds great... by Anonymous Coward · · Score: 4, Insightful
      People should vote for Mozilla bug 122092: "Enable SVG support"

      Voting doesn't write code. Writing code writes code. You can vote for it all you want, but if nobody writes it it won't make a difference.

      On the other side, if you write the code for it, and give it to Mozilla, then nobody will need to vote for it.

    4. Re:Sounds great... by smallpaul · · Score: 1

      I agree completely that browsers need to support SVG, and until this is more advanced, tools like the one in this article are getting ahead of things

      According to this logic, Adobe is getting ahead of themselves making products that generate PDF until the browsers natively support PDF. PDF is handled by a plugin. SVG is handled by a plugin. They plugins come from the same company. So why is native browser support a necessary condition for SVG's success?

      That said, there are some advanced features that can be only accomplished if SVG is native in the browser but that is necessary for it to become more important to the Web than PDF or Flash. But merely to be in the same league a plugin is fine.

      Ultimately, this needs to be done without plugins -- its really just another image format.

      Uhhh...no it isn't. SVG is designed to be much, much more than just another image format. For instance it can be the basis for fonts. It has full multimedia sequencing. It can be used as a page description language in printers. But most important: it is designed to be integrated with XHTML so that you authors can seamlessly move back and forth between XHTML, SVG, SMIL, XLink, XForms etc. It is a key part of the next generation of browser and not just another file format (once we get beyond the plugin stage). More here.

    5. Re:Sounds great... by Tet · · Score: 1
      PDF is handled by a plugin. SVG is handled by a plugin. They plugins come from the same company. So why is native browser support a necessary condition for SVG's success?

      Because PDF tends to be used for standalone documents, where SVG tends to be embedded within a web page. This means that PDF is usable even without a plugin (by using an external application -- in this case, Acrobat Reader). Indeed, I use it like that, finding it more convenient than using the plugin. SVG, on the other hand, can't work like that sensibly. You could call an external SVG viewer, but you'd lose the context of the surrounding document.

      --
      "The invisible and the non-existent look very much alike." -- Delos B. McKown
    6. Re:Sounds great... by JamesOfTheDesert · · Score: 1

      Yeah, once we get SVG browser support we can look forward to SVG banner ads.

      Ah, but wouldn't SVG banner ads be susceptible to user-defined CSS files, just as HTML files are today? SVG ads would allow more interdiction by users to filter content.

      --

      Java is the blue pill
      Choose the red pill
    7. Re:Sounds great... by smallpaul · · Score: 1

      This means that PDF is usable even without a plugin (by using an external application -- in this case, Acrobat Reader).

      The Acrobat Reader is basically the same as the Acrobat plugin. You have to download it and install it. You do the same thing with a plugin. Yes, a standalone viewer is different technically than a plugin but how does this affect the marketability of the underlying standards.
  2. Anybody find the requisite by Anonymous Coward · · Score: 0

    ...screenshots link?

  3. Re:THAT is SCOpyrighted! by Dr_Banzai · · Score: 0

    MOD THIS ONE UP +5 FUNNY

  4. Goodbye RFC, hello Slashdot by Psychic+Burrito · · Score: 4, Interesting

    Shouldn't new standards be introduced using RFCs? I'm not sure if it's a good trend when they are presented first on Slashdot...

    1. Re:Goodbye RFC, hello Slashdot by sirdude · · Score: 0, Troll

      SVG is still a standard? :o I thought that it lost the battle, war, and it's ability to procreate to SWF... Has anyone actually come across anything that is SVG based? In fact, I wonder how many people here actually knew what SVG was before reading this article...

      More groundbreaking news might be the impending release of Macromedia Flash 7 a.k.a Macromedia Flash 2004 a.k.a Matador (for designers) and Toreador (for developers). The beta is out! Check this french translation for some info and this for the screenshot.

      Have a good one...
    2. Re:Goodbye RFC, hello Slashdot by OmniVector · · Score: 1

      this is just a library ontop of the already existing RFC specifications. This is more or less a platform to create SVG images easier.

      --
      - tristan
    3. Re:Goodbye RFC, hello Slashdot by Homology · · Score: 4, Informative
      Shouldn't new standards be introduced using RFCs?

      Well, from download page we have :

      This file contains the proposal submitted to the World Wide Web Consortium (W3C) SVG Working Group to enhance SVG's support of enterprise application development for dynamic interfaces

      along with an EULA whose length put even the MS one to shame.

      However, I can't download the proposal without first agreeing to the EULA, so good riddance. If I was sufficiently interested I probably could look it up at W3C site.

    4. Re:Goodbye RFC, hello Slashdot by Gord+Bowman · · Score: 4, Informative

      dSVG is NOT a spec being proposed by the W3C. It's something we came up with ourselves for our product, and then proposed to the SVG Working Group. The concept of having "standard" markup for UI controls has been around a long time, but it hasn't happened yet. Maybe we're not asking enough people if it's what they really want or not. And if we want it, does it belong in SVG or should it be something larger and more generic in its own spec? And the idea of using XML for procedural programming is pretty new, I think. At least I had never found another example of it. Maybe someone else knows of one though. Regardless, I strongly believe in asking communities what they want rather than telling them what they want, and I also strongly believe in getting ideas and constructive feedback from people outside of the SVG-world. I couldn't think of a better forum than Slashdot to solicit that type of feedback.

    5. Re:Goodbye RFC, hello Slashdot by Luguber123 · · Score: 1

      XML-RPC sounds pretty procedural to me.
      http://www.xmlrpc.com/
      I know this from PHP, my favorite scripting language so far.

    6. Re:Goodbye RFC, hello Slashdot by Gord+Bowman · · Score: 1

      Thanks! I'll look into that one.

    7. Re:Goodbye RFC, hello Slashdot by russcoon · · Score: 3, Interesting

      Gord,

      Using XML for procedural programing isn't new. ANT comes to mind. Unfortunantly it turns out it's a really crappy language to program in (overly verbose, etc...). It does, however, make a decent glue language for putting down the declarative portions of a GUI.

      As for the usage of XML-ish markup to define widgets, that's also not really very new. XUL, GLADE, netWindows (my project) all come to mind. The problem is tying them to data and programatic constructs. It's nice to see you're taking a similar tack with your wiget set as we are, however I tend to think that the minute you start writing standards around your toolkit, you only decrease your room to improve in the future. The community, i hate to say it, really doesn't know what they want which is why innovation is so powerful. It takes independent thought and originality to come up with someone else's old hat, and it seems you have that in spades. The trick is to not imagine that the community at large is imbued with the same qualities. The world at large doesn't care. You have to reach people with a need for what you want to do. The are the only ones that really matter.

      A small dev team of people that grok what you're talking about and are interested in assisting you in making things better is usually going to yeild significantly better results than throwing something to the winding and seeing what takes off. In the worst case, you've satisfied the needs of the people that have needs in the first place, which isn't a bad place to be (although it can surely be obscure).

      Anyway, I'd like to talk with you more about your toolkit. Your email addr isn't in your profile, so you can reach me at alex@netWidows.org.

      Regards.

    8. Re:Goodbye RFC, hello Slashdot by Ankh · · Score: 1

      SVG itself is a W3C Recommendation, not an IETF RFC.

      You may be surprised, if you look around... SVG is already pretty widely used. Examples: it's used for theming in the metacity window manager and in nautilus; for support in graphics editors, if dia and sodipodi don't ring a bell maybe you've come across Adobe Illustrator, or Microsoft Office 11's Visio.

      I do agree that Mozilla has a long way to go. But it's worth it. SVG can be manipulated with XSLT and XML Query, can be generated with open source tools, stored in XML databases, is often massively smaller than Flash files, and can be made accessible. Depending on how much you script, it could also be indexed by google and other search engines.

      You can see the W3C SVG page for more information.

      Disclaimer: I work for the W3C, although I am not directly involved in SVG.

      --
      Live barefoot!
      free engravings/woodcuts
    9. Re:Goodbye RFC, hello Slashdot by lyser_babich · · Score: 2, Insightful

      And the idea of using XML for procedural programming is pretty new, I think. At least I had never found another example of it. Maybe someone else knows of one though. CFML (Cold Fusion) has been around since '96 (IIRC). It is a tag-based procedural language. It suffered from its accessibility to non-programmers. I'm not a fan of obfuscation for obfuscation's sake, but CFMLs reputation was hurt by poorly implemented programs designed by amatuers. dSVG could suffer the same fate, but I don't really know. I'm not an astrologer. -LB

  5. Windows only? by Tumbleweed · · Score: 2, Interesting

    Okay, so when are the Mac OS X and Linux versions due out? This is a pretty amusing situation - a development studio/language for something that isn't viewable without a plugin on its only supported OS?

    1. Re:Windows only? by Anonymous Coward · · Score: 0

      Corel == Microsoft
      So forget about this.

    2. Re:Windows only? by Gord+Bowman · · Score: 2, Informative

      The final output runs in any standard SVG viewer, and some of them run on Mac and Linux (although not Corel's SVG Viewer yet, but only because we're concentrating on finishing up implementing the full SVG spec first). But yeah, CSGS is currently a Windows only product, and again, just because of limited resources right now--if there's enough of a market for selling CSGS for other platforms, I'm sure that would speed up our supporting them. If you would actually buy it if only it supported Linux or Max, please tell me!

    3. Re:Windows only? by Tumbleweed · · Score: 3, Insightful

      Personally, I would not buy the product no matter what platform it runs on because of the (sad) state of SVG support in the browser market, and the foreseen SVG support in the coming years. With IE not being updated for the next 2 years, only Mozilla, Opera, & KHTML variants will be likely to have any decent SVG support anytime soon, and even that is just a possibility, and hardly a foregone conclusion. Your product may be the greatest thing for SVG that has come along (not that that would be saying much, considering), but SVG support, for all _practical_ considerations, is nearly non-existent in browsers, and as a percentage of the surfing public goes, will remain so for years to come. Your product seems like a solution waiting for a market to develop. I don't think that market is GOING to develop for another 2 years, at the soonest. We'll have to wait and see if Microsoft deigns to include usable SVG support in the Longhorn-generation of IE, or whether they cripple & abandon it like they did PNG support. If the latter is the case, then your product may never be useful enough for Corel to continue to support unless Mozilla/Opera/KHTML-based browsers actually start taking significant browser marketshare away from IE.

      Good luck on what seems like a fun project, though. Some people will certainly find this product useful, but whether it's enough of a customer base to continue development on is a big guess. Risk big, win big, though!

    4. Re:Windows only? by appleLaserWriter · · Score: 3, Interesting

      Mr Bowman,

      I represent a growing provider of diverse Internet services. We have determined that the Linux platform is by far the most cost effective platform for new projects. Because we have selected Linux as the standard server platform, we find that Apple's Unix-based OS X platform is ideal for desktop use by designers and engineers who produce our new projects. Although we consider tools that require the Windows platform, we are most seriously interested in products that support OS X or Linux. In our experience, many other growing internet ventures hold a similar opinion.

    5. Re:Windows only? by Anonymous Coward · · Score: 0

      ACK!

      - I thought: cool
      - I went to the site
      - I thought: cool, a PDF with all specs
      - I read the bottom of the PDF: ARGH, Windows Only

      No trial for me :(

    6. Re:Windows only? by Anonymous Coward · · Score: 0

      Well, I can't tell yet if I would buy it, just a little disappointed not to see it on Linux, I run Linux and like to stay there, this also goes for trying a trial.

      But I can understand your motivation, such product in the current market wouldn't stand a chance if it was for Linux only, so when you don't have the resources for both, Windows is sadly the way to go.

    7. Re:Windows only? by smallpaul · · Score: 2, Insightful

      Personally, I would not buy the product no matter what platform it runs on because of the (sad) state of SVG support in the browser market, and the foreseen SVG support in the coming years. With IE not being updated for the next 2 years, only Mozilla, Opera, & KHTML variants will be likely to have any decent SVG support anytime soon, and even that is just a possibility, and hardly a foregone conclusion. Your product may be the greatest thing for SVG that has come along (not that that would be saying much, considering), but SVG support, for all _practical_ considerations, is nearly non-existent in browsers, and as a percentage of the surfing public goes, will remain so for years to come

      PDF support is quite literally missing from all browsers and yet PDF is quite successful. This is not just an idle analogy. Adobe is the vendor of the leading SVG viewer and they know better than anybody how to make a plugin work. One way is to bundle the SVG plugin with the Acrobat plugin which most people need to download anyhow. Adobe has done that before and probably will again in the future. If, in the next few years, SVG is "only" as successful as PDF I will be quite happy myself. So all of the doom and gloom is certainly not warranted.

      If the latter is the case, then your product may never be useful enough for Corel to continue to support unless Mozilla/Opera/KHTML-based browsers actually start taking significant browser marketshare away from IE.

      SmartGraphics Studio is for businesses. They can deploy the SVG viewer to every desktop in their system merely by adding it to their standard install. They don't need Microsoft to bless it any more than they need Microsoft to bless PDF/Acrobat.

    8. Re:Windows only? by Gord+Bowman · · Score: 1

      Thanks for your input. We need that sort of feedback. I'll be sure to pass this on to the higher-ups.

    9. Re:Windows only? by zero_offset · · Score: 1
      Bah. Adobe knows how to make a plugin work, but just barely. Try scripting against the PDF.OCX sometime. It's unsupported, but it's how Adobe does it -- and even though it is unsupported, since it's a COM object it has a publicly declared interface. Play with it for a few minutes and you'll quickly learn it's very inconsistent and unstable. Play with it on several different platforms, and you'll experience a whole new range of inconsistency.

      PDF is undoubtedly a convenient format, but Adobe's position on the format is highly restrictive and very unfriendly to developers. PDF has enormous potential which is mostly untapped because of this. Their history with PDF has made me (and many others) regard SVG with a great deal of suspicion. I personally believe they're hoping it'll displace Flash some day, at which time they'll take the same developer-unfriendly approach to SVG that they currently maintain with PDF.

      --

      Slashdot quality declines as the number of hot grits posts decreases. - Provolt's Law, Apr-09-2005

    10. Re:Windows only? by smallpaul · · Score: 1

      PDF is undoubtedly a convenient format, but Adobe's position on the format is highly restrictive and very unfriendly to developers. PDF has enormous potential which is mostly untapped because of this. Their history with PDF has made me (and many others) regard SVG with a great deal of suspicion. I personally believe they're hoping it'll displace Flash some day, at which time they'll take the same developer-unfriendly approach to SVG that they currently maintain with PDF.

      There is a big difference. Adobe owns the PDF specification. They do not own the SVG specification. Microsoft has products that read and write SVG so there is no hope of Adobe controlling SVG's future.

    11. Re:Windows only? by zero_offset · · Score: 1

      Interesting. Perhaps my suspicion is misplaced then. I was not aware that they didn't own the spec. In that case, I think SVG's major weakness is a lack of promotion and awareness, and this weakness should not be underestimated -- it has buried countless other very good standards.

      --

      Slashdot quality declines as the number of hot grits posts decreases. - Provolt's Law, Apr-09-2005

  6. Examples, Applications ? by Anonymous Coward · · Score: 0

    Sounds unique, thus quite interesting.
    Are there any existing examples, any customers who have implemented production-quality web apps in this way?

    Cool stuff.

    1. Re:Examples, Applications ? by Gord+Bowman · · Score: 5, Informative

      You can find some demo apps at www.corel.com/smartgraphics/resources. As for apps created by customers, I don't know.

  7. Holy legaleze Batman! by PDHoss · · Score: 5, Insightful

    Can someone summarize if I am going to get 20-to-life and a cellblock husband if I download the spec?

    Jeez, how many paragraphs into the legal requirements do you have to be before you realize that ain't reeeeeal conducive to getting people to beta/bug track/improve your product for free?

    PDHoss

    --
    ======================================
    Writers get in shape by pumping irony.
    1. Re:Holy legaleze Batman! by Gord+Bowman · · Score: 2

      Yeah, I know... lawyers. What can you do. I'm not looking for beta testers though--I'm more interested in what you all think from more of a philosophical perspective. Does programming via markup make sense? Might this sort of thing grow into a real, honest-to-God, full-featured programming language one day? Is the fundamental design sound? That sort of thing.

    2. Re:Holy legaleze Batman! by Anonymous Coward · · Score: 2, Funny

      What can you do.

      The GNU revolution is in after mode, how about

      rm -rf /lawyers
    3. Re:Holy legaleze Batman! by Anonymous Coward · · Score: 2, Insightful

      I'm not trolling, I'm serious.

      Gordon Bowman wrote:
      Might this sort of thing grow into a real, honest-to-God, full-featured programming language one day? Is the fundamental design sound? That sort of thing.

      I'm sorry to break this here on slashdot, but if you are so alone at Corel that you don't even have any (qualified) collegues to discuss design matters with, but post them to slashdot of all places to get well thought answers - maybe especially after such legal mumbo-jumbo, you should have a serious talk with your boss?

      Slashdot isn't the place to get design help for proprietary software. Either you GPL it and you can get lots of help from the community, or you stay proprietary and you get what you pay for.

    4. Re:Holy legaleze Batman! by nostriluu · · Score: 1

      I don't agree with you (whoever you are) at all. Nowhere in "news for nerds, stuff that matters" do I see anything about GPL, and in fact many of the attitudes expressed here are ambivilant or against GPL philosophy.

      Personally I think it would be nice if the slashdot community would align itself more with the GPL philosophy because it is one of the more interesting things going on in the world right now, but criticism is helpful too.

      Anyway, I think it is great that the author opened himself up to the community's comments, it's not like he could patent all the ideas afterward.

  8. Future possibilities for improvements by Gord+Bowman · · Score: 5, Informative

    Wow, this actually got posted. Cool. Let me first say that the dSVG 1.1 spec is still evolving. There's lots of room for improvements. For instance, there's an 'if' element, but no 'elseif' or 'else' elements yet. Those are obviously needed. I originally thought that a DTD could not (or should not) define an element as being dependent upon a sibling, but after talking with some XML experts at the SVG Open conference in Vancouver this past week, I see now that I was wrong. Another needed feature is some kind of a fallThrough="true|false" attribute for the 'case' elements within a 'switch' element--mimicking the 'break' statement but in a more XML-ish way.

    One huge area for improvements is in the design of the skins. It seemed like a good idea at the time, but I now see that it has limitations both for performance and for the creation of custom UI controls. More on that in a separate comment...

    The fact that dSVG is implemented with script is, for now, a good thing because it allows us to make changes to the spec without the viewer, since the implementation gets passed along with the content. And for previously written content, the Corel Smart Graphics Studio (CGSG) IDE will automatically convert from the old version of dSVG to the new version (via XSLT).

    I have a big list of ideas for improvements, but it's back at home and I'm still in Vancouver for a few more days attending meeting (so I apologize in advance if I am not always responding in a prompt manner). I'm really interested to see what other developers think of the spec thus far and how it could be improved.

  9. 435098734912 by josh+crawley · · Score: 0, Troll

    Is it just me, or is this just reinventing the wheel? It sounds like reinventing Flash only worse (because you have to "program" in XML).

    1. Re:435098734912 by tomstdenis · · Score: 1, Insightful

      What I want to know is how do you program in XML. Its a loose markup language with no real keywords other than a few tokens >, <, ", =, digits, etc...

      It's like coding in ASCII or something....What is an ASCII program?

      That and I admitedly missed the XML boat [been busy in college] but what is the big deal? so I can write

      <sucks_level>5</sucks_level>

      Then write a program to scan for tags and their values. Big fucking deal. I could have used the common .ini format

      [stuff_tom_knows]
      sucks_level=5

      etc...

      I've seen XML enabled on numerous products and I can't really fathom why its better. It takes up more room, from recent postings it isn't vary fast to deal with and really doesn't add much to the table.

      The only real benefit is it lets the data to be entered in random order [or missing fields] and still recover. Not really a new feature of properly coded data processing applications. /rant

      Tom

      --
      Someday, I'll have a real sig.
    2. Re:435098734912 by fryguybob · · Score: 2, Informative

      XML is simple and can be extended to fit almost any hierarchical data. An imediate benefit over ini format is that tags can be nested. There are also attributes of the tags. The reason XML is a big deal is it is a standard for marking up data that everyone can be happy with. The tags (both start and end) make it good for streaming as programs will know when the end of a block of data is. With xml schema or DTD's a specific language can be specified and an xml file can be verified to match that language easily.

      The big deal isn't so much XML as the tools to manipulate XML data such as XSLT, XPath, DOM, and SAX.

    3. Re:435098734912 by HisMother · · Score: 2, Interesting
      Lots of little things that add up:
      • XML is more structured than INI files, tags can be nested, and can have attributes
      • Several standard APIs for parsing, with multiple robust implementations
      • Tools. Graphical XML editors and viewers, browser support, etc.
      • XSLT is a nice scripting language for querying, formatting, rearranging, extracting, and building XML.
      • Books and example code. There's a wealth of information on ways to use XML out there now.
      • Critical mass. Enough people are using XML that you can exchange XML data with other people and expect them to know how to deal with it; and this large mass of applications means that the number of available tools, books, and resources just keeps growing.
      You could compare XML to something like KIF or even XML's own parent SGML and ask "Why XML? Why now?" Critical mass, I think, is most important, more than anything else. You could do all the same things with another file format -- but you wouldn't have the range of tools, APIs, and features to choose from.
      --
      Cantankerous old coot since 1957.
    4. Re:435098734912 by tomstdenis · · Score: 1

      ah cool. See I told you a missed the boat.

      Not really knocking the XML spec. Just wondering how adding libxml to an app makes it better immediately...

      thanks for the info.

      Tom

      --
      Someday, I'll have a real sig.
    5. Re:435098734912 by josh+crawley · · Score: 1

      Yes, these are good arguments for XML vs. INI files, writing your own parser, etc. I think calling XSLT a nice scripting language provokes my gag reflex a little bit. My point was that Flash does mostly the same things (graphical interfaces), and currently these two are on par in deployment methods (SVG requires a plugin, Flash requires a plugin), whereas Flash already has a robust graphical "IDE" which is understood by many thousands of web developers. Like most languages, there's a hell of a difference between reading and writing the various X* languages, and actually programming in them.

    6. Re:435098734912 by carlback · · Score: 1

      svg and flash both have there place. i've been building online publishing frameworks using combination of svg (both batik for static output and the ASV, Adobe Svg Viewer for user interaction and fop that could not be created at all using Flash.

      I won't lie it would be alot easier on me if the viewer was more wide spread but i've always figured it was a chicken and the egg thing, and evetually will come around

      Of course for banner ads flash would be better.

      Just like everything ever built use the right tool for the job.

    7. Re:435098734912 by Tablizer · · Score: 1

      XML is simple and can be extended to fit almost any hierarchical data. An imediate benefit over ini format is that tags can be nested. There are also attributes of the tags. The reason XML is a big deal is it is a standard for marking up data that everyone can be happy with.

      Perhaps you really mean "lowest common acceptable format".

      That might be good for learning and data transfers, but programming 8+ hours a day for years in XML is a real bear.

      It is perhaps good for "throw-away" languages that you use a few times to hook something up with another party, and then move on.

    8. Re:435098734912 by Anonymous Coward · · Score: 0

      svg and flash both have there place. i've been building online publishing frameworks using combination of svg (both batik for static output and the ASV, Adobe Svg Viewer for user interaction and fop that could not be created at all using Flash.

      Really? Where the fuck are they?

  10. Re:Sounds great...Less filling. by Anonymous Coward · · Score: 1, Informative

    This sadly is unfortunately true. I have to do some of my SVG development using IE, and the Adobe SVG plugin (which hasn't been updated BTW). X-Smiles isn't really a browser in the sense Mozilla and IE is. All the rest is either outdated, or beta/alpha. Amaya with OpenGL has issues with my libraries. This overall is a sad state of affairs for something that's suppose to be a standard.

  11. As much as this interests me, forget it! by Jack+William+Bell · · Score: 3, Interesting

    There is no way I am going to 'read and understand' all that legal language. I would rather create my own competing specification than do that.

    So, either release it under a license I can understand (one consisting of ten or less paragraphs) or forget it!

    --
    - -
    Are you an SF Fan? Are you a Tru-Fan?
    1. Re:As much as this interests me, forget it! by Gord+Bowman · · Score: 1

      Yeah, I understand. Sorry 'bout that. I'll try to get just the spec published, without the script and EULA. Hopefully on Monday.

    2. Re:As much as this interests me, forget it! by Jack+William+Bell · · Score: 1

      Appreciate the effort and am hoping the company lawyers don't quash it out of hand.

      I might add that I have long been a Corel fan and much prefer it to that 'other' commercial graphics option. Except that the animation facilities for Corel paint suck...

      --
      - -
      Are you an SF Fan? Are you a Tru-Fan?
  12. Useless by Anonymous Coward · · Score: 1, Insightful

    This sounds like a typical case of cowboy developper meets the garage boys (See Wiki for more details). This new scheme is closed source hence, I categorically refuse to use it for my company. This smells like a lockout. Ontop of that, it feels like only that one developper worked on designing the spec. The last person I want to see design a spec is a developper (even worst if it was ONE developer). They have no clue what the users want or would like to have. Basic marketting non-sense and probably why Corel does so bad. Third thing which I already pointed out is that this software is made by Corel. Corel never made any profit except this one time when they came out with Linux and the .CON was big (Mind you the cash was not generated by Linux but some other app). If the company does not die before this, the product will be dumped exactly like all the other products they have done in the past. There are a few already good editors around; we don't need something to wanne-be better. Dynamic data? It's called Perl!

    1. Re:Useless by Anonymous Coward · · Score: 0

      Although I can agree with damn near everything in the parent, I can't resisit commenting on:

      > The last person I want to see design a spec is a developper(sic) (even worst if it was ONE developer).

      worse yet would be one marketroid. Not only will they

      > have no clue what the users want or would like to have

      it's unlikely they will know what is even possible.

    2. Re:Useless by nostriluu · · Score: 1


      Corel has a business before the whole .CON thing with their Corel Graphics suite. I remember it with fondness.

      And using XML / submitting things to specs bodies can be part of making things open.. but I guess you're too busy using Perl to look at anything else.

      I do agree that Corel has something of a history of dumping things before really giving them a chance, their Java office suite comes to mind. With the improvements of Java along with some influence it could have become a real contender.

    3. Re:Useless by Gord+Bowman · · Score: 1

      Wow, I've never been called a cowboy developer before... I kinda like it. :)

      To respond to your concerns, however, let me say that we could have kept this markup proprietary forever, choosing to use it to distinguish our authoring tools from the others, but instead we proposed it to the SVG Working Group because we want it to become a standard that everyone benefits from. That should be considered a good thing.

      As for your statement that the last person to design a markup language for programming should be a programmer... are you serious?

      As for my not having a clue what users want, I actually think I did a pretty good job at talking with designers to make sure I designed something they would understand. That's why its procedural, for instance instead of functional like XSLT. If you think I made some bad design choices, please tell me. And I didn't create the spec "entirely" by myself. Others on the teams have had plenty of opportunity to influence it, and my colleague (who did more coding than me) and I routinely bounced ideas of of each other all the time. Regardless, more developers and designers looking at it and evaluating would be a very good thing. Thus the reason for my posting to Slashdot.

    4. Re:Useless by Anonymous Coward · · Score: 0

      A W3C proposal is def. a good thing =); although I have to agree with him that it does sound like "a lone developper operation" and that's not typically a good thing.

      For my 0.02$, there is a great difference between a markup language *developpers* and a developper/programmer. One thinks low-level while the second thinks more in a task-oriented fashion. If you know Linux, you know exactly what I mean.

      I cannot comment wether this was well done or not but that's my 0.02$.

    5. Re:Useless by Anonymous Coward · · Score: 0

      "Developers shouldn't write specs"

      Wow. I get so sick of people making ridiculous generalizations like this. Not everyone who is a developer is too socially inept or left-brained to understand user specifications and design accordingly. Some great software has been written with the developer writing the spec. (Like just about every piece of open source software out there?)

      The author of the parent comment seems to believe that a persons strengths always imply the same set of weaknesses. Generalizations like this will cause you to miss out on some real potential talent in your employees or coworkers.

      Maybe it's just another case of envy from the non-developers...

  13. Adopting SVG by HisMother · · Score: 2, Interesting

    SVG is a Good Thing, and it would be fantastic if it had broader browser support. Is anybody sufficiently familiar with the dark corners of the standard to explain why we don't see more implementations? Would it really be so hard for Adobe to update their Linux implementation to work with current browsers? Why isn't Mozilla/SVG farther along?

    --
    Cantankerous old coot since 1957.
    1. Re:Adopting SVG by Anonymous Coward · · Score: 0

      EZ. Mozilla SVG went the GDI way initially. Stupid and wrong because it can't do any low-level transformation. They require a path engine and that's what they are using in Linux. LibART I believe). But like most open source projects. It's half abandonned!

    2. Re:Adopting SVG by Anonymous Coward · · Score: 0

      Adobe laid off all their SVG developers some time ago -- it's dead code now.

      Mozilla obviously has bigger problems to worry about since all their core engine programmers just got canned, and they're right in the middle of the firebird transition.

      Microsoft promised support for IE, but never delivered.

  14. Da disclamer by Anonymous Coward · · Score: 0

    http://www.corel.com/smartgraphics/resources/dSVG1 1

    WoW one of the longest disclamers I have read in my life :P

    I am trying to *complete* my SVG/XML/CSS editor for 2 years... and now they want to add new features!!!

  15. Can you please post the spec by itself? by tmoertel · · Score: 3, Insightful
    I am interested in reviewing the spec, but it's presently tied to the test-suite software, which is locked away behind a long, complicated, and scary-looking license agreement that I'm not comfortable agreeing to. Could you please provide a link to just the spec?

    Since you have already submitted the spec to the W3C SVG WG, it's already public knowledge, and there's no reason to hide it behind legalese, right? Can't you just provide a link straight to it?

    I'm sure a lot of other people are more interested in the spec than anything else. If you want them (and me) to take a look at dSVG, please make the spec available by itself.

    Thanks!

    1. Re:Can you please post the spec by itself? by Gord+Bowman · · Score: 5, Informative

      Hmm. That's a good idea. It's actually my fault, really. They asked me if I could post just the spec and I said that the spec currently linked to the slides in the test suite and that I thought most people would like to actually play around with it. So they said, okay, but we'll need a EULA then. And I said, okay, and then went off to my SVG Open conference. So yes, I'll look into just posting the spec without all that legaleze stuff. It's the weekend, though, so I doubt it would happen until Monday.

    2. Re:Can you please post the spec by itself? by tmoertel · · Score: 2, Interesting
      So yes, I'll look into just posting the spec without all that legaleze stuff.
      Excellent! Thanks for being cool about this.
      It's the weekend, though, so I doubt it would happen until Monday.
      Can you give us anything right now? Monday, I'll be working, but today I can look at your spec. I'm sure a lot of other Slashdot readers are in the same boat. Also, on Monday, your article will be long gone from the Slashdot front page, and so you might want to make better use of this opportunity to introduce readers to the meat of dSVG.

      Even if you must wait until Monday to get the OK from the lawyers to post the spec, certainly you can give us something now to give us a feel of dSVG.

      How about posting or linking to a few snippets of dSVG code? (Actually, I'm surprised that you didn't include a snippet or two in your original announcement.) Most programmers reading this article will want to see what dSVG code looks like. Throw us a bone!

      Cheers,
      Tom

    3. Re:Can you please post the spec by itself? by Gord+Bowman · · Score: 1

      Umm... yeah. Good point. Lemme see what I can do here.

    4. Re:Can you please post the spec by itself? by FattMattP · · Score: 1

      Here's a link to just the spec. No agreement needed: http://www.corel.com/content/CSGS/zips/dSVG11Spec. zip

      --
      Prevent email address forgery. Publish SPF records for y
    5. Re:Can you please post the spec by itself? by jasenj1 · · Score: 1

      Violation of DMCA? Is providing a direct link like this bypassing some sort of copyright protection - i.e. the big legalese agreement. By posting the direct link, you are bypassing the binding EULA. That seems somehow illegal.

      Hmmmm... But Corel is in Canada, so the USA's DMCA doesn't apply. Doesn't Canada have a similarly draconian law? Is it illegal in the USA to do things that are illegal in other countries while in the USA, e.g. forging another country's currency, or bypassing EULAs?

      Awww... Screw it. I'll just DL the spec and wait for the FBI to knock on my door. If they don't show, it must be ok.

      - Jasen.

  16. Code examples by AmVidia+HQ · · Score: 2, Informative

    IDE's to make programming a language easier is always a good thing. Vector graphics client is still dominated by Flash, but demand for more widespread SVG clients will occur when there are apps for it.

    HTML pasted from the Spec, judge for yourself how it looks:

    9.6 Example #1

    dSVG sample behavior: focus - with added attributes focusGroup and focus
    Content of file: dsvg:focus, dsvg:setTransform, dsvg:setAttribute, dsvg:setStyle, (added attributes dsvg:focus, dsvg:focusGroup)
    The dsvg:focusGroup attribute adds the ability to store the ID of similar type elements that are assigned to that group.
    Default focus can be given to an element (red circle above) by adding the dsvg:focus attribute to that element.

    The red, blue, green circles are part of the focusGroup. The orange circle is not.
    Click on the red, green and blue circles to set focus.
    Hover over the 'red', 'green' and 'blue' text elements to set focus.

    red
    blue
    green
    orange

    Hovering the mouse over the 'text' element with id="blueText causes the behaviors within the second 'focus' element to be run. When the first 'setStyle' behavior is run, its 'value' attribute, which is equal to:

    %(textGroup@elementID)@cdata%

    resolves to:

    %blueText@cdata%

    which then further resolves to:

    blue

    9.7 Example #2

    Pushing the button will run the 'alert' behavior. Its 'message' attribute, which is equal to:

    message= "%button1@label+ ' button ' + if(button1@selected == 'false' , 'is selected', 'is not selected')

    which resolves to:

    "button1@label + ' button ' + if( false , 'is selected', 'is not selected')

    which further resolves to:

    Evaluate button is selected

    --
    VIVA1023.com | Political Fashion.
  17. adverts? by mz001b · · Score: 3, Funny
    I think this should have read:

    "Hi, my company just came out with a new product and told me that I get a huge stinkin bonus if I managed to get an advertis^H^H^H^H^H^H^H^Harticle on it posted on /., so please click on this link..."

    1. Re:adverts? by Timesprout · · Score: 1

      Absolutely. Unfortunately the other efforts which Corel have made at attempting to become lead early adopter of technology eg Linux and Java have ended in what many would term disaster. With that track record I would be dubious about anything Corel promote, esp when the IDE is a grand a go.

      --
      Do not try to read the dupe, thats impossible. Instead, only try to realize the truth
      What truth?
      There is no dupe
    2. Re:adverts? by Anonymous Coward · · Score: 0

      H^H^H^H^H^H^H^

      advertisement article

      advertisementarticle

  18. Corel SVG Plugin for Mozilla on Windoze? by nigels · · Score: 1

    I didn't have any luck with the Corel
    SVG Viewer and Mozilla 1.4 on W2K.
    I suppose a Linux version is totally
    out of the question... :-(

    1. Re:Corel SVG Plugin for Mozilla on Windoze? by Gord+Bowman · · Score: 1

      Hmm, I know we've had the CSV working with Mozilla on W2K before... maybe not with Mozilla 1.4? I'll look into it. As for a Linux version, NOTHING is ever out of the question. It's all based on demand right now--we have a ton of tasks to do and each one of them has a priority. If a lot of people want CSV on Linux, then that will bump up the priority.

    2. Re:Corel SVG Plugin for Mozilla on Windoze? by Anonymous Coward · · Score: 0

      Yes, Linux Mozilla user would love a
      robust SVG plugin. I'd use it at work.

    3. Re:Corel SVG Plugin for Mozilla on Windoze? by axxackall · · Score: 1
      I think that a lot of people would like in Mozilla to see SVG directly in XHTML without any plugins. In fact, no need develop anything new, just finish what you have already started with that libart. Nothing will frustrate more than if Mozilla developers will drop very good non-proprietary feature (SVG) unfinished and jump to support a commercial plugin.

      A strong benefit of SVG native support vs a proprietary plugin is an integration of the page (XHTML) scripting (javascript) with SVG. With plugin you've got just one more bad Flash (sorry, Macromedia) - you have a page with own dynamic interaction and you have a dynamic plugin box and they know about each almost nothing. Very annoying for all web developers I know.

      --

      Less is more !
    4. Re:Corel SVG Plugin for Mozilla on Windoze? by nigels · · Score: 1

      I would like to be able to migrate to SVG for vector-based plotting and diagrams. At the moment I tend to convert to PNG, but ideally there would be solid support for SVG on Mozilla for both Linux and Windows. We would also look at bumping SVG into our Web3D course:
      http://goanna.cs.rmit.edu.au/~nigels/Web3D/
      Native Mozilla support would be ideal, but a solid plugin (Adobe SVG is broken on Linux) would be a great step forward.

  19. Direct link to the spec by Anonymous Coward · · Score: 1, Informative

    dSVG11Spec.zip

    Jeeze Corel, don't be wankers. If you want a *public* review of your specification for a _proposed_standard_, don't make people agree to give away their first-born.

    1. Re:Direct link to the spec by russcoon · · Score: 1

      a tarball would also be nice.

  20. Any patents involved? by Homology · · Score: 3, Insightful
    dSVG is NOT a spec being proposed by the W3C. It's something we came up with ourselves for our product, and then proposed to the SVG Working Group.

    Since this appear to be a product by a comercial company, it sort of begs the questions : Is any patents filed relating to this, or is any existing patent involved? This includes any technology necessary to implement dSVG.

    I apologize if I appear impolite, but I'm getting cynical as I age.

  21. Corel also has a viewer. by Bill,+Shooter+of+Bul · · Score: 1

    Goto Adobe's svg demo site with corel's plugin and it tells you you need adobe's. Goto Corel's svg demo site with Adobe installed and it tells you that you need Corel's.

    --
    Well.. maybe. Or Maybe not. But Definitely not sort of.
  22. Goodbye RFC, hello Slashdot-Full crew. by Anonymous Coward · · Score: 0

    "SVG is still a standard? :o I thought that it lost the battle, war, and it's ability to procreate to SWF... Has anyone actually come across anything that is SVG based? In fact, I wonder how many people here actually knew what SVG was before reading this article..."

    Before you get on your Macromedia Flash bandwagon. You might want to look at who was part of the working group.

  23. What can dSVG do that Javascript DOM does not? by Bill,+Shooter+of+Bul · · Score: 1

    Can anyone tell me? I've used svg + javascript + DOM. IT works very well and is supported in adobe's pluggin and is the offical w3c recomendation for making svg dynamic. Why confuse the situation? What need is there for dSVG?

    --
    Well.. maybe. Or Maybe not. But Definitely not sort of.
    1. Re:What can dSVG do that Javascript DOM does not? by russcoon · · Score: 1

      Um, it does nothing you can't do with SVG+JS+DOM, since that's exactly how it's implemented.

      As for a need for it, I think there _is_ a need for widgets in dynamic SVG apps, but I think that large portions of this spec are miss-directed.

    2. Re:What can dSVG do that Javascript DOM does not? by Gord+Bowman · · Score: 1

      It's XML markup, therefore it can be data-mapped and transformed via XSLT.

      It's easier for an authoring tool to create markup (which the author can customize) than to create script.

      It's more high-level than DOM methods, providing a more direct linkage between the syntax and the intent of the author. So it's more intuitive to non-developers than script, thus allowing designers to create web apps all by themselves.

      Because it's markup, it (or something like it) has the potential to become a standard one day and thus become natively implemented. This would allow SVG on small devices to still have excellent interactivity without needing a script engine, which typically takes up half of the footprint (aside from being slow).

      Markup is guaranteed to be interoperable on the authoring side, while scripting is not.

  24. -1 by zephc · · Score: 1

    -1, screenshots are too small, resubmit

    oh, wait, this isnt K5...

    --
    "I would say that 99 per cent of what my father has written about his own life is false." - L. Ron Hubbard Jr.
  25. Sigh by jefu · · Score: 1
    Ah, someone as cynical as me.

    Still, I think SVG is likely to be a sufficiently valuable addition to browsers that it is worth pushing for.

    1. Re:Sigh by Chilliwilli · · Score: 1

      Can't corel jump in and help out the Mozilla effort.. i'm sure all the good SVG peeps of the world would be very greatful.. and they obvious already have all the code they'd need.

      Come on Corel, kickstart SVG.

      --
      Cure cancer.. and stuff! www.team45.info
    2. Re:Sigh by Chilliwilli · · Score: 1

      Couple more request for Gord and the guys at Corel..

      1. Can we see some of the dSVG code?
      2. Can we see some examples of applications built using the suite?

      Cheers Gord! Good Work.

      --
      Cure cancer.. and stuff! www.team45.info
    3. Re:Sigh by Anonymous Coward · · Score: 0

      1. No.
      2. No.

    4. Re:Sigh by Gord+Bowman · · Score: 2, Interesting

      The dSVG code itself is still part of our IP, so unfortunately I can't show it to you (sorry). But if dSVG had instead been implemented natively in the SVG Viewer (which would not have been proper), I don't think most would dispute it's code being unreleased. I should point out, however, that the reason the script is obfuscated is not just to protect IP, it's also because it's actually much faster that way, since the strings are smaller. Really, I was actually quite shocked at just how much faster it is.

      As for sample applications built using CSGS, you can find lots of them at www.corel.com/smartgraphics/resources.

  26. Aw, c'mon... by Gord+Bowman · · Score: 1

    I know it's not open-source, but we HAVE proposed the spec to the SVG Working Group for consideration. I want it to LEAD to a standard, after lots of feedback and collaborative discussion, not to BE the standard as-is. I'm only one developer--what are the odds that I thought of everything? Zilch.

    1. Re:Aw, c'mon... by Anonymous Coward · · Score: 0

      . This re-enforces the fact that only one person seriously thought about this. This is NEVER a good thing!

  27. No skill required? by Anonymous Coward · · Score: 0

    "It was a programmer's dream. I was essentially being paid to develop a new kind of programming language."

    How often has one programmer's dream become the nightmare of many others? Especially when associated with the claim "you don't need programming skill" to use the language.

    We already have Basic!

    Sorry about being so negative. But I've had way too many bad experiences with claims "no skill necessary" if you use my product.

  28. careful what you wish for by Tablizer · · Score: 2, Funny

    having seen how quickly even non-developers can create Web apps, I feel certain that XML-based programming makes sense and is the way of the future

    By that criteria, PPOP (Power-point oriented programming) will be the wave of the future.

  29. Flash vs. SVG by Gord+Bowman · · Score: 4, Interesting

    Some people think SVG and Flash directly compete, and others say no. But let's compare them for the case of creating data-driven applications. If you think that you don't have to code in Flash, then you must not have used it. It uses ActionScript, which is like a stripped-down ECMAScript (I think). But it's script. They have a UI for generating it, but it's mainly a succession of dropdown menus to finally insert an 'if' statment. So you're not freed from the need of actually knowing how to program or anything. But even if you did want to use a proprietary binary standard to create an enterprise-class data-driven application, can you and should you? Macromedia recently has tried to enter the Enterprise space to do this, but the idea of using a proprietary solution does not sit well with everyone. Especially when the alternative is to use a complete XML solution from beginning to end. Data-driven graphics and data-driven applications are just now starting to take off. And most of them are using SVG because it's an XML-language--thus you can data-map it easily with XSLT. Many argue that while SVG may be able to compete in the multi-media space, that's not where its strength lies. It's strength is in the visualization of data.

    1. Re:Flash vs. SVG by russcoon · · Score: 3, Insightful

      Gord,

      I think you're going to find out that developers at large aren't going to enjoy "programming" in XML. It is overly-verbose for anything but data and meta-data transfer (and many will argue that it's highly inefficient at even that). Programmers and you and I know them want their if statments to look as close to pseudo-code as they can get (hence we have Python and Perl). All of that said, your toolkit still hinges ona a glue language (JS) to make SVG (a declarative style language) even become a programming language in the first place. Therefor the dependency on JS doesn't go away at all. In fact, you've only made your programming environment even more brittle (what are the odds you'll get good debugging info from a dsvg environment?) while continuing to mix data and program in a way that has some deeply negative security ramifications.

      So anway, even if Flash and SVG don't compete, dSVG turns SVG into a Flash competitor, except that it's a "complete xml solution from end to end". Frankly, I'm not sure what that buys you.

      The point of CSS is to seperate style from structure, and the point of XML is to encode meta-data that would otherwise be lost. Unless you can make a compelling argument that scripting constructs are meta-data that should be encoded, I'm going to continue to have a very hard time buying that programming as such belongs in your markup as anything other than CDATA sections. Yes, it has semantic meaning, but not semantic meaning for data! XSLT treads this line pretty narrowly, and I think it winds up on the right side of the fence in most places, but it again suffers from all of the problems anyone else that tries to make imperative constructs out of markup winds up with, and that's not a good thing.

      We doen't use column-based programming languages any more for a lot of very good reasons. Why would we ever want to return to their equivalent if it's only more verbose?

      So we can put an XML stamp on it? What does that buy us?

      Anyway, Flash and SVG+JS are competitors, Flash and SVG without scripting are not. End of story.

    2. Re:Flash vs. SVG by Anonymous Coward · · Score: 0

      Alright no offense but you really don't know what your talking about.

      1) the .swf format is an open one and there are several applications and server scripting languages that can create it. Look at http://openswf.org/ if you dont belive me.

      2) ActionScript is a customised version of ECMAScript. not a stripped down one. It doesn't have browser controls because it does not control the browser. What it has instead are controls specific to the SWF format (ie movieclip methods and event handlers). Otherwise most of the core objects and functions are the same.

      3)Flash supports XML.

      4)Flash supports animaton

      5)Flash provides and IDE for both Interface artists, designers, animators and developers. That's it's strength. Dont tell me the guy who talks about "data mapping" is going to design your interface.

      6)Flash supports the integration of vector graphics with raster ones including 32 bit pngs.

      Data-driven graphics and data-driven applications are just now starting to take off.
      Says who? seems to me data driven has been around for oh, I don't know, 50 years?

      If you think that you don't have to code in Flash, then you must not have used it.
      Who ever said you don't have to code in flash? in fact, where the fsck CAN you build an application without coding?

      They have a UI for generating it, but it's mainly a succession of dropdown menus to finally insert an 'if' statment.
      You're obviously not a very skilled flash developer. I usually type "if" to get an if statement.

      The jist what your saying is that XML->XSLT->SVG is better/easier thatn XML->ActionScript->SWF

      and I think this is wrong on so many levels. We all know you need to choose the tool to fit the job. but it seems to me that the SWF format is able to fit many more and different kinds of jobs. And that SVG is just a "stripped down" version of SWF.

    3. Re:Flash vs. SVG by Anonymous Coward · · Score: 0

      Gord , you obviously don't know diddly about flash. Flash is significantly more sophisticated that you're giving credit.

    4. Re:Flash vs. SVG by TheViewFromTheGround · · Score: 2, Insightful

      Gord is precisely correct. I find Flash's implementation of ECMAScript very goofy. You wind up setting up layers upon layers and frames upon frames of images, vector graphics, etc, making them all invisible, and then hiding code in lots of different places on the time line and man, it's a big mess. Of course, the Flash community loves it to death at this point because it is what they now know deeply. And, especially with the MX version, can do some very cool things when it comes to interactivity online. But it is tricky and complicated to make it dynamic, work with one's databases, it is still tricky to print, etc. I've done some Flash development, and I just keep asking myself: why can't I just write straight code?

      What's important to note is that visualization of data isn't just dynamically generated graphs and reports for the corporate newsletter. Another promise of end-to-end, data-driven graphics is in creative and interesting mapping of web site relations, big statistical datasets, etc.

      Currently, I'm exploring the possibility of using SVG sometime this fall or early next year to visualize connections between news stories: how are the people in Story A related to the people in Story B and how are the themes of Story C related to the themes of Story D and how can it be visualized in a way that the connections between a large number of documents pops out immediately. For the moment, we're just looking at doing it on the site that I develop, but there are possibilities for doing it more generally -- i.e. comparing the NYT's coverage of Iraq with the Washington Post's.

      The point is, you can do this in Flash, but the level of complication makes it far from the ideal way to accomplish the task. Further, you can't very well GPL the resultant application, which is precisely what a concerned citizen might want to do with a tool that aids in the scrutiny of media or in seeing large scale statistical trends in the Chicago Police Department that could uncover corruption and deceit, just to give some really innocent examples that occur to me as I write it.

      Honestly, though, the possibilities are so significant that even without built-in browser support SVG is a pretty big thing.

      --
      Online citizen journalism from the inner city: The View From The Ground
    5. Re:Flash vs. SVG by Gord+Bowman · · Score: 1

      You make some good points. It is true that in some cases, programming via XML is more verbose, however for other cases it is less verbose, since the dSVG behaviour elements are generally at a higher level. Of course, the same thing could have been accomplished with a library of script functions--but you can't data-map them and they could never become part of a standard.

      Currently, we need ECMAScript to be the "glue", as you pointed out. But the intent behind dSVG has always been that it would lead to standard markup, which could then be implemented natively. Being able to develop an entire Web application without the need for a script engine is an appealing notion.

      Thanks again for your feedback.

    6. Re:Flash vs. SVG by russcoon · · Score: 1

      So the proposal here isn't really a set of widgets, it's a set of widgets and a new programming language?

      Frankly, I don't see how you're gong to remove the need for a "script engine", since your XML/application parser is going to need to preform the job in exactly the same way as a normal scripting engine (parse, display, run). It _might_ have the virtue of being more readily able to use the data it is intertwined with. Your draft shows some of the kinds of sophistication in contextual awareness that would make this worthwhile, but you don't ever break out of the bounds of what's readily possible w/ ECMA Script, which begs the question: what's the point?

      Worse, determining what is program and what is data becomes near impossible, if your examples are anything to go by.

      So I guess my point is this: if you're not going to go any further than what ECMA Script + DOM already provide, why not just put the effort into a JS library that does what you want (which, incidentially, is where you are now)? I think you've got a really neat set of widgets going, but the comingling of data and markup in a way that makes their seperation near impossible is a major impediment to uptake. I strongly beleive that we need better ways to tie XML data to behavioural script, but I don't think that confusing the two is a fruitful way forward.

    7. Re:Flash vs. SVG by Anonymous Coward · · Score: 0

      gawd this is getting old. Flash is not goofy you are. I put all my code on one frame and if you can't do that is YOUR shortcoming. PLUS your example of how SVG would be better is anectdotal. How would SVG show you this data that would be so helpful? I bet you can't explain it without using marketing terms like "end to end solution."

    8. Re:Flash vs. SVG by TheViewFromTheGround · · Score: 1

      I like to put all my code, all my references to media assets, all my databases calls in a text file and edit it in my favorite editor. Doesn't it seem a little less than elegant to be putting bastardized ECMAScript in a frame of a propriety file format and using an timeline interface for writing an application?

      Further, the output to the screen isn't the issues -- it's the way it's delivered. That was my point. Flash's output would be roughly equivalent to the SVG solution. It's the difference in the ease and flexibility of creation, as well as the ability to be straight open-source the whole way, that makes the crucial difference.

      You obviously haven't tried to write a data-driven visualization app in Flash.

      --
      Online citizen journalism from the inner city: The View From The Ground
  30. GUI or drawing? by Tablizer · · Score: 1

    It seems references to this have one foot in GUI's and one foot in graphics rendering. I think it is best to separate them because one is primitives and the other higher-level form widgets that fit GUI behavior expectations. Candidate remote GUI XML standards include XUL, XWT, and SCGUI (my pet), among others.

  31. Any new actual features? by r4lv3k · · Score: 1

    How is dSVG any different from SVG + ECMAScript?
    Can it can create content as rich as flash, like see http://homestarrunner.com?

    r4lv3k

    1. Re:Any new actual features? by Gord+Bowman · · Score: 2, Informative

      Reposting this from a previous comment...

      It's XML markup, therefore it can be data-mapped and transformed via XSLT.

      It's easier for an authoring tool to create markup (which the author can customize) than to create script.

      It's more high-level than DOM methods, providing a more direct linkage between the syntax and the intent of the author. So it's more intuitive to non-developers than script, thus allowing designers to create web apps all by themselves.

      Because it's markup, it (or something like it) has the potential to become a standard one day and thus become natively implemented. This would allow SVG on small devices to still have excellent interactivity without needing a script engine, which typically takes up half of the footprint (aside from being slow).

      Markup is guaranteed to be interoperable on the authoring side, while scripting is not.

  32. Re:Yahooo Aishwarya Rai by Anonymous Coward · · Score: 0

    LEt's fuck

    OK. Bend over.

  33. Waiting for SVG pop-up windows. by bons · · Score: 2, Insightful

    So, someone is creating an OO script/language for vector graphics...

    Now that you've approaching Flash 5, can you please explain what you're hoping to accomplish?
    Since their plug-in is commonly installed, their standards and documentation are apparently about as open and propriatory as yours, and since the number of people who can tell the difference between flash and dhtml is minimal, I'm not sure what the actual goal here is.

    According to the normal timetable, Flash 7 should be released before the year is out and that seems to be your primary competitor. Unfortunately it also offers video, sound, raster graphics, and a good lead on a decent OO scripting langage. Oh wait, that's Flash 6.

    Is there something new you're offering (other than a different set of lawyers) that we should be noticing?

    1. Re:Waiting for SVG pop-up windows. by Tet · · Score: 4, Informative
      Is there something new you're offering (other than a different set of lawyers) that we should be noticing?

      Let me see:

      • The ability to navigate using the traditional back/forward buttons (although I believe the lastest versions of Flash support this to some extent).
      • The ability to resize text so it's halfway readable.
      • The ability to cut and paste text.
      • The ability to use my standard ctrl-pageup/pagedown keys to switch between tabs in Mozilla (as well as other browser keyboard accelerators) without them getting intercepted by the Flash plugin.
      • The ability for search engines to index the content I'm presenting.
      There are many reasons why Flash is fundamentally flawed, and SVG is a much better solution in the long run. Only time will tell if the market is able to see that.
      --
      "The invisible and the non-existent look very much alike." -- Delos B. McKown
    2. Re:Waiting for SVG pop-up windows. by Gord+Bowman · · Score: 2, Informative

      Yup, and there's plenty more reasons why SVG is often preferred over Flash. It's a standard, for one thing. A lot of people like standards. Our dSVG has been proposed to the SVG Working Group, so we hope that it will lead to a standard also. Standards are good.

      It's also easily data-driven since it's XML. Flash is good for multi-media, but I (personally) doubt it will ever be a major player in the data-driven graphics/apps space. The idea of creating a pure XML solution, from beginning to end, is very appealing.

    3. Re:Waiting for SVG pop-up windows. by 73939133 · · Score: 1

      According to the normal timetable, Flash 7 should be released before the year is out and that seems to be your primary competitor. Unfortunately it also offers video, sound, raster graphics, and a good lead on a decent OO scripting langage. Oh wait, that's Flash 6.

      Well, there you have one problem with Flash: a new version every year. And that's not a coincidence: it's the way the format can appear to be open yet ends up being proprietary for practical purposes.

      Is there something new you're offering (other than a different set of lawyers) that we should be noticing?

      I don't know whether dSVG is the answer, but I do know that Flash isn't: the fact that it's a binary format alone makes it uninteresting.

    4. Re:Waiting for SVG pop-up windows. by obi · · Score: 1

      well:

      * back/forward works.
      * resizing text works, in fact you can easily resize/zoom the entire flash movie. I never have a problem with unreadable flash files, often I have a problem with unreadable html files (with hard-fixed CSS fonts) at 1600x1200, it starts to become an issue. I guess the only "problem" is that Flash usually uses unhinted anti-aliased fonts, but you can use the systems font renderer if you want it. And, as resolutions go up, this downside becomes an advantage.
      * cutting and pasting text works, I do it often from flash based sites.
      * That key intercepting thing was something I hadn't realized, and I agree something should be done about it. But it's something I personally never encountered, and is a problem with the implementation not the format.
      * indexing content: I don't think that's so hard: first of, there's an option (in the editor) to put all the text in comments in the enclosing HTML, and second, if google can parse PDF's, why not SWF's, it's not like it's that much harder...?

      I like flash because it's a relatively small and simple format, which makes sure implementations are actually possible. I dislike the fact that the format gets defined by what get's implemented in Macromedia's implementation, and that there's no real editor out there in Linux-land (maybe with flasm.sf.net, things will change)

      SVG just seems so huge, that after all this time, there's still no viable implementation. And after seeing the performance problems of the huge Adobe SVG plugin - which doesn't even support all of the spec - I still haven't seen anything that could compete with Flash.

      It's not because it's an official W3C standard that it's good. It just seems way too fat, bloated, ... I really wished they would've kept things simple.

      (oh and by the way, the fact that flash is a binary format is not a big deal in my mind - I started generating swf's in pure php (no external libraries like MING needed) and it works out great so far.)

    5. Re:Waiting for SVG pop-up windows. by Minna+Kirai · · Score: 1

      * resizing text works, in fact you can easily resize/zoom the entire flash movie. I never have a problem with unreadable flash files,

      It barely works. The word "easy" is not valid here. If a page is made with flash and tiny fonts, I can individually right-click each Flash area to zoom in the size by 2x. The amount of space allocated on the page doesn't change, so now I"m stuck dragging it around with the mouse to see the whole thing. Is there a way to resize a flash within a page, not just zoom in on it? I can't find one- and it certainly doesn't automatically bind to the browser's text magnification setting, which will be an advantage of Mozilla's native SVG.

      * That key intercepting thing was something I hadn't realized, and I agree something should be done about it. But it's something I personally never encountered, and is a problem with the implementation not the format.

      The flash format allows the author of an SWF to intercept keystrokes for his own use.

      if google can parse PDF's, why not SWF's, it's not like it's that much harder...?

      Google makes a mess of many PDFs, but at least all PDFs can evaluate somehow to a linear sequence of text. Flash programs can be arbitrarily complex, in a Turing-complete way. For computer scientists, "Turning Complete" is the trivial way to demonstrate that something cannot be comprehended by a computer program. (Postscript is also Turing complete, but it's non-interactive, so non-degengerate files will complete after a reasonable time). If someone makes a website with 20 pages all in a Flash file, a web-crawler has no sure way to tell how those pages are linked relative to each other.

      Maybe it can find an interesting text string inside the SWF, but then what? Does it print you an ascii dump of the file in its cache? Or just take you to the live SWF itself, where there will be no guarrantee that you can even navigate to the desired page within the flash?

      (Some content providers will want to use Flash for this reason- because it makes deep-linking and other 'subversive' user techniques more difficult)

      There are other problems with the Flash format, in that they enable or imply bad behavior by the implementation. Primarily, the assumption that Flash files are an executable program, and that they are constantly advancing through time (and animating as they go). Some websites (like Tom's Hardware will have 4 embedded Flash files per page. Playing them uses a significant chunk of CPU power, even if you're not viewing the page. But if someone tries Mozilla's tabbed-browsing feature to keep reviews of several different products handy for comparison, the CPU consumption just keeps climbing and climbing.

      Other problems with Flash are purely with the implementation- I can't easily turn down the default rendering quality, for example (or just set them to not even animate until I click on one). But Macromedia has no desire to improve the end-user's ability to control his view of SWF files. To do that would make them less attractive to advertisers. "If consumers could de-activate the constant bouncing, they might be able to focus on content they want to read!"

    6. Re:Waiting for SVG pop-up windows. by Tet · · Score: 1
      back/forward works

      Not on any site I've seen, and not with any version of the Flash plugin I've used (I'm using 6.0 r79, which is the latest released version, according to Macromedia). Care to provide a URL where I can see this is action?

      resizing text works

      Nope. Zooming is not the same as resizing. It is also waaaay to clumsy to be useful on a regular basis. It's far easier to just give up on the site and go somewhere else.

      cutting and pasting text works

      Again, not in any version of Flash I've used. Care to provide some examples? I've just tried going to http://www.macromedia.com, to see if I could do it, but no joy. Can you explain what I'd need to do to cut and paste some of the text from the flash presentation on the front page?

      --
      "The invisible and the non-existent look very much alike." -- Delos B. McKown
    7. Re:Waiting for SVG pop-up windows. by obi · · Score: 1

      All these things don't come "automatically", you have to choose whether you enable it or not.

      (that in itself might be a major downside, but it's not that it's impossible, it just becomes the responsibility of the designer - blame the people, not the format)

      * back button example/"experiment"
      http://www.robertpenner.com/ experiments/backbutton /backbutton.html

      * resizing text
      You can make the swf scale with the browser window (easy, and I don't see why alot of designers choose to use a fixed size for their sites - it's also what happens if you load the swf straight in your browser), and/or detect changes in the browser window size, and choose how to respond accordingly.

      * cutting/pasting text: it's just a checkbox you have to tick - you can choose if you want it or not.

      So: the implementation and format make all these things possible, and doesn't even steer developers in one particular direction, it just lets them make a choice. So again, don't blame the format, blame the designers.

    8. Re:Waiting for SVG pop-up windows. by Tet · · Score: 1
      http://www.robertpenner.com/experiments/backbutton /backbutton.html

      Doesn't seem to work for me. It's different to most Flash sites, I'll admit, but it's not going back to the previous page when I request it.

      So: the implementation and format make all these things possible, and doesn't even steer developers in one particular direction, it just lets them make a choice. So again, don't blame the format, blame the designers.

      Perhaps. Perhaps I'd be more agreeable if the common tools for creating SWF came with a sane set of defaults that gave the behaviour you've described.

      --
      "The invisible and the non-existent look very much alike." -- Delos B. McKown
    9. Re:Waiting for SVG pop-up windows. by obi · · Score: 1

      > Perhaps. Perhaps I'd be more agreeable if the
      > common tools for creating SWF came with a sane
      > set of defaults that gave the behaviour you've
      > described.

      Amen to that. The Flash MX editor is just plain crap. It's a usability nightmare, buggy (understatement of the year), bloated POS. And it's the _only_ program that I need to boot back to Windows for, and I doubt we'll see it soon on Linux.

  34. you forgot...... by Anonymous Coward · · Score: 0

    ...another TLA to throw up (yes, this was properly choosen) onto the the ol' career outline formally known as a resume and now known as the input for a buzz-word filter.

  35. Where does it stop? by Animats · · Score: 2, Insightful
    It's tough to do this well. Where do you stop? When you have an animation system? A game engine?

    I'd like to see more open-source tools to create Flash format. Flash is a really good implementation of vector graphics - the engine is small, the files are small, and the system is very powerful. It took Macromedia three rounds to get it right (remember Director?) but finally, they did it.

    Flash format is open, and there are a few non-Macromedia tools for it. But not enough. I once looked into doing a Flash tool for stock charts, so you'd get the raw data from the server and could pan, zoom, and do typical stock-chart operations like moving averages locally. It's possible.

  36. Using SVG in real world apps ... by vi-rocks · · Score: 2, Interesting

    .. we are and its fantastic. First of all, all our clients are running either Windows (98 to XP) or Mac OS X .. Adobe's plug-in is working just fine. We made a small modification to the Apache config file and feed our SVG files through the PHP interpreter first -- with PHP code embedded in the SVG file. Much of the data begin display on our clients SVG drawings are dynamic and sourced from a MySQL database. As the database is updated, the SVG drawings and figures change automatically. Saves a ton of work.

    1. Re:Using SVG in real world apps ... by Anonymous Coward · · Score: 0

      We use it too. Except our clients are either Windows or Linux, so we build Mozilla for them with SVG enabled, and we generate our SVG code with Python scripts using Zope.

  37. I need screen shots by omar.sahal · · Score: 2, Insightful

    Screen shots screen shots , how'd I know i want it with out screen shots

  38. Sounds like baloney to me!!! by Anonymous Coward · · Score: 0

    you may be aware that SVG is increasingly being used for the creation of data-driven Web applications.
    Yeah right...like has anyone ever really created a data-driven web application with svg? Please!!

  39. The funny thing is... by supersoftdrink · · Score: 1, Informative

    I spent a few hours yesterday redesigning my website to incorporate SVG as a design element. I was pleasantly suprised about how easy it was to get everything working properly and completely W3 compliant. What's more is: all the site resources and the template I'm using boil down to just under 6KB. I'm running all this through Mason, so I'm pretty excited to see what can be done through combining Mason and SVG. I'm thinking database-driven graphs, user layout/color/theme preferences... I know that Flash and SVG aren't direct competitors and each has it's strengths and weaknesses, but SVG's main strength (IMHO) is it's coplete openness and roots in XML. This allows SVG to be as dynamic as you want. The only things I see that Flash has over SVG are: XML sockets, more widely accepted, and it's a somewhat difficult format to reverse engineer / yoink code from. I suppose the last "feature" is both good and bad.

    Just my 2

  40. That's the truth! by Anonymous Coward · · Score: 0

    Even though current flash usage sucks, it's actually a pretty nice vector graphics platform, and it's the best out there for what it does. The flash file format specification is available for free download from macromedia, but they no longer make their sdk available.
    I'd like to see a decent library (c and c++)based on the specification created.
    And, come to think of it, I'd like to see a decent library based on the full MPEG4 specification created as well.

    Now go to it!
    I'll be checking the replies to this post within the hour, and the above assignments better be completed by then. :-p

    1. Re:That's the truth! by Animats · · Score: 1

      There's a PERL system for simple Flash generation in CPAN.

    2. Re:That's the truth! by Anonymous Coward · · Score: 0

      We're sorry, your submission is unacceptable.
      The requirements specifically required c or c++. :-p
      At least that's what some customer's would say!
      It doesn't necessarily matter whether your right or wrong, the customer is always right.
      Of course, you can always write a tiny c or c++ program that calls the perl program....

  41. A License To Be Proud Of by jefu · · Score: 1
    (Or should that be "A License of which one could be proud")

    Every so often I look at these things closely to see what amusements lie therein. This one has some fun bits. Some of these seem to stem from an attempt to build a license for every possible product and combination of products - thus in this single license you're agreeing to licenses for Clip Art, iGrafx (or IGRAFX - possibly a different product, who knows), Trellix, some SDK and in every country possible. So, here are a couple excerpts from the license that I found amusing....

    YOU MAY: (i) install and use one (1) copy of the Product on a Computer up to the Permitted Number of Computers. You may also make and use a second copy of the Product on a home or portable computer provided that copy is never loaded in the RAM of the home or portable computer at the same time it is loaded in the RAM of the primary computer;
    What if the OS keeps things loaded till the memory is claimed by another process?
    And the "a Computer up to the Permitted Number of Computers" makes me believe that lawyers are indeed talking a different language entirely. (Leaving aside the Capitalization, of course.)

    There is a whole paragraph on GIF licensing from Unisys. Did that patent expire or not?

    In reference to clip-art images :
    The image shall ... not be made available for downloading separately or in a format designed or intended for permanent storage or re-use by others;
    Like jpeg?

    You may only download, install and/or Use the Product if: (i) you are not a citizen, national or resident of, and are not under the control of, the government of: Cuba, Iran, Iraq, Libya, North Korea, Sudan, Syria, Serbia, Taliban-controlled areas of Afghanistan,
    Does that mean that there are Taliban-controlled areas of Afghanistan? I thought the shrubbery and the rummy had forbidden that.
    And isn't the government of Iran now the group that the US put in place?

    If you are a business in Germany or Austria, the courts of the Province of Ontario, Canada shall have exclusive jurisdiction over any matter arising hereunder.
    Not the courts of Germany or Austria? Interesting idea that. And who has jurisdiction if you live in (say) Belgium?

    You agree that this Agreement and all documents contemplated hereby be drawn up in English. Vous consentez à ce que cette entente et tous autres documents envisagés par les présentes soient rédigés en anglais.
    You must admit that saying that all the documents be drawn up in English and then saying the same thing in French is just a bit self-contradictory.
    But I also quite like the "All documents contemplated hereby". Does that include this slashdot posting?

    Several paragraphs are in ALL CAPS. Does the case of a character imbue in it Special Significance?

    1. Re:A License To Be Proud Of by Anonymous Coward · · Score: 0

      I don't remember us putting the government of Iran in place.

    2. Re:A License To Be Proud Of by corkhead0 · · Score: 0

      It was a cold war thing, the US put the current government (friendlier at the time) in place so they could launch nukes at russia.

      They did the same to Iraq (along with GB and others) for oil.

      On a less serious note, you really should know the history of your own country. I'm Canadian and I knew that.

    3. Re:A License To Be Proud Of by Anonymous Coward · · Score: 0

      1. The US aided the Shah in returning to power in the '50s.
      2. This was done for economic/ideological/strategic reasons. For Western interests, the Shah was a vastly superior choice for a ruling power than those who opposed him. Later on the US put missiles in Iran. This was by no means the deciding factor for aiding the Shah though.
      3. The Shah was later removed from power, and because of his human rights record, the US would not aid him.
      4. The current power in Iran is divided between the Islamic clerics who the US does not like at all, and the president who the US does not like because he won't pressure the clerics. The US did not put any of these people in power.
      5. Your understanding of the Iraq situation is grossly simple-minded and about as accurate as your comments on Iran.

    4. Re:A License To Be Proud Of by qui_tollis · · Score: 1

      1. ... For Western interests, the Shah was a vastly superior choice for a ruling power than those who opposed him.

      Those opposing him included the elected parliament.

      3. The Shah was later removed from power, and because of his human rights record, the US would not aid him.

      That is misleading, in that you are ignoring the hugh amounts of support given to the Shah by the U.S. throughout his reign despite his well publicised human rights record.

  42. Virus Writers Rejoice!! by Wolfier · · Score: 1

    One more tool for the trade.
    Let's go for beer.

  43. Example Markup - checkBox and setData by Gord+Bowman · · Score: 3, Informative

    For anyone scared to death by that EULA (I've been assured it's harmless), here is a couple of checkboxes that change the data of a text element. More examples to come.

    Gord

    <svg xmlns:dsvg="http://www.corel.com/schemas/2002/dSVG 11" xmlns:xlink="http://www.w3.org/1999/xlink" height="410px" width="744px" onload="init(evt)" viewBox="0 0 744 410">
    <script type="text/ecmascript" xlink:href="dsvg11/dSVG.js"/>
    <script type="text/ecmascript" xlink:href="dsvg11/baseUI.js"/>
    <script type="text/ecmascript" xlink:href="dsvg11/constraint.js"/>
    <script type="text/ecmascript" xlink:href="dsvg11/button.js"/>
    <script type="text/ecmascript" xlink:href="dsvg11/setData.js"/>

    <dsvg:checkBox toggle="true" xlink:href="dsvg11/skinCheckBox_Default.svg#skinCh eckBox" autoScale="true" disabled="false" selected="false" height="12" width="12" y="70" x="50" label="Check Box 1" id="checkBox1">
    <dsvg:setData value="Sample of setting data." elementID="checkBoxLabel" id="dsvgUniqueID_8"/>
    </dsvg:checkBox>
    <text y="80" x="150" fill="green" id="checkBoxLabel">label</text>
    <dsvg:checkBox toggle="true" xlink:href="dsvg11/skinCheckBox_Default.svg#skinCh eckBox" autoScale="true" disabled="false" selected="true" height="12" width="12" y="120" x="50" label="Check Box 2" id="checkBox2">
    <dsvg:setData value="Sample of setting data." elementID="checkBoxLabel2" id="dsvgUniqueID_9"/>
    </dsvg:checkBox>
    <text y="130" x="150" fill="green" id="checkBoxLabel2">label</text>
    </svg&g t;

  44. Check out xpserver, a generalized dSVG by jonsmirl · · Score: 2, Interesting

    http://xpserver.mozdev.org/ xpserver is complicated and not finished, although there is a group in India actively working on it.

    From the web site: mod_PX7 then uses XPCOM to load and run the components. The components can be chained using SAX-like events. For example a database component can do a query. The output from the db component is expected to be in XML. This XML can be sent to the browser or fed into another component. For example, an XSLT style sheet. The output from the stylesheet can then go to the browser or be fed into yet another component such as FOP for PDF generation or xmlch to generate a 3D chart using GDChart.

    You can think of this as starting with an XML file. The XML file is then transformed by various processes into other intermediate XML files. The final transform may be to SVG, XML, PDF, JPEG, etc. In reality the intermediate files don't exist and the stages are chained together via SAX events.

    Transformation stages can be written in XSLT, C or Javascript. Some of the XSLT/Javascript transformation stages were writen to detect browser capabilities, if the browser is capable the stage runs in the browser instead of the server.

    If you think about this to the Nth degree, XHTML can be represented via a giant XSLT transform with SVG as output. It would be neat if the W3C spec'ed CSS as transforms on SVG. This would take a lot of the ambiguity out of it.

  45. Markup Example - button and setTransform by Gord+Bowman · · Score: 1

    Dunno why that semicolon is appearing before the button element...

    <svg xmlns:dsvg="http://www.corel.com/schemas/2002/dSVG 11" xmlns:xlink="http://www.w3.org/1999/xlink" height="410px" width="744px" onload="init(evt)" viewBox="0 0 744 410">
    <script type="text/ecmascript" xlink:href="dsvg11/dSVG.js"/>
    <script type="text/ecmascript" xlink:href="dsvg11/baseUI.js"/>
    <script type="text/ecmascript" xlink:href="dsvg11/constraint.js"/>
    <script type="text/ecmascript" xlink:href="dsvg11/button.js"/>
    <script type="text/ecmascript" xlink:href="dsvg11/setTransform.js"/>

    <dsvg:button xlink:href="dsvg11/skinButton_Windows.svg#skinButt on" autoScale="true" disabled="false" selected="false" toggle="false" height="18" width="100" y="100" x="50" label="setTransform" id="dsvgUniqueID_0">
    <dsvg:setTransform cy="175" cx="300" rotate="30" vAlign="middle" hAlign="middle" absolute="false" elementID="shape1" id="dsvgUniqueID_1"/>
    </dsvg:button>
    <rect height="50" width="100" y="150" x="250" stroke-width="5" stroke="darkblue" fill="#5f86B1" id="shape1"/>
    </svg>

  46. Integration! Integration! by fm6 · · Score: 3, Interesting
    I agree. SVG lovers place too much emphasis on interactivity. Maybe someday SVG will challenge JavaScript, but right now that's less important than the fact that graphic support in current web browsers is screwed. Right now, most web graphics uses some kind bitmap. There's either lossless or lossy compression, but there's still too many bits, even if you have a fast connection. Nor do web sites like paying for the extra bandwith. SVG deals with this problem very neatly.

    (No, I didn't forget PNG. It has some technical and ideological advantages, but browser support is still, well, incomplete.)

    So what's wrong with SVG plugins? They don't exploit the full power of SVG. It's not just a graphics format, it's an XML application. In other words, it's a markup language, just like HTML. A good XML-aware browser (something both IE and Mozilla pretend to be) shouldn't isolate SVG from the rest of the document.

    Consider the gif-filled Slashdot page you're looking at right now. They have gotten rid of a lot of bitmaps (though the left hand clickbar looks slightly less cool as a result). But they still use some weird little bitmaps, plus a lot of weird tables and font kludges that are hard to maintain and tend to be browser dependent.

    There's a simple fix: put SVG support in the browser (it is a W3C invention after all) and allow indiscriminate embedding of XHTML and SVG in each other. (Not to mention any other XML applications the browser happens to support.) The Mozilla people know this, but still consider SVG support experimental and non-standard. This has been the status quo for quite some time, and given AOL's abandonment of Gecko, is not likely to change.

    Maybe if Mozilla had concentrated on basic technological improvements like this and less on eye-candy and silly features... well, AOL, would probably still have screwed them over. But I might feel bad about it.

    KHTML looks to be the new leader in open-source web browsers. And their does seem to be a lot of interest in using the engine to render SVG. Alas, the KDE people still think of SVG as something you embed in something else.

    1. Re:Integration! Integration! by Tet · · Score: 1
      (No, I didn't forget PNG. It has some technical and ideological advantages, but browser support is still, well, incomplete.

      Browser support is complete enough that there's no reason to use GIFs on the web today for anything other than animated images. All static images that were previously GIF can be switched to PNG today and still have effectively full browser support, and in the vast majority of cases, gain some advantages in terms of size. Browser support is lacking in terms of taking advantage of PNG's alpha channel, but GIF didn't have that anyway, so you wouldn't lose anything by switching to PNG.

      --
      "The invisible and the non-existent look very much alike." -- Delos B. McKown
  47. Not an image format by kahei · · Score: 1

    It can be scripted and can contain scripts and fire events, it forms part of the page's object model, it's *not* like implementing 'just another image format'.

    Yeesh.

    --
    Whence? Hence. Whither? Thither.
    1. Re:Not an image format by Anonymous Coward · · Score: 0

      Yeah, ever heard of DOM (http://www.w3.org/DOM/)?

      DOM is underneath SVG -- its one major reason why SVG is so powerful. There is no such thing as DOM in PNG, JPEG, GIF, et al.

      If only people would take the time to read the SVG specs!

  48. How is this better than regular SVG scripting? by kahei · · Score: 2, Insightful


    In terms of constructs like 'if' and 'elst', I'm not convinced that wrapping the SVG object model in a layer of xml tags will do any more good than wrapping stuff in a layer of xml tags usually does.

    However, it's good to see a widget set being produced for SVG. If a powerful, standard widget set evolves that'll be immeasurably useful in promoting SVG and taking advantage of SVGs natural strengths.

    --
    Whence? Hence. Whither? Thither.
  49. Too complex I think by mogens · · Score: 1

    I don't think this simplifies UI coding enough for people to consider switching. I may be confounded by the verbosity of the spec though.

    For example: is it really necessary to specify the skin on every element? All those XLINKs should default to sensible values unless I want the controls all to be purple for some reason, in which case I can understand the need to be verbose.

    CSS is a great tool for tweaking the look of something. Could you not leverage that? stateHover and the like are re-inventing stuff that CSS already does.

    I like the way list and menu elements are defined, although it may be overkill for most uses (having just an ID for each element should be enough).

    My gut feeling is that this is not simple enough. The heuristic is that a new tech has to offer roughly a magnitude in improvement for it to take off. I don't see this as being 10x easier than javascript. Maybe my eyes are clouded. Try asking a novice what he thinks.

    Who is going to use this? People who develop complex apps are going to deal with programming anyway, so they won't use this over XForms or HTML forms or Java applets. People who are throwing together web sites will use HTML forms and canned scripts in Frontpage or DreamWeaver.

    I'm not sure this a middle ground between HTML forms and DHTML that's worth taking.

    1. Re:Too complex I think by Gord+Bowman · · Score: 1

      Thanks for the feedback. If UI markup were part of a standard and thus natively implemented, then I think skins should be optional, and the viewer decides how to display the widgets, so that there's less data to transfer. Since we implemented with script, all we could do for now is supply default skins. CSS is indeed powerful, but it requires structure to act upon, so the SVG markup that defines the appearance must be provided somewhere. These UI controls could be used instead of XForms, when you don't want to have to pretend you have a form (faking instanceData) when you really don't. But it could also be used in conjunction with XForms. At least, that's the idea. XForms is great for data collection, validation and submission, but if all I want is a button that causes some attributes or cdata to change, I should simply be able to associate a simple behaviour element to a simple UI element and that's it.

      Who would use it? People that want to create "data-driven" web apps, be they developers or designers. HTML is not much of an option. XHTML would be better, but neither has enough UI controls. Writing your own code to create robust, flexible, stable UI controls that interact properly together takes a long time. People shouldn't have to do that. UI controls and behaviours via markup allows for rapid application development.

      But maybe it's all not simple enough, as you say. I'll keep that in mind as we continue to improve this.

  50. ot: SVG is cool by Anonymous Coward · · Score: 0

    ì did not read this spec, but i hope it's as simple and straightforward as svg. I produced some impresive results with SVG within 4 hours.. usallly it takes much longer to get the hang of a standard/format/language.

  51. Example Markup - Ascii porn-2000 version. by Anonymous Coward · · Score: 0

    Neat! For Gord's next trick. He's going to do a SVG picture of the Goatse.cx man.

  52. Adobe SVG viewer by ergo98 · · Score: 2, Informative

    The Adobe SVG viewer recently, and surprizingly, had a beta of version 6.0 come out. This can be found here. Of course because the Mozilla folks changed the plug-in mechanisms, it still crashes Mozilla, but this is great news from Adobe as many rumors were that the entire SVG team was canned. Obviously that isn't true, and they continue to develop upon it. Corel, as you obviously know if you read even the summary of this article, has a great viewer out as well, along with a variety of tools for working with SVG.

    Of course MSDN Magazine covered SVGs last month. Of course I'm biased given that I wrote that article.

    1. Re:Adobe SVG viewer by sorotokin · · Score: 1

      Note that beta is Windows only, and it does not crash at least in my install of Mozilla.

  53. WTF is the point? by FFFish · · Score: 1

    Why bother? That arsehole who is CEO of Corel is going to sell the whole kit and kaboodle for about 1/100th its actual value to some private outfit in California, who is going to kill the company because Microsoft wants them gone.

    It is a complete piss-off. Corel is just about to hit turn-around point now, has an infuckingcredible product lineup -- Painter, XMetal, Ventura, iGrafx stuff, Graphigo, Draw -- and looks like its ready to really start kicking ass.

    But no. Kill it instead. Even Cowpland could not accomplish what Burney is proposing.

    --

    --
    Don't like it? Respond with words, not karma.
  54. SVG support? by nobodyman · · Score: 1


    Do *any* of the browsers have SVG rendering support by default? Mozilla, IE, and Firebird don't. The adobe plug-in is free, but it'd be nice if it was ready from the get-go.

    The *idea* of SVG is great, but I don't want to invest alot of time learning a spec for something that no one will use.

  55. Best thing that happened to SVG in a while by Cycnus · · Score: 2, Insightful

    I for one love the idea of being able to develop SVG applications.

    While it's true that SVG currently need a plug-in, that its installation base is quite small compared to Flash (but most people installing Adobe Acrobat install the SVG plug-in without even noticing), the SVG specification is a W3 Standard, and it's easier to integrate with other Open Source tools on the server side.

    I doubt that dSVG will initially appeal to a large public who won't see the point of it over Flash for multimedia applications, but it certain should appeal to people writing applications for the enterprise where it's easier to control what is installed on the users' machines.

    dSVG could be a great cross-platform tool (while the GUI software that build applications runs only under Windows for now, SVG runs on any platform) and could actually be helpful in pushing companies to use SVG as a standard for web applications rather than rely on proprietary formats that are not easy to integrate with Open Source development tools or that will always be a couple of step behind the commercial implementations.

    It must also be recognised that while the technology to build really powerful web application is there in IE, Mozilla, Opera and al, there are very few really interactive applications using those technologies, simply because there is not enough compatibility between the various standard implementations, and to work around those is too costly and difficult to manage well.
    We end up with web sites that use only the lowest common denominator set of technology, with is not enough to build really powerful applicative environments. So in the end, all those powerful technologies are great showcases, but get barely used in the real world.

    While Flash is not going away any time soon (it is likely that it will always remain big in multimedia environments), SVG has more potential for building rich, natural, intuitive and powerful GUIs that easily integrate with existing and well established server technologies, Open Source or not.

    I always liked Corel and their tools. I've been a fan of CorelDraw since version 2, and I really like that they are the first one who understand the role that SVG will play in application building.
    Adobe is surely the major pusher of the technology, but they haven't yet caught up on that idea that SVG can go way beyond chart applications and pretty graphics.

    What was missing was a GUI toolkit, and dSVG is looking good to fill that role, so instead of whining that the tools don't yet work on Linux or that the ULEA is 3km long, let's focus a bit on the question at hand: have a look at the specification and help if we can.
    I know I will try because I need these tools, and I think our community is about supporting and encouraging that kind of attitude from commercial companies.

  56. kevlindev by AnEmbodiedMind · · Score: 2, Interesting
    This is similar to KevLinDev's SVG GUI code.

    While the Corel guy is using an XML GUI language, this is the Scripting approach that the he has chosen not to use. With the code on the KevLinDev site you can create various SVG widgets, with a call to a javascript function.

    I think I'd prefer to do it this way, rather then use XML if I was doing it by hand, as it is closer to normal GUI API's then some verbose XML language. I guess the XML approach would probably be great for the back-end standard for various IDE's

    The most interesting thing about the KevLinDev stuff is how some of these javascript calls allow you to provide what the guy calls pSVG, (parametric SVG). pSVG is really just a hack to try and address some of the deficiencies of SVG - hopefully some of these ideas get into the official SVG spec at some stage so you don't have to hack around it like this.

  57. dSVG vs. RCC vs. Live Templates by schepers · · Score: 1

    First off, let me say that I have toyed around with the Corel SmartGraphics Studio, and I think that it's a very good first pass at simplifying the process of creating SVG for a lot of users. As a big fan of SVG, I appreciate all the effort that Corel has put forth.

    That being said, I think that the Open Source community should know that dSVG is only one of three UI-defining proposals that the SVG Working Group is considering for SVG 1.2. One of the other two, currently known as RCC, proposes the ability to create a kind of template with a separation of style and functionality, but defined in the document rather than being built in the plug-in. Ultimately, I think that this is a better way to go, since it is far more adaptable. It uses scripting and an XSLT-like syntax to transform semantic content into graphical elements (like form controls, scrollbars, etc.). The last proposal, Live Templates, seems like a generalized case of RCC, and I suspect they could be married together.

    Adobe has released a tech preview of ASV6, the next version of their plugin (Windows only for now). It implements an early version of RCC (as well as some other cool features like text wrapping, audio, video, and external resources), and looks very promising. At SVG-Open, I saw an RCC forms widget toolkit for SVG, which worked well and weighed in at all of 6KB. I also saw ASV6pr working on a Linux box, and with the latest build of Mozilla. It's still buggy, but it's more conformant to the Spec than ever.

    May the best spec proposal win!

    In other news, the excellent Batik (an OSS SVG toolkit) also released a stable 1.5 last week.

    Basically, SVG is getting really exciting.

    1. Re:dSVG vs. RCC vs. Live Templates by Gord+Bowman · · Score: 1

      I don't think that dSVG really competes that much with RCC and Live Templates. Those two proposals are about allowing the author to better handle arbitrary XML via script or XSLT--they are both quite elegant. dSVG, on the other hand, is a proposal to standardize the sort of markup that a lot of people actually need right now, to prevent everyone from having to reinvent the wheel and implement things themselves. So while UI controls could be implemented with RCC and Live Templates, we would prefer that UI markup be a standard as soon as possible, so that they can be natively implemented ASAP. Plus having a dozen different markups and implementations for UI controls doesn't make the SVG standard look good (IMHO). So long as the UI controls can be completely customizable, there's no need for numerous variations on the markup. Standards are good.

      And dSVG's behavior elements are an attempt to get away from script--so that authoring tools can more easily author interactive SVG, as well as edit the interactive SVG produced by other authoring tools. Plus, markup could be implemented natively on small devices, so that they might not need a script engine at all--which is very appealing. The fact that something CAN be done with script, should never be an excuse not to invent a standard way of doing it with markup.

    2. Re:dSVG vs. RCC vs. Live Templates by EricKringle · · Score: 1

      FYI, there are already some good RCC examples here:
      http://www.learnsvg.com/asv6/rcc

      In the example of the bar chart, you can see that, building RCC with ECMAScript, we can
      - use RCC objects in prototype
      - add + delete objects from prototype function of instance

      PS This example is "work in progress ..."

    3. Re:dSVG vs. RCC vs. Live Templates by Anonymous Coward · · Score: 0

      We can't forget the importance of interoperability between (a) vendors who produce tools and (b) between viewers OR more importantly viewer versions (ie. ASV changing between 2-6 should never result in breaking an enterprise app.). Implementing proprietary tags, scripts, and the like almost ensure that this won't work.

      The last thing companies need is 100 different software vendors authoring 100 different scripts for basic controls and behaviours that 98% of enterprises need. I have even been quoted from a recent customer that the reason they adopted SVG over Flash was that they want to know that they can switch tools if someone comes along with a better (or cheaper) tool.

      So, we can all agree that RCC affords some great possibilities for software vendors to make products (i.e. Adobe putting SVG inside PDF for a widely distributed, consumer-level photo management product). More importantly, we can also agree that RCC offers some great potential to make SVG the core language for a 'super XML browser' that replaces the desktop as we know it. BUT we must be careful that in doing so we aren't creating a monster that allows individual vendors to produce an SVG file that contains no SVG - and in fact no W3C standards at all! More importantly we need to recognize that the Super XML browser competes with a vendor who's R&D budget exceeds the revenues of all the companies who play in the SVG space (you know who).

      The super XML browser is not (yet!) the best thing for enterprises who (as is rightly pointed out by one of the posts) use basic HTML because they can be at least sure that it will *work*. This brings me to another quote from another customer who specifically said, "HTML is good enough and delivers for us, Java has failed repeatedly and Flash is not an enterprise technology"

      While I agree with the elegance of RCC it is really designed for software vendors to make software and not enterprises to use SVG in solutions. When you think that WalMart alone is probably larger than the entire software industry (excluding consulanting) you need to realize that standards support the enterprises who need them. It is a good thing that the working group is made up of a significant number of non-software vendors who can help ensure that the specification remains open and availble for their needs. Look at how specific the mobile profiles are because they know this!

      And finally, as to the Corel EULA for dSVG. Indeed I apologize for its length. Given that we have proposed it to the working group; and when portions of it are included in the recommendation then we will remove the EULA and make the test suites available to everyone.

      Because we planned to do it this way we didn't want to hire (and pay!) a team of lawyers to create a new simple EULA that would stop people from suing us if the code doesn't work the way they want it when we are showing it to them for free! So we have simply used our existing product EULA. The whole point is that we agree that this should not be custom (like it is) and that is should be part of the spec.

      I don't want to get into a big Corel-Adobe battle here since I think that Adobe has done fantastic work with SVG and I am very happy that we can take advantage of some of this great work by authoring applications that can be viewed on over 80% of desktops today! Moreover, it apears that Adobe's interest in SVG is different than Corel's because they are going after a much larger market in getting SVG to the masses as part of a solution within pdf. This means that our agendas are not at odds with each other and we can both provide very meaningful contributions to the W3C without worrying about silly things like competitive position.

      I will note, however, Corel's EULA approach is more open and available than putting the custom stuff in the viewer using proprietary tags that only they can author, let people use them, publish them, propose them to the working group, and then change them when the working group implements them differently

    4. Re:dSVG vs. RCC vs. Live Templates by rjwilliam · · Score: 1

      whoops, I just realized that I didn't login. Rather than being anonymous I am at:

      rob.williamson@corel.com

  58. A question to Gord Bowman and Corel by Cycnus · · Score: 1

    ...that could be of interest to everyone else too.

    While its a good thing that the specification for dSVG be proposed as a candidate for a standard, it currently clearly isn't one and the only existing implementation relies on DTD and EcmaScripts that have been developed by Corel and are own and copyrighted by Corel.

    It would be many moons before dSVG ever becomes a standard, if ever (I hope it will be though).
    In the meantime, anyone wanting to use dSVG would either have to use Corel's scripts or rewrite the whole language implementation.
    The latter clearly being a potential trouble for a burgeoning new language (everyone could have her own variation, especially as dSVG is far from being complete and stable in features), if Corel is serious about getting people to use dSVG (which I think they are), then they should release their implementation under an Open Source license.
    It doesn't have to be the GLP which is too strict and may probably slow the adoption of dSVG in corporate environments, but something like the Artistic License would certainly ensure that people are free to use Corel's fine work without fear of getting in trouble.

    Another question regarding the performance of dSVG: since it is yet another abstraction layer over what is already a fairly thick pile of interpreters, parsers and renderers, it's not fast.
    By that I mean that long lists and complex interfaces take quite a bit of time to update. This makes me wonder about building complex applications, or even simple ones that display a lot of data in lists for instance
    Do Corel have any plan to incorporate dSVG directly inside their plug-in?
    That would certainly save time (there are a lot of ecmascript files to be loaded and interpreted), and should make the interface more responsive.
    Plus it would give Corel's plug-in and edge over the Adobe's, in the corporate world at least.

    I think the choices that Corel do now are going to affect the adoption of dSVG very significantly, and I'm not talking about just commenting on the Specification itself, as good and promising a start as it may be.

    Cycnus
    1. Re:A question to Gord Bowman and Corel by Gord+Bowman · · Score: 1

      An open source license is an idea that I can't speak to (I have no authority to make those sorts of decisions), but your comments are well noted.

      I CAN speak about performance and native implementation though. Performance would indeed be increased if we natively implemented dSVG, but we chose to instead abide by the standards and ensure that dSVG worked on other SVG viewers. As I said earlier in the week on the svg-developers newsgroup on Yahoo, Corel's mantra is standards, standards, standards. Interoperability, interoperability, interoperability. The Corel SVG Viewer abides by the SVG spec exactly. There are no extensions. The only non-standard thing we implemented are some of the SVGWindow object methods (like getURL(), parseXML(), alert(), etc) which are really needed, already in other SVG viewers and will be in the SVG 1.2 spec anyway.

      Natively implementing dSVG would likely be praised by some, but greatly criticized by others. That said, I am certain that the performance of dSVG can be improved in its script implementation by some re-architecting of some key concepts. You will definitely see big improvements in the future.

  59. Cross-browser interactive applications by booch · · Score: 2, Informative
    It must also be recognised that while the technology to build really powerful web application is there in IE, Mozilla, Opera and al, there are very few really interactive applications using those technologies, simply because there is not enough compatibility between the various standard implementations, and to work around those is too costly and difficult to manage well.

    Check out TIBET from Technical Pursuit. It's a full browser application environment, built using JavaScript. They decided on JavaScript, because it's the only language guaranteed to be on the client side. When they were building out the libraries, they found that it was more powerful than they expected. They've actually extended the language, using only the language itself.

    Applications have to pull down a large (1 MB plus) set of JavaScript libraries. So this isn't for web applets, or even server-based web applications. (Although it's easy for the code to communicate with the server.) It's meant for full-blown applications that will run completely in the browser.

    They also include some application development tools. (I haven't taken a look at those yet.) The whole thing is available under an Open Source license or under a proprietary license if you prefer.

    --
    Software sucks. Open Source sucks less.
  60. PNG Issues by fm6 · · Score: 1
    A certain popular browser doesn't handle a lot of transparent PNGs correctly. (Can you guess which one?) Erik Arvidsson has a clever workaround, but I have to question whether kludging ones web pages that way is a good idea.

    Another issue I have with PNG is that some software seems to generate illegal images. I volunteer at Distributed Proofreaders and every once in a while Mozilla chokes on a page image that's an illegal PNG file. The really irritating thing is that Mozilla is actually able to read the image itself, but if it's allowed to download the very end of the file it says, "This is an illegal PNG! I can't let you look at it anymore!" I have to download the page image and read it with a less intolerant image browser. A pain.

    As if that weren't enough, IIS doesn't ship with a metadata entry for PNG. Which, predicably enough, doesn't matter to IE, but screws up more compliant browsers.

    Of course, none of the problems are the fault of the PNG people, who have created some very sexy technology. But until PNG images can be displayed reliably, it makes no sense to insist that everybody should migrate away from GIFs.

    There's also the little detail that the notorious LZW patent has expired. That removes one of the big motivations for creating the PNG standard in the first place. Yeah, GIFs don't have as many cool features, but they're still adequate for most people's needs.

    1. Re:PNG Issues by Tet · · Score: 1
      But until PNG images can be displayed reliably, it makes no sense to insist that everybody should migrate away from GIFs.

      Yes, it does, because PNGs *can* be displayed reliably today. PNGs give techinical advantages over GIF, regardless of the LZW patent. Even IE can display them without problems, providing that alpha is either fully on or fully off. That immediately gives the same amount of functionality as GIF87, with some added benefits as well (smaller file sizes, non-paletted images, progressive rendering, etc.). I wasn't recommending that people start using PNGs with a varied alpha channel yet, precisely because IE is so braindead.

      --
      "The invisible and the non-existent look very much alike." -- Delos B. McKown
    2. Re:PNG Issues by fm6 · · Score: 1

      We seem to have different definitions of "reliable". And a web developer isn't going to buy yours. If you can't promise them that a technology will give the intended result most of the time (and remember, IE accounts for 95% of all web users), to them it isn't "reliable". Maybe you don't think it's fair that GIF counts as more reliable just because it attempts to do less. But "fair" isn't a factor here.

    3. Re:PNG Issues by Tet · · Score: 1
      If you can't promise them that a technology will give the intended result most of the time (and remember, IE accounts for 95% of all web users), to them it isn't "reliable".

      I agree. Completely. And I stick by what I said. If you stick to the same PNG features that GIF provides, PNG is just as reliable as GIF, plus giving you additional benefits. If you want to take advantage of PNG's full alpha channel, then at the moment you have to accept a fair bit of "unreliability". Which is why I'm not advocating it. PNGs without full alpha support work reliably in every version of IE from 4 up. To me, that counts as giving pretty good coverage.

      --
      "The invisible and the non-existent look very much alike." -- Delos B. McKown
    4. Re:PNG Issues by fm6 · · Score: 1
      If you stick to the same PNG features that GIF provides, PNG is just as reliable as GIF, plus giving you additional benefits.
      What are the benefits that make it worth switching? Especially when switching means, "Don't use this feature or that feature".
    5. Re:PNG Issues by Tet · · Score: 1
      What are the benefits that make it worth switching?

      Smaller file size alone is enough. But in addition, there's far superior interlacing, and the ability to have non paletted images.

      --
      "The invisible and the non-existent look very much alike." -- Delos B. McKown
  61. dsvg tech for music notation chat style interface? by ratfynk · · Score: 1

    Could be that svg might reap benefits that could really be great for music notation given the right approach. The Recordare musicxml extentions could be used to quickly format music notation through a browser interface using rapid update through svg. Given that then the browser functions could be used along with other parts of the existing interface to speed up the notation gui the possibilities are intriguing. Not that it would replace true music notation software but it could become a very quick way for teachers to send music examples, composers send simple ideas to musicians , and more importantly generaly give those who are musically literate a chance to communicate on the net. There have been several java based designed for this purpose (one out ot the University of Toronto) called JscoreMl. It was not very good because the xml tech at the time was not very advanced. There is no reason why in future advanced xml interfaces won't be able to notate, and send music, right within a browser.

    --
    OH THE SHAME I fell off the wagon and use sigs again!
  62. in this case 'lack of speed' kills. by LifesABeach · · Score: 0


    the creation of a 3d-object, or shopping mall is on many developers minds. i'm wondering if there is a bench mark for this type of requirement?

  63. SVG needs IDE by jasenj1 · · Score: 1
    whereas Flash already has a robust graphical "IDE" which is understood by many thousands of web developers

    Bingo. This, IMHO, is what SVG desperately needs. A good IDE to develop SVG apps. Adobe and Corel provide SVG export for static images, but there's nothing like Dreamweaver or MX Studio for SVG - from a big vendor. (There is XStudio. But they're a small vendor in Europe. Maybe one of the bigger boys will buy them up?)

    If Corel came out with a nice IDE using dSVG, nobody would care whether it was a standard or not. They'd just use the IDE to create cool interactive content.

    - Jasen.