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


Groups > comp.lang.python > #74938

Re: Network/multi-user program

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!ecngs!feeder2.ecngs.de!81.171.88.16.MISMATCH!hq-usenetpeers!hq-usenetpeers.eweka.nl!xlned.com!feeder1.xlned.com!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.004
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'say,': 0.05; '22,': 0.09; 'app,': 0.09; 'framework.': 0.09; 'portions': 0.09; 'read-only': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'way:': 0.09; 'assume': 0.14; 'python-list,': 0.16; 'python;': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'simplified': 0.16; 'subject:program': 0.16; 'subject:user': 0.16; 'prevent': 0.16; 'thanks,': 0.17; 'wrote:': 0.18; 'app': 0.19; 'trying': 0.19; 'examples': 0.20; 'header:User-Agent:1': 0.23; 'sort': 0.25; 'equivalent': 0.26; 'task': 0.26; 'subject:/': 0.26; 'asking': 0.27; 'header:X-Complaints-To:1': 0.27; 'idea': 0.28; 'chris': 0.29; 'am,': 0.29; 'database,': 0.30; "i'm": 0.30; 'easier': 0.31; 'posting': 0.31; 'accidentally': 0.31; 'breaking': 0.31; 'guess': 0.33; 'received:66': 0.35; 'advice': 0.35; 'something': 0.35; 'but': 0.35; 'really': 0.36; 'transition': 0.36; 'entry': 0.36; "i'll": 0.36; 'application': 0.37; 'system,': 0.38; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'users': 0.40; 'how': 0.40; 'everybody': 0.60; 'course': 0.61; 'simple': 0.61; "you're": 0.61; "you'll": 0.62; 'connecting': 0.64; 'more': 0.64; 'header:Reply-To:1': 0.67; 'limit': 0.70; 'jul': 0.74; 'reply-to:addr:gmail.com': 0.80; 'monte': 0.84; 'so...': 0.84; 'start.': 0.84; 'subject:Network': 0.84
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Monte Milanuk <memilanuk@invalid.com>
Subject Re: Network/multi-user program
Date Mon, 21 Jul 2014 18:16:49 +0000 (UTC)
References <slrnlsqelq.evp.memilanuk@machin-shin.milanuk.lan> <CAPTjJmqmGEVr8-DApUf5zUt3QpL+9=rOiweyzc0Z9thtBEpO=w@mail.gmail.com>
X-Gmane-NNTP-Posting-Host 66.172.107.27
User-Agent slrn/1.0.1 (Linux)
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
Reply-To Monte Milanuk <memilanuk@gmail.com>
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.12139.1405966629.18130.python-list@python.org> (permalink)
Lines 25
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1405966629 news.xs4all.nl 2850 [2001:888:2000:d::a6]:58654
X-Complaints-To abuse@xs4all.nl
X-Received-Bytes 4286
X-Received-Body-CRC 2690473567
Xref csiph.com comp.lang.python:74938

Show key headers only | View raw


On 2014-07-21, Chris Angelico <rosuav@gmail.com> wrote:
> On Tue, Jul 22, 2014 at 2:07 AM, Monte Milanuk <memilanuk@invalid.com> wrote:
>> So I guess I'm asking for advice or simplified examples of how to
>> go about connecting a client desktop app to a parent/master desktop app,
>> so I can get some idea of how big of a task I'm looking at here, and
>> whether that would be more or less difficult than trying to do the
>> equivalent job using a web framework.
>
> Easier way: Don't have a "master desktop app", but instead have a
> master database. Since you're posting this to python-list, I'll assume
> you currently intend writing this in Python; you can make a really
> simple transition from single-user-single-desktop to a networked
> system, although of course you'll want to think in terms of multiple
> users from the start.

So... if everybody is using the same application to access the same
database, how would you prevent say, a data entry user from accidentally
breaking something above their pay-grade?  Set up some sort of
role-based privilege system to limit them to write access for some
portions and read-only for others?

Thanks,

Monte

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


Thread

Re: Network/multi-user program Monte Milanuk <memilanuk@invalid.com> - 2014-07-21 18:16 +0000

csiph-web