By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,660 Members | 1,100 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,660 IT Pros & Developers. It's quick & easy.

MVC

P: n/a
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
Jun 27 '08 #1
Share this Question
Share on Google+
3 Replies


P: n/a
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
Jun 27 '08 #2

P: n/a
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.
Jun 27 '08 #3

P: n/a
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?
http://pylonshq.com/
http://www.djangoproject.com/
http://webpy.org/
Jun 27 '08 #4

This discussion thread is closed

Replies have been disabled for this discussion.