GTK+ Forums

Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
It is currently Sat Dec 20, 2014 8:50 pm

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Front Backend Communicating
PostPosted: Fri Jun 22, 2007 5:02 am 
Offline

Joined: Fri Jun 22, 2007 4:56 am
Posts: 2
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?


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jun 24, 2007 10:28 pm 
Offline
Never Seen the Sunlight

Joined: Wed Sep 21, 2005 12:07 am
Posts: 563
Location: Portland, OR USA
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+

_________________
Micah Carrick - Forum Administrator
http://www.micahcarrick.com


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 25, 2007 3:09 am 
Offline

Joined: Fri Jun 22, 2007 4:56 am
Posts: 2
Thanks Micah, that's exactly what I was after. :D

It's nice to know there's a name for it too, thanks.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: Google Adsense [Bot] and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group