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

Path csiph.com!usenet.pasdenom.info!dedibox.gegeweb.org!gegeweb.eu!nntpfeed.proxad.net!proxad.net!feeder1-2.proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.xs4all.nl!newsfeed4a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <wolfgang.maier@biologie.uni-freiburg.de>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.031
X-Spam-Evidence '*H*': 0.94; '*S*': 0.00; 'python.': 0.02; 'programmer': 0.03; 'oop': 0.09; 'url:github': 0.09; 'python': 0.11; 'books': 0.15; 'all...': 0.16; 'example?': 0.16; 'inheritance': 0.16; 'subject:reader': 0.16; 'subject:python': 0.16; 'wrote:': 0.18; 'written': 0.21; 'code,': 0.22; 'header :User-Agent:1': 0.23; 'example.': 0.24; 'math': 0.24; 'source': 0.25; 'task': 0.26; 'header:In-Reply-To:1': 0.27; 'purchased': 0.30; 'code': 0.31; 'getting': 0.31; 'received:132': 0.31; 'class': 0.32; 'this.': 0.32; 'reader': 0.33; 'classes': 0.35; 'but': 0.35; 'there': 0.35; 'really': 0.36; "didn't": 0.36; 'thanks': 0.36; 'hi,': 0.36; 'should': 0.36; 'so,': 0.37; 'list': 0.37; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'users': 0.40; 'read': 0.60; 'header:Return-path:1': 0.60; 'hope': 0.61; 'new': 0.61; 'hear': 0.63; 'here': 0.66; 'experience.': 0.67; 'dont': 0.67; 'glad': 0.83; 'books.': 0.84; 'ebook': 0.84; 'start.': 0.84; 'url:imgur': 0.84
Delivery-date Wed, 01 Oct 2014 11:10:28 +0200
Date Wed, 01 Oct 2014 10:48:17 +0200
From Wolfgang Maier <wolfgang.maier@biologie.uni-freiburg.de>
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.1.2
MIME-Version 1.0
To python-list@python.org
Subject Re: Thoughts on python classes to represent an ebook reader
References <8cbce703-968f-4474-a013-063d7844c22a@googlegroups.com>
In-Reply-To <8cbce703-968f-4474-a013-063d7844c22a@googlegroups.com>
Content-Type text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding 7bit
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.14510.1412154629.18130.python-list@python.org> (permalink)
Lines 20
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1412154629 news.xs4all.nl 2967 [2001:888:2000:d::a6]:33891
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:78529

Show key headers only | 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