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"

9 of 184 comments (clear)

  1. Let's wait and see by Anonymous Coward · · Score: -1, Troll

    if we can fuck Aishwarya Rai!!!

  2. frost pist by Anonymous Coward · · Score: -1, Troll

    biznatch

  3. GNAA by Anonymous Coward · · Score: -1, Troll

    The GNAA now has a TOLL-FREE 800 number! Call now to join today! 1-800-759-0700 The GNAA is the only group dedicated to being gay. So call now. 1-800-759-0700 When you call, ask "Why should I believe" We'll do the rest. Have fun!

    1. Re:GNAA by Anonymous Coward · · Score: -1, Troll

      GOD HATES FAGGOTS

  4. GNAA Early Post by Anonymous Coward · · Score: -1, Troll

    Call the GNAA's toll free number to order our video and join our program!

    1-800-759-0700

    GNAA - dedicated fun!

    Join the GNAA today! FREE membership! 1-800-759-0700. GNAA is the best club around!

    Why not? It's quick and easy - only 2 simple steps!
    First, you have to obtain a copy of GAY NIGGERS FROM OUTER SPACE THE MOVIE [imdb.com] and watch it.
    Second, you need to join the official GNAA irc channel #GNAA on irc.slashnet.org, and apply for membership.
    Talk to one of the ops or any of the other members in the channel to sign up today!

    If you have mod points and would like to support GNAA, please moderate this post up.

  5. Join the GNAA by Anonymous Coward · · Score: -1, Troll

    Did you know that the GNAA now has its own TOLL FREE number?

    1-800-759-0700 - call and ask "Why should I believe." That secret code phrase will tell them that you saw this post on slashdot and really want to join. You can order our GNFS video, which explains more about GNAA.

    You can also join the official GNAA irc channel #GNAA on irc.slashnet.org, and apply for membership.
    Talk to one of the ops or any of the other members in the channel to sign up today! Call 1-800-759-0700 today!

    The GNAA believes in what we do! Join today!

    If you have mod points and would like to support GNAA, please moderate this post up.

    This post brought to you by a proud member of GNAA

    G**_NEGRO__ASSOCIATION_OF_AMERICA_

  6. 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).

  7. 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...
  8. The GNAA now has a 1-800 number! Call us!! by Anonymous Coward · · Score: -1, Troll

    The Gay Nigger Association of America (GNAA) is the group that represents the world's Gay Nigger population as well as those non gay, non nigger patrons that support it. Its mission is to foster a gay and free-loving climate that supports and promotes our members' creative and financial vitality. Its members are the gay niggers that comprise the most vibrant national gay nigger conglomerate in the world. GNAA members create, manufacture and/or distribute approximately 90% of all legitimate pro-homosexual propaganda and blue, rubber dicks produced and sold in the United States.

    We strongly urge you to join the GNAA and support our cause. Gay Niggers everywhere need your help!

    BE NIGGER!

    BE GAY!

    JOIN THE GNAA!!

    Join #GNAA on the EFNet IRC Network today! and call us at 1-800-759-0700

    ________________________________________________
    | ______________________________________._a,____ |
    | _______a_._______a_______aj#0s_____aWY!400.___ |
    | __ad#7!!*P____a.d#0a____#!-_#0i___.#!__W#0#___ |
    | _j#'_.00#,___4#dP_"#,__j#,__0#Wi___*00P!_"#L,_ |
    | _"#ga#9!01___"#01__40,_"4Lj#!_4#g_________"01_ |
    | ________"#,___*@`__-N#____`___-!^_____________ |
    | _________#1__________?________________________ |
    | _________j1___________________________________ |
    | ____a,___jk_ GAY_NIGGER_ASSOCIATION_OF_AMERICA_|
    | ____!4yaa#l___________________________________ |
    | ______-"!^____________________________________ |
    ` _______________________________________________'