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


Groups > comp.lang.python > #74938

Re: Network/multi-user program

From Monte Milanuk <memilanuk@invalid.com>
Subject Re: Network/multi-user program
Date 2014-07-21 18:16 +0000
References <slrnlsqelq.evp.memilanuk@machin-shin.milanuk.lan> <CAPTjJmqmGEVr8-DApUf5zUt3QpL+9=rOiweyzc0Z9thtBEpO=w@mail.gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.12139.1405966629.18130.python-list@python.org> (permalink)

Show all headers | 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