Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7939185
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T23:01:35+00:00 2026-06-03T23:01:35+00:00

I have been a python programmer 7+ years now, and been designing with PyQt

  • 0

I have been a python programmer 7+ years now, and been designing with PyQt for 3+ years… But I am not a classically trained Comp Sci. major. More recently I have been learning Go and been actively following the Golang-nuts discussion list which is filled with extremely intelligent developers. From this discussion group, I have seen many references to software design patterns, such as Observer, Reactor, etc. Again because I am not a CS major, I never really learned all of this terminology and theory, but it made me wonder…

What design patterns do common GUI frameworks like Qt, wx, GTK exhibit?

I have a feeling like its a mixture of patterns for different components, such as the event loop vs signal/slots or binding vs Key-value observing, and so on. I would love to hear an explanation or generalization about how these software patterns map to the traditional components of these frameworks.

As a bit of a secondary element to this question: Are there GUI frameworks that try and take a completely different pattern approach to a GUI solution? Does Cocoa/objective-c use the same event loop patterns as these others?

Update
To help narrow down the focus of my question, and based on the answer by @HDDimon, I am mainly wondering about Behavior Patterns (communication):
http://en.wikipedia.org/wiki/Design_Patterns#Behavioral_patterns

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T23:01:37+00:00Added an answer on June 3, 2026 at 11:01 pm

    Good day. I think the best answer you will find in Martin Fowler article GUI Architectures.

    from this article:

    Model View Controller Probably the widest quoted pattern in UI development is Model View Controller (MVC) – it’s also the most
    misquoted. I’ve lost count of the times I’ve seen something described
    as MVC which turned out to be nothing like it. Frankly a lot of the
    reason for this is that parts of classic MVC don’t really make sense
    for rich clients these days. But for the moment we’ll take a look at
    its origins.

    At the heart of MVC, and the idea that was the most influential to later frameworks, is what I call Separated Presentation. The
    idea behind Separated Presentation is to make a clear division
    between domain objects that model our perception of the real world,
    and presentation objects that are the GUI elements we see on the
    screen
    . Domain objects should be completely self contained and work
    without reference to the presentation, they should also be able to
    support multiple presentations, possibly simultaneously. This approach
    was also an important part of the Unix culture, and continues today
    allowing many applications to be manipulated through both a graphical
    and command-line interface.

    According to this article, the best types of patterns for division between any kinds of components is Structural Patterns.

    from “Design Patterns: Elements of Reusable Object-Oriented Software” by The “Gang of Four”: Erich Gamma, Richard Helm, Ralph Johnson, John Vlissides. (I really want recommend you to read this awesome book)

    • Structure Patterns:
      • Adapter
      • Bridge
      • Composite
      • Decorator
      • Facade
      • Flyweight
      • Proxy

    But in any kind of frameworks you can see mix from several types of patterns: Creational patterns, Structural patterns, Behavioral patterns.

    I had found a relational diagram between patterns from Design Patterns book, it may be helpful for everyday using.

    UPD: Great SO answer added.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been learning python for some time now. While starting this learning python
I have been learning Python for a while, and now I'd like to learn
I have been studying unicode and its Python implementation now for two days, and
I'm learning Python now because of the Django framework. I have been a Perl
Having been a hobbyist programmer for 3 years (mainly Python and C) and never
I have been using Python for about a year now, coming from a mostly
I have been using python for a while now and Im happy using it
I have been working in Python for a few months now, and it has
I have been playing around with some Python now and start to get a
I have been programming in C/C++ for about five years and Python for three;

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.