Thread: Why hasn't the markup language model been popular for visuals outside web design ?

  1. #1
    Ethernal Noob
    Join Date
    Nov 2001
    Posts
    1,901

    Why hasn't the markup language model been popular for visuals outside web design ?

    Right now I'm starting to get into WPF, and after working for quite a while at my internship with web design, I find that the markup structure is great for modern applications web or otherwise. I mean most Presentation and GUI framworks are only minimally reliant on the visual aspects and mainly rely on the manipulation of those presentation objects and time is heavily spent in events manipulating them. I find the markup language style much more efficient than what you'd see if you design a site using other GUI frameworks mainly because you can structure the visual aspects much more cleanly and without (on the surface) relying on generation of containers and their children and doing that whole micromanagement just to create a display. I am sure there are cons but with the way most applications are designed for overall usability and clean layouts I don't see that this could be only recently have been utilized for creating applications.

  2. #2
    Registered User
    Join Date
    Jun 2008
    Posts
    266
    I am not really familiar with markup, but I think XML is widely used for that.
    Fried chicken for everybody!
    -Kernel Sanders

  3. #3
    Officially An Architect brewbuck's Avatar
    Join Date
    Mar 2007
    Location
    Portland, OR
    Posts
    7,396
    You haven't seen WPF/XAML?

    It's a question of whether it will take off. It's not that people haven't tried.

    EDIT: Check this out:

    http://en.wikipedia.org/wiki/List_of...rkup_languages
    Last edited by brewbuck; 01-18-2009 at 04:33 PM.
    Code:
    //try
    //{
    	if (a) do { f( b); } while(1);
    	else   do { f(!b); } while(1);
    //}

  4. #4
    Ethernal Noob
    Join Date
    Nov 2001
    Posts
    1,901
    That's quite a bit. I would imagine they all share a common sense of simplicity over their imperical models. I mean when I can I would use a RAD tool, but even then it's a matter of having a good tool that translates the many features of the Framework to the tools. With these markup languages, all you seem to need is a markup specification, and since the framework is essentially reading from the markup, the RAD tools would have a very accurate translation between the markup and the final design.

    I am really interested in it, A friend of mine is doing a project in it for work, and honestly I thought it was fishy that the web has evolved as it is and no one has decided to capitalize on their model. Guess I spoke too late.

  5. #5
    Registered User VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,607
    Adobe Flex uses something like this. I found it rather convoluted and more complicated than just specifying in code the positions of controls and objects.

  6. #6
    Dr Dipshi++ mike_g's Avatar
    Join Date
    Oct 2006
    Location
    On me hyperplane
    Posts
    1,218
    XML is quite commonly used in applications. While its good for online transactions and stuff, I'm not all that big on it for UI layout.

    Glade 3 is an visual GUI editor for Gtk that spits out XML documents defining your layout and controls. While its nice to be able to drag and drop widets it ends up spitting out 1000s of lines of XML (I would hate to have to write that all out by hand) and you lose a lot the flexibility you get by coding the interface yourself. As with XML you basically define your own markup language you end up with every app using a different XML based language, which can also be a pain to deal with.

  7. #7
    Crazy Fool Perspective's Avatar
    Join Date
    Jan 2003
    Location
    Canada
    Posts
    2,640
    I've used glade. It's handy and you can use the same UI spec across different languages which is pretty handy.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Web designer needed! html, css and other design stuff...
    By Akkernight in forum Projects and Job Recruitment
    Replies: 0
    Last Post: 04-11-2009, 09:33 AM
  2. Why C Matters
    By DavidP in forum A Brief History of Cprogramming.com
    Replies: 136
    Last Post: 01-16-2008, 09:09 AM
  3. language design question
    By elad in forum C++ Programming
    Replies: 2
    Last Post: 04-12-2004, 10:14 AM
  4. Web Design advice
    By sean in forum A Brief History of Cprogramming.com
    Replies: 4
    Last Post: 04-01-2003, 04:34 PM
  5. Free Web Page Design Templates
    By Nutshell in forum A Brief History of Cprogramming.com
    Replies: 3
    Last Post: 07-01-2002, 05:59 PM