Slashdot is powered by your submissions, so send in your scoop

 



Forgot your password?
typodupeerror
×
X GUI Software Linux

Afterstep 2.0 Beta Includes XML Graphics System 214

vaevictus writes "Afterstep just released its 2.0 Beta 1, after a long merge from its development branch. One of the most interesting new features is an XML-based graphics system, where any picture for any part of the WM can be a simple chunk of XML, which can do transformations, scaling, gradients and some other nice graphics mods. I've personally used this to cut my 1600x1200 image size from a 2.4mb PNG to a total of about 37kb. This leads to some very compact themes. If you're not familiar, AfterStep is one of the older WMs out there still in active development; all of you WindowMaker fans should check out the WM your WM branched off of, so long ago."
This discussion has been archived. No new comments can be posted.

Afterstep 2.0 Beta Includes XML Graphics System

Comments Filter:
  • by I'm a racist. ( 631537 ) on Wednesday August 13, 2003 @07:25PM (#6690534) Homepage Journal
    I've got a few questions.
    • Does the typical "XML bloat" become an issue?
    • And, is there much gained by using XML over some/any other scheme?
    • Is it very sensitive to errors, like most XML applications? If one XML file/tag gets corrupted, is the whole windowing system fucked until someone goes in on the command-line to fix it?
    • Overall, is it a good thing or a bad thing?
  • SVG? (Score:5, Insightful)

    by SynKKnyS ( 534257 ) on Wednesday August 13, 2003 @07:28PM (#6690544)
    Why don't they use SVG (Scalable Vector Graphics)? It would be neat to use a SVG editor to produce a theme.
  • by gfody ( 514448 ) * on Wednesday August 13, 2003 @07:28PM (#6690548)
    lol, mod this up

    seriously, wtf does XML have to do with a windowing system or any other type of rendering gizmo?
  • by gregfortune ( 313889 ) on Wednesday August 13, 2003 @07:36PM (#6690600)
    No, I assume it's something more vector like...

    <picture width="100" height="100">
    <instruction x="0" y="0">
    <line x="24" y="40"/>
    <etc..... />
    </instruction>
    </picture>
  • by CoughDropAddict ( 40792 ) on Wednesday August 13, 2003 @07:37PM (#6690604) Homepage
    One of the most interesting new features is an XML-based graphics system, where any picture for any part of the WM can be a simple chunk of XML, which can do transformations, scaling, gradients and some other nice graphics mods.

    Oh, you mean like SVG?

    I guess this could be justified if it were significantly lighter-weight than SVG. Otherwise, why not reuse?
  • by Russ Steffen ( 263 ) on Wednesday August 13, 2003 @07:39PM (#6690617) Homepage

    Which raises the question - why didn't they use SVG?

  • Re:Hrm (Score:2, Insightful)

    by venom600 ( 527627 ) on Wednesday August 13, 2003 @08:53PM (#6691073) Homepage Journal

    but i think a lot of the reason GNOME and KDE each have such a huge following is because they're very pleasant to look at

    Not a flame.....but, I completely disagree. I think the reason that KDE and GNOME are so popular has everything to do with the fact that they are the default window managers in the most popular Linux distros (*cough*RedHat*cough*Suse*cough*). Another plus is that they bring that 'Windows'-ish feel, which new Linux converts crave......it gives them something somewhat familiar while investigating a whole new world (read: Linux/*BSD/your-free-unix-like-OS-of-choice)

  • by MattRog ( 527508 ) on Thursday August 14, 2003 @08:42AM (#6694053)
    Do you not see the huge absurdity of BINARY XML? It's an oxymoron!

    XML is 'supposed' to be a nice little data interchange format. It's not a data storage mechanism (because relational DBMSs are far, far superior) yet misguided people like this are trying to use it as one.

    Converting XML to binary? Why go to all the trouble to run it through an XML parser etc. first if you're just going to send a binary file? Use a more efficient file format!
  • by csbruce ( 39509 ) on Thursday August 14, 2003 @09:32AM (#6694415)
    Do you not see the huge absurdity of BINARY XML? It's an oxymoron!

    Lots of people use GZIP encoding with XML data to make it suitable for sending over a network. Surprise, GZIP is a _BINARY_ format! And yet, it interoperates between systems very nicely. The page you are viewing was probably GZIP encoded too on the way to your browser. Most XML parsers will accept an GZIPped XML stream and recover the original content transparently. Binary data can be just as interoperable as text data, and hugely more efficient when done right.

    XML is 'supposed' to be a nice little data interchange format. It's not a data storage mechanism (because relational DBMSs are far, far superior) yet misguided people like this are trying to use it as one.

    Lots of 'misguided' people are using XML encoding for lots of purposes, such as word-processor documents. Do you propose that word-processor documents be stored and interchanged in a relational-database format? That's pretty bizarre.

    Converting XML to binary? Why go to all the trouble to run it through an XML parser etc. first if you're just going to send a binary file? Use a more efficient file format!

    The absurdity with the plethora of binary file formats is that people have kept reinventing the same things over and over again. These are the misguided ones. This situation is what gave rise to XML format in the first place: people were tired of inventing one-off formats that all required custom tools to use or edit or parse or transform or whatever. Imagine the flexibility of XML combined with the efficiency of binary encoding.

So you think that money is the root of all evil. Have you ever asked what is the root of money? -- Ayn Rand

Working...