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


Groups > de.comp.lang.python > #5032

Re: [Python-de] Welches Framework für einfache Datenbank?

Path csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail
From Matthias König <konigmatt@googlemail.com>
Newsgroups de.comp.lang.python
Subject Re: [Python-de] Welches Framework für einfache Datenbank?
Date Mon, 4 Dec 2017 17:32:02 +0100
Lines 92
Message-ID <mailman.7.1512405126.28471.python-de@python.org> (permalink)
References <f44c7ddc-89b0-89e2-c7ad-8f2ac9069aa6@goebel-consult.de> <904051A8-388B-4515-B61A-CD50475A6E3F@web.de> <CAEUx3EQX65ZA5f3obLiaqqyFS3SKGXQhj-2wt239KVi63pPkqQ@mail.gmail.com>
Mime-Version 1.0
Content-Type text/plain; charset="UTF-8"
Content-Transfer-Encoding quoted-printable
X-Trace news.uni-berlin.de 2kPyl+4HP9hQzUsn/2dHCglblQIv0v5hicnC3o5ygGGw==
Return-Path <konigmatt@googlemail.com>
X-Original-To python-de@python.org
Delivered-To python-de@mail.python.org
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=DfgWatfkKsXe625gAKDYFTiMuljbMmvXuGLwLJTPInU=; b=hLlbTwPkwAWXXA8aqKeorK+XJ2acvjcAlqZ7Z3OGFixxLAcEEeC+C3UfZBB6r42467 LBEiXMxpMi+lJIa8mtiw+umgbu4lW/lV/x0NpZH8BQst/27w0Hdv1JDLC1YrVmCm7ODd 7oU6N9PmiUIJUcpcn4NdkUjEnW6toe0M3AQoyWDEF5lT0YyNczvTmjIUefBa8wSObTzA ybP603NQV4Ckdt1xr+gV0ERw73omkNuSjhrbqsXlfHrDh+zafthk1FU18lNGFKdibbb9 eMJgKJ19PyBGEd8LlFKLbG5WRWbwnI1NiufLpGcG+8XRuIGR8yAnUgZ+RQJ5gR1s/j+Q Baew==
X-Google-DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=DfgWatfkKsXe625gAKDYFTiMuljbMmvXuGLwLJTPInU=; b=dL5mTlfm8YOd+ZgPUjJf1tUn0k4ahf9LG+uRMUaAGPmb40NGKbhneFYbxlzfORSzFJ UHa6Y3tRowoYmFATxwj/Krz8CX0mRbBn1XkoXFevLniInBCWqG6IvgFddi21Tj5ilab9 PcwhvQf6BS1lkZ3cbZK90MM7lh/L4rnzHzcZnNef80OSxjGEmGGjJ6iDklCCNvc5sG1E JF9WWuXH1ns8PjGgIiJeGB0IsR3Hs4ofCXB44MPoP400H7Dgt1kyKRcYgxVl51szdcUG GyP2Vcu1t7FrUIwDBSBRT+XA/saxsi5QHP2wxZyTY3hsdd4LvtZ845hwFJyY6xy2X2VG sD4w==
X-Gm-Message-State AKGB3mJjhoDKaNe8pPyOlRxf+aYSPZJq3EevkIjbEZiV3ZyLEOB+t8hW 0PgDJlp+/UPuY3ZfOAAM0SMI3ZEXB9Rv28jeoVapuA==
X-Google-Smtp-Source AGs4zMZRFitV9e/0+yo/Bz2UIJIOJTW7AvAJtkhjIja8b71u8IJgGZuq9B5Y8Ma+OwpRDsuuWzrp/2nAxl4QL4z+31E=
X-Received by 10.55.221.209 with SMTP id u78mr19481330qku.68.1512405122992; Mon, 04 Dec 2017 08:32:02 -0800 (PST)
In-Reply-To <904051A8-388B-4515-B61A-CD50475A6E3F@web.de>
X-Content-Filtered-By Mailman/MimeDel 2.1.25
X-BeenThere python-de@python.org
X-Mailman-Version 2.1.25
Precedence list
List-Id Die Deutsche Python Mailingliste <python-de.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-de>, <mailto:python-de-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-de/>
List-Post <mailto:python-de@python.org>
List-Help <mailto:python-de-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-de>, <mailto:python-de-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID <CAEUx3EQX65ZA5f3obLiaqqyFS3SKGXQhj-2wt239KVi63pPkqQ@mail.gmail.com>
X-Mailman-Original-References <f44c7ddc-89b0-89e2-c7ad-8f2ac9069aa6@goebel-consult.de> <904051A8-388B-4515-B61A-CD50475A6E3F@web.de>
Xref csiph.com de.comp.lang.python:5032

