[Tutor] design question (Django?)

Don Jennings dfjennings at gmail.com
Sun Apr 14 15:27:26 CEST 2013


On Apr 14, 2013, at 7:06 AM, Albert-Jan Roskam wrote:

> 
> 
>  > 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?

Absolutely! Test it with three users. See Jakob Nielsen's brief take on the matter:

http://www.nngroup.com/articles/paper-prototyping/

Take care,
Don



More information about the Tutor mailing list