Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #78529

Re: Thoughts on python classes to represent an ebook reader

Date 2014-10-01 10:48 +0200
From Wolfgang Maier <wolfgang.maier@biologie.uni-freiburg.de>
Subject Re: Thoughts on python classes to represent an ebook reader
References <8cbce703-968f-4474-a013-063d7844c22a@googlegroups.com>
Newsgroups comp.lang.python
Message-ID <mailman.14510.1412154629.18130.python-list@python.org> (permalink)

Show all headers | View raw


On 01.10.2014 10:14, math math wrote:
> Hi,
>
> I hope there are people here with strong OOP experience.
>
> Which classes would an object-oriented python programmer create for the design of a e-book reader for example? I am not really interested in the code, just the OOP classes that would come to one's mind for a task like this.
>
> It should allow users to buy new e-books, view their list of purchased books and read the books.
>
> I have made an attempt of class diagram here "http://imgur.com/9TR2Tlm" but I would be really glad to hear other opinions. I have not used any inheritance for example. I didn't know exactly where it would be handy and I also dont know if these classes are theoretically a good basis at all...
>
> Thanks a lot for comments/feedback.
> Felix
>

As it happens, the very popular Calibre ebook software is written in 
Python. So, I guess, getting (https://github.com/kovidgoyal/calibre) and 
looking at its source code should give you a good start.

Wolfgang

Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Thoughts on python classes to represent an ebook reader math math <mathematisch@gmail.com> - 2014-10-01 01:14 -0700
  Re: Thoughts on python classes to represent an ebook reader Wolfgang Maier <wolfgang.maier@biologie.uni-freiburg.de> - 2014-10-01 10:48 +0200
  Re: Thoughts on python classes to represent an ebook reader Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2014-10-01 22:33 -0400

csiph-web