design pattern: MVC in python

Ì

Ìð¹Ï

Howdy,

I am working on a small PC game by using pygame. Since there are many
graphical objects to display and intensive user interactions, I would
like to employ MVC pattern to keep the system maintainable.
However, I cannot find a good article which discussing the general
knowledge about MVC, especially:
1. How to decouple M-V-C? That is, which function should be assigned
to which part.
2. How to communicate each other while keeping M-V-C decoupled?
3. Do I need to create Interface/Proxy class for each component?
4. What is the general principle for designing the interface of M-V-C?
As my previous experience, if without special care on the principle,
the MVC pattern would gradually become messy and the boundary between
each component becomes unclear.

Could you give me any advice? In addition, can we take the advantage
of python language to make MVC easy-to-build and easy-to-use?

Thank you in advance.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,969
Messages
2,570,161
Members
46,709
Latest member
AustinMudi

Latest Threads

Top