Maric Michaud schrieb:
Le Tuesday 16 September 2008 14:47:02 Marco Bizzarri, vous avez écrit :
On Tue, Sep 16, 2008 at 1:26 PM, Georg Altmann <[EMAIL PROTECTED]> wrote:
Marco Bizzarri schrieb:
On Mon, Sep 15, 2008 at 9:37 PM, Georg Altmann <[EMAIL PROTECTED]>
wrote:
But this implies all the o
George Maggessy a écrit :
Hi Gurus,
I'm a Java developer and I'm trying to shift my mindset to start
programming python.
Welcome onboard then.
So, my first exercise is to build a website.
However I'm always falling back into MVC pattern.
And ? Is there anything wrong with web-style MVC ?
George Maggessy wrote:
Hi Gurus,
I'm a Java developer and I'm trying to shift my mindset to start
programming python. So, my first exercise is to build a website.
However I'm always falling back into MVC pattern. I know it's a
standard, but the implementation language affects the use of design
p
In fact, the Pylons web framework is geared toward the MVC approach.
http://pylonshq.com/
On Thu, May 22, 2008 at 7:48 PM, George Maggessy <[EMAIL PROTECTED]>
wrote:
> Hi Gurus,
>
> I'm a Java developer and I'm trying to shift my mindset to start
> programming python. So, my first exercise is to
George Maggessy wrote:
Hi Gurus,
I'm a Java developer and I'm trying to shift my mindset to start
programming python. So, my first exercise is to build a website.
However I'm always falling back into MVC pattern. I know it's a
standard, but the implementation language affects the use of design
p
In my experience, python is very pattern agnostic. You can do functional or
object oriented or procedural fairly easily, have deep or light object
trees, or even mix procedural style with some object oriented code if you
like. "There should be one way to do it" tends to not apply as much as some
samuraisam wrote:
> Are there any MVC-framework-like libraries for wxWidgets or Tkinter for
> Python? If so, any experiences with using them? I need to develop a
> desktop application *fast* and experiences with the likes of Turbogears
> have taught me that you can indeed develop very fast with a
[EMAIL PROTECTED] wrote:
> I'm aware that Pylons is trying to
> compete with Rails in the near future but I'm just not clear on how
> directly they are trying to compete...will Pylons have the same
> generation functions and other time saving goodies that RoR has or am I
> barking up the wrong tre
http://www.myghty.org/
That one is excellent.
Robert
--
http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED] a écrit :
> Thanks Rune. I've already checked out Django and TG and have found both
> the projects to be a little misguided. I think the one great thing they
> have over Rails is the use of SQLObject
Then you haven't really checked Django - it doesn't use SQLObject.
> Having sa
Thanks Rune. I've already checked out Django and TG and have found both
the projects to be a little misguided. I think the one great thing they
have over Rails is the use of SQLObject because the implicit mapping of
data models via the "plural" approach of Rails is a bit of a quirk to
me, I just do
[EMAIL PROTECTED] wrote:
> Please let me state off the cuff that I'm not after a big "Python Vs
> Ruby" war or anything here! I'm trying to make the switch to Python for
> my web development work as I've been using it for quite some time for
> other programming work (albeit mainly hobby and person
Thanks!!Is there a wx example? 2006/1/17, Fredrik Lundh <[EMAIL PROTECTED]>:
"Sbaush" <[EMAIL PROTECTED]> wrote:> The View must be only the clickable button> The Control must be the event listener on the button> The Model must be the action of the button.
> If we can complete this MVC simple implem
"Sbaush" <[EMAIL PROTECTED]> wrote:
> The View must be only the clickable button
> The Control must be the event listener on the button
> The Model must be the action of the button.
> If we can complete this MVC simple implementation we could publish this like
> a "MVC SIMPLE TUTORIAL" because wi
> Can I just suggest you search in Google Groups for the message by
> "has" labelled "Re: MVC programming with python (newbie) - please help".
> Dated: 7 Jan 2006 07:03:04 -0800. It is one of the nicest short
> descriptions of the MVC pattern and why it works.
If folk wish to post that spiel anywhere else, be my guest. Public
domain and all that.
has
--
http://mail.python.org/mailman/listinfo/python-list
is here:
> http://www.pyj.it/sorgenti/2004/01/doc-view.zip
>
Can I just suggest you search in Google Groups for the message by
"has" labelled "Re: MVC programming with python (newbie) - please help".
Dated: 7 Jan 2006 07:03:04 -0800. It is one of the nicest short
desc
See this recent explanation by has:
http://groups.google.ca/group/comp.lang.python/msg/f8990a2c666a793c?hl=en&;
(The rest of the thread may lead you to more concrete examples as well.)
--
http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED] wrote:
> Hi to all.
> I woud implement MVC with wxPython. Is it possible? Is there anyone
> that have experience in this?
> The only correct example according to Observer Pattern that i found on
> web is not the formal implementation of MVC (is Document/View) and is
> implemente
Well I read this in daylight hours. Talk about Enlightening!!!. It all
became clear. Now I even understand the point of an observer class, which
was shown in an example I posted back to the group from an earlier reply.
Thanks again for sharing your knowledge.
Be Well and Happy Always
Chris
"has" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> bwaha wrote:
> > The author refers to mvctree.py in wxPython as an example of MVC design.
> > However I'm still too green so I find that particular example too
complex
> > and I'm not understanding the separation the author is rec
bwaha wrote:
> The author refers to mvctree.py in wxPython as an example of MVC design.
> However I'm still too green so I find that particular example too complex
> and I'm not understanding the separation the author is recommending.
MVC is all about separation of concerns.
The Model is responsi
bwaha wrote:
> The author refers to mvctree.py in wxPython as an example of MVC design.
> However I'm still too green so I find that particular example too complex
> and I'm not understanding the separation the author is recommending.
MVC is all about separation of concerns.
The Model is responsi
has wrote:
> MVC is all about separation of concerns
This is a wonderful explanation of MVC. I'm going to keep a link to the
Google-Groups version just so I can cite it to those asking about MVC.
--Scott David Daniels
[EMAIL PROTECTED]
--
http://mail.python.org/mailman/listinfo/python-list
bwaha wrote:
> The author refers to mvctree.py in wxPython as an example of MVC design.
> However I'm still too green so I find that particular example too complex
> and I'm not understanding the separation the author is recommending.
MVC is all about separation of concerns.
The Model is responsi
"bwaha" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I'd appreciate some experience from the gurus out there to help me
> understand how to implement MVC design in python code.
Thanks for all the help. Also this link was sent to me by pm and I found
this very useful too. Its a
"Gerard Flanagan" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Gerard Flanagan wrote:
>
> > bwaha wrote:
> >
> > > I'd appreciate some experience from the gurus out there to help me
> > > understand how to implement MVC design in python code.
> > >
> >
>
> Badly snipped, not prete
Gerard Flanagan wrote:
> bwaha wrote:
>
> > I'd appreciate some experience from the gurus out there to help me
> > understand how to implement MVC design in python code.
> >
>
Badly snipped, not pretending to be a 'guru'
Gerard
--
http://mail.python.org/mailman/listinfo/python-list
bwaha wrote:
> I'd appreciate some experience from the gurus out there to help me
> understand how to implement MVC design in python code.
>
I'm neither a guru nor an expert, have never used wxpython, and am not
qualified to advise on MVC!! But until someone more qualified arrives
here's some cod
bwaha wrote:
> I'd appreciate some experience from the gurus out there to help me
> understand how to implement MVC design in python code.
>
Model
class Study(object):
def __init__(self, name, file):
self.name = name
self.file = file
class Project(object):
bwaha wrote:
>
> At some level this seems to me like the class ListDataModel above. I just
> need to make a MyTreeControl class. However here GS(et) routines are
> implemented in the ProjectFileDecoder class (data model?) whereas in the
> earlier advice they are in class MyCoolListControl. So I'm
31 matches
Mail list logo