Need help/guidance about creating a desktop application with gui

Posted by Somebody still uses you MS-DOS on Stack Overflow See other posts from Stack Overflow or by Somebody still uses you MS-DOS
Published on 2010-05-18T20:22:38Z Indexed on 2010/05/19 12:10 UTC
Read the original article Hit count: 190

I'm planning to do an Desktop application using Python, to learn some Desktop concepts. I'm going to use GTK or Qt, I still haven't decided which one.

Fact is: I would like to create an application with the possibility to be called from command line, AND using a GUI. So it would be useful for cmd fans, and GUI users as well.

It would be interesting to create a web interface too in the future, so it could be run in a server somewhere using an html interface created with a template language.

I'm thinking about two approaches: - Creating a "model" with a simple interface which is called from a desktop/web implementation; - Creating a "model" with an html interface, and embeb a browser component so I could reuse all the code in both desktop/web scenarios.

My question is: which exactly concepts are involved in this project? What advantages/disadvantages each approach has? Are they possible?

By naming "interface", I'm planning to just do some interfaces.py files with def calls. Is this a bad approach?

I would like to know some book recommendations, or resources to both options - or source code from projects which share the same GUI/cmd/web goals I'm after.

Thanks in advance!

© Stack Overflow or respective owner

Related posts about qt

Related posts about gtk