<quote name="Dave E" date="Mon, 13 Sep 2010 at 10:27 -0600">
> So I am working on a computer program for a BYU genetics professor, a
> previous student wrote the code in Perl.  The Professor wants me to add a
> few features to the code and give it a GUI front end. I am more or less
> equally adept at C++/Java/Perl/Python, but I don't have much GUI experience.
> 
> So the big question is how should I program the GUI?

My suggestion would definitely be to abstract away the backend somehow,
whether that's by writing a wrapper (python) as you mention or a network
protocol, just unix pipes or sockets, shared memory, or just modular
peices of code in the same language, but have the GUI be a view, perhaps
one of many in the future. Spend a decent amount of time upfront on
abstracting the interface between program logic and GUI presentation and
it won't disappoint. Then if you get halfway through a GUI in one
language/format and you decide to do something else, you really haven't
lost a lot, likewise if you complete a desktop GUI and decide a browser
interface would be desireable or vice versa.

Von Fugal
-- 
Government is a disease that masquerades as its own cure
-- Robert Lefevre

Attachment: signature.asc
Description: Digital signature

--------------------
BYU Unix Users Group 
http://uug.byu.edu/ 

The opinions expressed in this message are the responsibility of their
author.  They are not endorsed by BYU, the BYU CS Department or BYU-UUG. 
___________________________________________________________________
List Info (unsubscribe here): http://uug.byu.edu/mailman/listinfo/uug-list

Reply via email to