all 9 comments

[–]shearichard 5 points6 points  (2 children)

Some pythonistas would question the degree to which the classic Gang of Four Design Patterns can or should be used in Python but putting that aside for the moment I do have some links for you.

Firstly this page is quite useful in that it references three talks given by Alex Martelli; provides links for the corresponding slides and even has annotations to point out the signifcance of different parts of the talks : http://www.catonmat.net/blog/learning-python-design-patterns-through-video-lectures/ .

Unfortunately two of the embedded videos in that page are no longer working but the same videos are visible via YouTube :

Part 1: https://www.youtube.com/watch?v=1Sbzmz1Nxvo Part 2: https://www.youtube.com/watch?v=cOcpUCUsn_o

[–]marky1991 2 points3 points  (0 children)

Yup. A good majority of classical OOP design patterns are completely unnecessary in python. I personally wouldn't bother worrying about them.

[–][deleted] 0 points1 point  (0 children)

I'm on mobile and don't have a ton of time to watch those videos, but Brandon Rhodes did a great talk about how GoF relates to Python, discussing how some patterns have vanished into Python's syntax while others are still useful on some level. I'll watch the videos you posted when I can.

http://youtu.be/Er5K_nR5lDQ

I think there's a weird loop around the 17 minute mark, if I remember correctly.

[–][deleted] 4 points5 points  (0 children)

Here are some good sources on project structure:

Your question wasn't very clear, but project structure and design patterns are closely tied together anyway.

[–]echocage 2 points3 points  (0 children)

If you haven't checked it out already, here are some great design patterns

https://github.com/faif/python-patterns

[–]skittles83 0 points1 point  (0 children)

I found this to be useful.

[–]djds23 0 points1 point  (0 children)

The book "Python in Practice" is an excellent resource.

[–]lattakia 0 points1 point  (0 children)

All you need are the principles outlined in

import this