Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > design pattern: MVC in python

Reply
Thread Tools

design pattern: MVC in python

 
 
Ìð¹Ï
Guest
Posts: n/a
 
      09-28-2008
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.

--
ShenLei
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
No MVC Project Template after installing ASP.NET MVC 1.0 Crazy Cat ASP .Net 1 09-03-2009 08:02 PM
WebForms X MVC? Why MVC? Give me reasons to migrate my web apps to it please. Pros x Cons! Thanks! Paulo ASP .Net 3 12-04-2008 03:00 AM
differences between Spring WebFlow,Spring MVC,and String Portlet MVC? rmn190 Java 2 01-10-2008 02:27 AM
Re: how to apply "mvc" pattern to gui-design in python Gustavo Rahal Python 0 03-28-2005 10:07 PM
how to apply "mvc" pattern to gui-design in python Su Wei Python 1 03-28-2005 10:57 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57