Show key headers only | View raw


Ich kann auch Django empfehlen. Hier lässt sich auch das database backend
sehr leicht von sqlite auf postgres umstellen (3 Zeilen in settings.py).
Sqlite ist weniger problematisch hinsichtlich Last, sondern durch fehlende
concurrency, d.h. sobald mehere Personen gleichzeitig abfragen machen ist
die Datenbank blockiert (kann auch bei größeren joins auftreten).
Da mehr Last auch meist zu mehr concurrency führt ist das ein gutes Maß.

Weiterhin ist Django ORM und tutorial super und in wenigen Stunden hast du
eine funktionierende Datenbank mit Views.
https://docs.djangoproject.com/en/1.11/intro/tutorial01/

Weiterhin gibt es von hausaus ein gutes Usermodell, dass evt. bereits deine
Problemstellung abdeckt.
Hoffe das hilft

VG Matthias

2017-12-04 17:14 GMT+01:00 Diez B. Roggisch <deets@web.de>:

> Ist mit Framework ein Webframework gemeint?
>
> Wenn ja: Django bringt ja von Haus aus sowohl ein ORM mit, als auch eine
> Admin-Oberflaeche. Im Sinne von 0 auf 100 in kuerzester Zeit ist es denke
> ich in Python nicht zu schlagen.
>
> Welche DB-Engine dann dahinter liegt kommt ein bisschen drauf an, aber
> sqlite kann mit kleinen Lasten ausreichend gut umgehen. Groesseres wuerde
> ich persoenlich dann zu postgres raten.
>
> LG Diez
>
> > On 4. Dec 2017, at 16:14, Hartmut Goebel <h.goebel@goebel-consult.de>
> wrote:
> >
> > Hallo zusammen,
> >
> > ich brauche eine einfache Datenbank, mit einer (elegante :-) GUI und
> > folgenden Beziehungen:
> >
> > Organisation   n-zu-m  Person
> >
> > Person  n-zu-m E-Mail-Adresse
> >
> > In der GUI für Organisation möchte ich am liebsten, dass unter den
> > "Stammdaten" eine Liste ist, in der man bequem eine bereits bestehende
> > "Person" eintragen kann.
> >
> > Was benutzt man hierfür heutzutage in Python?
> >
> > (Ich habe versucht, das in LibreOffice zu erstellen, aber dort wird das
> > ja schon kompliziert. Außerdem stützt Base zu häufig ab.)
> >
> > --
> > Schönen Gruß
> > Hartmut Goebel
> > Dipl.-Informatiker (univ), CISSP, CSSLP, ISO 27001 Lead Implementer
> > Information Security Management, Security Governance, Secure Software
> > Development
> >
> > Goebel Consult, Landshut
> > http://www.goebel-consult.de
> >
> > Blog: http://www.goebel-consult.de/blog/deshalb-tr-069-ausschalten
> > Kolumne: http://www.cissp-gefluester.de/2010-07-passwoerter-lieben-
> lernen
> >
> > _______________________________________________
> > python-de maillist  -  python-de@python.org
> > https://mail.python.org/mailman/listinfo/python-de
>
>
> _______________________________________________
> python-de maillist  -  python-de@python.org
> https://mail.python.org/mailman/listinfo/python-de
>
>


-- 
Dr. Matthias König
Junior Group Leader LiSyM - Systems Medicine of the Liver
Humboldt-University Berlin, Institute of Biology, Institute for Theoretical
Biology
  https://www.livermetabolism.com
konigmatt@googlemail.com
https://twitter.com/konigmatt
https://github.com/matthiaskoenig
Tel: +49 30 20938450

Back to de.comp.lang.python | Previous | Next | Find similar


Thread

Re: [Python-de]  Welches Framework für einfache Datenbank? Matthias König <konigmatt@googlemail.com> - 2017-12-04 17:32 +0100

csiph-web