 |
GTK+ Forums Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
|
|
|
| Author |
Message |
|
|
kfarrell
Joined: 22 Jun 2007 Posts: 2
|
Posted: Fri Jun 22, 2007 5:02 am Post subject: Front Backend Communicating |
|
|
I'm really interested in experimenting with an idea I've had.
I really like the idea of making the UI totally seperate from the engine, not unlike css and html, or mysql and it's front ends.
Now the obvious method is to use network sockets, probably not the safest idea, and I've thought about using shared objects?.
Has anyone got any ideas on other methods I could try?
Is this design choice being used, or is it a pipe dream? |
|
| Back to top |
|
 |
Micah Carrick Never Seen the Sunlight
Joined: 21 Sep 2005 Posts: 465 Location: Portland, OR USA
|
Posted: Sun Jun 24, 2007 10:28 pm Post subject: |
|
|
In terms of GTK+ programming, the concept of using libglade to read an XML file for the UI is quite similar to what you're describing.
Model-View-Controller (MVC) programming is a commonly practiced in multiple languages (examples for web development include Java, various PHP toolkits, Ruby on Rails, etc.). Check out this little article: Interfacing Threaded Programming with Gtk+ |
|
| Back to top |
|
 |
kfarrell
Joined: 22 Jun 2007 Posts: 2
|
Posted: Mon Jun 25, 2007 3:09 am Post subject: |
|
|
Thanks Micah, that's exactly what I was after. :D
It's nice to know there's a name for it too, thanks. |
|
| Back to top |
|
 |
|
Powered by phpBB © 2001, 2005 phpBB Group CodeBB 1.0 Beta 2
|