[Tutor] design question (Django?)
Albert-Jan Roskam
fomcl at yahoo.com
Sun Apr 14 13:06:12 CEST 2013
> Subject: Re: [Tutor] design question (Django?)
>
> On 13/04/13 09:48, Albert-Jan Roskam wrote:
>
>> I think I have to make a diagram of this. This stuff is quite hard
>
> You could use a simple UML class diagram (class -> table). See the OOP topic
> in my V3 tutorial for simple examples.
>
> Or you could use a proper entity relationship diagram(ERD) - see wikipedia for
> details and examples (there are various notational variations)
>
> They all show the same concepts. UML will be best if you plan
> on using OOP in the python code. ERD is better for vanilla database design.
Hi Alan, I am reading it now. Thanks for the suggestion. I have to read more about Django to decide whether this is the way to do it. First impression: yes. The database abstraction API also implies that I should use OOP. Step #1: defining the model ;-) https://docs.djangoproject.com/en/dev/topics/db/models/
Would it also be a good idea to simultaneously make a paper-and-pencil drawing of the UI? It seems like a good way to figure out what I really want. For me, the hardest part of software construction is the design stage.
Regards,
Albert-Jan
More information about the Tutor
mailing list