Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Poll: Cross Platform GUI

Poll: Cross Platform GUI

Scheduled Pinned Locked Moved The Lounge
csharp
41 Posts 15 Posters 2 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Lost User

    I've recently had to make a similar decision on this myself. I am working on v2 of an app of mine which up to now has included a dedicated admin program written in MFC. The main app itself is an NT service. As many people may need this admin app installed, I have decided to go with a "browser client" solution. I have written a mini-web server that is installed (as a service) on the NT server where the main program resides, and all administration is done via the browser. This means that the customers need no dedicated admin software, and could potentially administer the main app from a non-MS platform. My only regret is that I didn't do this years ago! I design my admin pages as HTML forms (using the excellent Nvu HTML editor - Mozilla Composer with wings) and embed these pages as resources in the admin service. The HTTP part was inredibly straightforward to write, and thanks to use of CSS, changing the "look and feel" of the pages is a breeze. OK, you don't get any flashy controls with HTML (no tree view, list view, etc.) but I am only losing a little bit of functionality by doing without them. I may even investigate the hot new "AJAX" technology that Google and others are using to make the admin experience more snappy.

    P Offline
    P Offline
    Priyank Bolia
    wrote on last edited by
    #20

    Ya, surely but that is client server scenario, html/xml based solutions is the best option for that. But the question is for standalone app that integrates or uses OS funtionality, etc. http://www.priyank.in/

    1 Reply Last reply
    0
    • N Nish Nishant

      Uhm, how many people here think cross-platform GUI programming is actually a good idea?

      M Offline
      M Offline
      Michael A Barnhart
      wrote on last edited by
      #21

      I do not. Every effort I have seen has not been productive. It is far better to really seperate the business code from the presentation and develope the presentation for the enviroment. I do not mind getting old. It beats all the other options that I can think of.

      P J 2 Replies Last reply
      0
      • M Michael A Barnhart

        I do not. Every effort I have seen has not been productive. It is far better to really seperate the business code from the presentation and develope the presentation for the enviroment. I do not mind getting old. It beats all the other options that I can think of.

        P Offline
        P Offline
        Priyank Bolia
        wrote on last edited by
        #22

        Michael A. Barnhart wrote: develope the presentation for the enviroment. I think wxWidget and mono does the same thing, and it helps you to write code for each platform. http://www.priyank.in/

        1 Reply Last reply
        0
        • B Brian Delahunty

          VCF is another one that should be on your list: http://vcf-online.org/[^] Regards, Brian Dela :-) Blog^ Co-author of The Outlook Answer Book... Go on, pre-order^ it today! Regular Expression Library builder^

          P Offline
          P Offline
          Priyank Bolia
          wrote on last edited by
          #23

          Downloaded the .chm documentation, but even the Tom archer message on top of the site can't make me feel it as strong competitor to wxWidgets or mono, or XUL. http://www.priyank.in/

          1 Reply Last reply
          0
          • B Brian Delahunty

            VCF is another one that should be on your list: http://vcf-online.org/[^] Regards, Brian Dela :-) Blog^ Co-author of The Outlook Answer Book... Go on, pre-order^ it today! Regular Expression Library builder^

            N Offline
            N Offline
            Nish Nishant
            wrote on last edited by
            #24

            Brian Delahunty wrote: _VCF is another one that should be on your list: http://vcf-online.org/\[^\]_ Yep, I agree - Jim Crafton is one really astonishing fellow, isn't he?

            1 Reply Last reply
            0
            • P Priyank Bolia

              Which is the best programming language, open source, not Qt, etc. 1.)Mono.net 2.)wxWindows 3.)Mozilla XUL 4.)Other http://www.priyank.in/

              E Offline
              E Offline
              ed welch
              wrote on last edited by
              #25

              I vote for Qt. It is open source. Version 4 was reciently launched and now free version is available for Windows.

              F 1 Reply Last reply
              0
              • N Nish Nishant

                Uhm, how many people here think cross-platform GUI programming is actually a good idea?

                E Offline
                E Offline
                ed welch
                wrote on last edited by
                #26

                No one claims that cross-platform GUIs work perfectly, but it's better than the alternatives: a) Just ignore your Macintosh and Linux markets and let some other company get the profits. b) Write completely seperate applications and fork your code base.

                N N 2 Replies Last reply
                0
                • B Brian Delahunty

                  VCF is another one that should be on your list: http://vcf-online.org/[^] Regards, Brian Dela :-) Blog^ Co-author of The Outlook Answer Book... Go on, pre-order^ it today! Regular Expression Library builder^

                  N Offline
                  N Offline
                  Nemanja Trifunovic
                  wrote on last edited by
                  #27

                  I second that. It is very nicely designed (maybe a little too dynamic for my taste, but still way better than any other GUI library I have looked so far), and released under BSD license, which is much more relaxed than LGPL and GPL. The problem is: I just can't find a chance to get my hands dirty with VCF. I decided to use it for the sample project for my next CP article, but given the speed my article is progressing it may happen in a couple of years.


                  My programming blahblahblah blog. If you ever find anything useful here, please let me know to remove it.

                  1 Reply Last reply
                  0
                  • E ed welch

                    No one claims that cross-platform GUIs work perfectly, but it's better than the alternatives: a) Just ignore your Macintosh and Linux markets and let some other company get the profits. b) Write completely seperate applications and fork your code base.

                    N Offline
                    N Offline
                    Nish Nishant
                    wrote on last edited by
                    #28

                    ed welch wrote: a) Just ignore your Macintosh and Linux markets and let some other company get the profits. I didn't suggest that. ed welch wrote: b) Write completely seperate applications and fork your code base. You don't need to write completely separate apps. Just separate the UI layer from the rest of the app. So, you can have one UI layer for Win32, one for the MAC etc. Keep the business logic in portable code.

                    E 1 Reply Last reply
                    0
                    • N Nish Nishant

                      ed welch wrote: a) Just ignore your Macintosh and Linux markets and let some other company get the profits. I didn't suggest that. ed welch wrote: b) Write completely seperate applications and fork your code base. You don't need to write completely separate apps. Just separate the UI layer from the rest of the app. So, you can have one UI layer for Win32, one for the MAC etc. Keep the business logic in portable code.

                      E Offline
                      E Offline
                      ed welch
                      wrote on last edited by
                      #29

                      You could do that, but then you have to use the GUI toolkit from both platforms, instead of just one cross platform one. Even though using a cross platform toolkit still means you have to do write some platform specific code, it is a *lot* less work than recoding the entire GUI.

                      1 Reply Last reply
                      0
                      • E ed welch

                        No one claims that cross-platform GUIs work perfectly, but it's better than the alternatives: a) Just ignore your Macintosh and Linux markets and let some other company get the profits. b) Write completely seperate applications and fork your code base.

                        N Offline
                        N Offline
                        Nemanja Trifunovic
                        wrote on last edited by
                        #30

                        ed welch wrote: Just ignore your Macintosh and Linux markets and let some other company get the profits. Mac maybe, but I am not aware of any profitable GUI application for Linux.


                        My programming blahblahblah blog. If you ever find anything useful here, please let me know to remove it.

                        1 Reply Last reply
                        0
                        • M Michael A Barnhart

                          I do not. Every effort I have seen has not been productive. It is far better to really seperate the business code from the presentation and develope the presentation for the enviroment. I do not mind getting old. It beats all the other options that I can think of.

                          J Offline
                          J Offline
                          Jeremy Falcon
                          wrote on last edited by
                          #31

                          wxWidgets can use what's called XRC to seperate the GUI from the code, which is very much like XAML. Jeremy Falcon

                          1 Reply Last reply
                          0
                          • E ed welch

                            I vote for Qt. It is open source. Version 4 was reciently launched and now free version is available for Windows.

                            F Offline
                            F Offline
                            fakefur
                            wrote on last edited by
                            #32

                            The trouble with Qt (which I think is a fine lib too) is that commercial development isn't free. :~

                            E 1 Reply Last reply
                            0
                            • F fakefur

                              The trouble with Qt (which I think is a fine lib too) is that commercial development isn't free. :~

                              E Offline
                              E Offline
                              ed welch
                              wrote on last edited by
                              #33

                              Agreed. It wouldn't be too bad if they charged a reasonable price.

                              J 1 Reply Last reply
                              0
                              • N Nish Nishant

                                Uhm, how many people here think cross-platform GUI programming is actually a good idea?

                                J Offline
                                J Offline
                                Jorgen Sigvardsson
                                wrote on last edited by
                                #34

                                Cross-platform GUI programming isn't all that bad. I think Qt does a good job, unlike Java. The only objections I have is when for example an app looks like a windows app, when it's running on Mac or Unix. As long as the platform's look'n'feel is preserved (without horrible performance penalties!), then there's no problem really...? Good music: In my rosary[^]

                                1 Reply Last reply
                                0
                                • R Rob Manderson

                                  Not me! I've always thought that the entire cross-platform argument was a crock mainly because it's impossible. There's always something that platform A can do that platform B can't. Whereupon the code base compiled for platform B grows a conditionally compiled excressence to fake something. And then the code base for platform A grows a similar excressence to compensate for the things IT can't do... And that way madness lies... Rob Manderson I'm working on a version for Visual Lisp++ My blog http://blogs.wdevs.com/ultramaroon/[^]

                                  J Offline
                                  J Offline
                                  Jorgen Sigvardsson
                                  wrote on last edited by
                                  #35

                                  If system A supports the WIMP-idiom and system B as well, then it is quite possible (which I believe Qt demonstrates quite well). However, when you start to abstract away the operating system (of which the GUI is only a small part), then you end up with a very bad lowest common denominator. Good music: In my rosary[^]

                                  1 Reply Last reply
                                  0
                                  • E ed welch

                                    Agreed. It wouldn't be too bad if they charged a reasonable price.

                                    J Offline
                                    J Offline
                                    Jorgen Sigvardsson
                                    wrote on last edited by
                                    #36

                                    They have to make money somehow. And it's not all that much money, if you compare the cost of the needed effort to write your own GUI abstractions. Good music: In my rosary[^]

                                    E 1 Reply Last reply
                                    0
                                    • J Jorgen Sigvardsson

                                      They have to make money somehow. And it's not all that much money, if you compare the cost of the needed effort to write your own GUI abstractions. Good music: In my rosary[^]

                                      E Offline
                                      E Offline
                                      ed welch
                                      wrote on last edited by
                                      #37

                                      It's around $4000 per developer. That's makes it unfeasable for any small scale projects that wouldn't be expected to generate a lot of revenue.

                                      J 1 Reply Last reply
                                      0
                                      • E ed welch

                                        It's around $4000 per developer. That's makes it unfeasable for any small scale projects that wouldn't be expected to generate a lot of revenue.

                                        J Offline
                                        J Offline
                                        Jorgen Sigvardsson
                                        wrote on last edited by
                                        #38

                                        But then again.. what small scale projects are cross-platform? Just to support more than one platform requires quite an organization. Just supporting the 9x and the NT sides of Windows requires more than you'd want. Good music: In my rosary[^]

                                        E 1 Reply Last reply
                                        0
                                        • J Jorgen Sigvardsson

                                          But then again.. what small scale projects are cross-platform? Just to support more than one platform requires quite an organization. Just supporting the 9x and the NT sides of Windows requires more than you'd want. Good music: In my rosary[^]

                                          E Offline
                                          E Offline
                                          ed welch
                                          wrote on last edited by
                                          #39

                                          Your project doesn't have to be cross-platform to use Qt, you know!

                                          J 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups