• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: developing a cross-platform app?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: developing a cross-platform app?


  • Subject: Re: developing a cross-platform app?
  • From: Karin Kosina <email@hidden>
  • Date: Wed, 19 May 2004 13:24:54 +0200
  • Mail-followup-to: Karin Kosina <email@hidden>, James Chen <email@hidden>, David Feldman <email@hidden>, Cocoa Dev <email@hidden>

+-------------- James Chen [20040519 @ 09:39] --------------
| For example,
| All you program logic should be cross-platform as a Model. ( Written in
| C, C++ or other cross-platform language in a platform-independent
| manner)
| Form the user interface by using platform-dependent framework(SDK) or
| cross-platform framework, such as Qt, as a View.
| And finally write some code to glue Model and View together as a
| Controller.
|
| a paradigm:
|
| --------------- WinController ----------- MFC Widgets
| |
| |
| Model ---------------------- MacController ----------- Cocoa Widgets
| |
| |
| -------------- LinuxController --------- Linux Widgets
| |
| |

I think you are being too optimistic here. :)

In an ideal world, that would be the best solution, yes. But not
all systems make it so easy to separate GUI code from application
logic. It's a major pain to try and stick to a clean MVC model
when using, say MFC.

Honestly, I would recommend everybody who wants to do
cross-platform stuff to take a look at Qt. Some of the
programming paradigms may be a bit strange in the start, but it
really makes cross-platform GUI programming so much easier.

Good luck.

=/~ kyrah

PS: For the record: I am not associated with Trolltech in any
way. ;)
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: developing a cross-platform app?
      • From: Andreas Mayer <email@hidden>
    • Re: developing a cross-platform app?
      • From: James Chen <email@hidden>
References: 
 >developing a cross-platform app? (From: David Feldman <email@hidden>)
 >Re: developing a cross-platform app? (From: James Chen <email@hidden>)

  • Prev by Date: Re: Binding values to NSTableColumn using NSArrayController
  • Next by Date: openURL: and fragments
  • Previous by thread: Re: developing a cross-platform app?
  • Next by thread: Re: developing a cross-platform app?
  • Index(es):
    • Date
    • Thread