MVC

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • George Maggessy

    MVC

    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
    patter. So, here goes my question. Is that OK if I follow this? Should
    I create DAOs, View Objects, Controllers and etc? Is there any sort of
    best practice / standard to Python?

    Cheers,
    George
  • Brad

    #2
    Re: 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
    patter. So, here goes my question. Is that OK if I follow this? ...
    Yes. Python does not impose design patterens onto developers. Pick your
    poison. It is somewhat OOP, but allows for other development paradigms
    as well... rather like C++ IMO although a bit more OOP focused.

    Best of luck,

    Brad

    Comment

    • Andrew Lee

      #3
      Re: 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
      patter. So, here goes my question. Is that OK if I follow this? Should
      I create DAOs, View Objects, Controllers and etc? Is there any sort of
      best practice / standard to Python?
      >
      Cheers,
      George

      Look at Pylons.

      Comment

      • Bruno Desthuilliers

        #4
        Re: MVC

        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 ?
        I know it's a
        standard, but the implementation language affects the use of design
        patter. So, here goes my question. Is that OK if I follow this? Should
        I create DAOs, View Objects, Controllers and etc? Is there any sort of
        best practice / standard to Python?

        The web framework for perfectionists with deadlines.


        Comment

        Working...