Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #39738
| Path | csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <alec.taylor6@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.001 |
| X-Spam-Evidence | '*H*': 1.00; '*S*': 0.00; 'attributes': 0.07; 'dev': 0.07; 'javascript,': 0.07; 'api': 0.09; 'already.': 0.09; 'gurus,': 0.09; 'postgres': 0.09; 'sqlite': 0.09; 'though...': 0.09; 'cc:addr:python-list': 0.10; 'looked': 0.10; 'volunteer': 0.11; 'bonus': 0.13; 'library': 0.15; 'alpha': 0.15; 'sat,': 0.15; 'server,': 0.15; 'client,': 0.16; 'crud': 0.16; 'firebug': 0.16; 'fluent': 0.16; 'pov,': 0.16; 'queuing': 0.16; 'reasonably': 0.16; 'require.': 0.16; 'wrote:': 0.17; 'mechanism': 0.17; 'widget': 0.17; 'examples': 0.18; 'handles': 0.18; '(or': 0.18; 'app': 0.19; 'feb': 0.19; 'fairly': 0.21; 'features,': 0.22; 'stick': 0.22; 'work,': 0.22; 'cc:2**0': 0.23; 'apps': 0.23; 'flexibility': 0.23; 'nearly': 0.23; "i've": 0.23; 'seems': 0.23; 'cc:no real name:2**0': 0.24; 'idea': 0.24; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; 'looks': 0.26; '(which': 0.26; 'am,': 0.27; 'css': 0.27; 'message-id:@mail.gmail.com': 0.27; 'interface': 0.27; 'run': 0.28; 'environment': 0.29; 'end,': 0.29; 'overhead': 0.29; 'restricted': 0.29; 'url:mailman': 0.29; 'probably': 0.29; "i'm": 0.29; "we're": 0.30; 'stuff': 0.30; 'implement': 0.32; 'url:python': 0.32; 'file': 0.32; 'running': 0.32; 'url:listinfo': 0.32; 'form.': 0.33; 'front': 0.33; 'likely': 0.33; 'received:google.com': 0.34; 'server': 0.35; 'doing': 0.35; 'pm,': 0.35; 'remote': 0.35; 'too.': 0.35; 'subject:?': 0.35; 'something': 0.35; 'there': 0.35; 'michael': 0.36; 'but': 0.36; 'url:org': 0.36; 'client': 0.36; 'should': 0.36; 'too': 0.36; 'enough': 0.36; 'itself': 0.37; 'does': 0.37; 'level': 0.37; 'being': 0.37; 'quite': 0.37; 'far': 0.37; 'well.': 0.37; 'subject:: ': 0.38; 'some': 0.38; 'talk': 0.38; 'where': 0.40; 'end': 0.40; 'url:mail': 0.40; 'think': 0.40; 'your': 0.60; 'easy': 0.60; 'skip:u 10': 0.60; "you'll": 0.62; 'necessarily': 0.63; 'more': 0.63; 'services': 0.64; 'charset:windows-1252': 0.65; 'to,': 0.65; 'talking': 0.66; 'business': 0.70; 'attractive': 0.78; 'directors': 0.81; '2013': 0.84; 'dal': 0.84; 'demos': 0.84; 'monte': 0.84; 'subject:over': 0.84; 'top.': 0.84; 'silent': 0.95 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type:content-transfer-encoding; bh=3mciiPpz8Z+6eAX75PXUqKUlPJ6j2iFozby0XT57ISE=; b=plGa8FESVxZ/ediKsylm6Z8poyS/L2qLcCfYHv4qtwv4Hus2ib3Uv43oGv+x4Z2m+A UVhoURW+cTkBM3zCZx2wGgfv7leXPVFpGDzo+OZGGQF10JwTj0xK4yBjhLnuNzXWydqN Qr6S5qpzOOVodGd7WjHpraAOWzdfeUgHauYDaTXM1/Xp/ADgQdK4TObFKBf64yOazFxI xyOCLmOuNcCUxhJuzw33yga5M6a6ZzGFYHcUas2rGrhuutt7TCa/FtwNRBLDQXum1ywm yF/Z5qh/6ygx5s3kPZYZbDhQpNLi/5efjYxxJfrkgXUjPdkv4RFj+oudKVsD+zPvHWU8 2mAg== |
| MIME-Version | 1.0 |
| X-Received | by 10.43.16.73 with SMTP id px9mr2993566icb.54.1361696457124; Sun, 24 Feb 2013 01:00:57 -0800 (PST) |
| In-Reply-To | <51280124.20905@gmail.com> |
| References | <mailman.2180.1361463791.2939.python-list@python.org> <20130222164513.9377097f0cf2add2a6d16204@gmx.net> <kg87jq$kfd$1@ger.gmane.org> <CAO+9iGdCtzkkp=p5aA96qA9wqz+QDHc8mZTKwqUqpcd1ZUfFuA@mail.gmail.com> <kg8p5a$9en$1@ger.gmane.org> <51280124.20905@gmail.com> |
| Date | Sun, 24 Feb 2013 20:00:56 +1100 |
| Subject | Re: PyQT app accessible over network? |
| From | Alec Taylor <alec.taylor6@gmail.com> |
| To | Michael Torrie <torriem@gmail.com> |
| Content-Type | text/plain; charset=windows-1252 |
| Content-Transfer-Encoding | quoted-printable |
| Cc | python-list@python.org |
| 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 | <http://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 | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.2398.1361696465.2939.python-list@python.org> (permalink) |
| Lines | 61 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1361696465 news.xs4all.nl 6889 [2001:888:2000:d::a6]:51670 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:39738 |
Show key headers only | View raw
On Sat, Feb 23, 2013 at 10:37 AM, Michael Torrie <torriem@gmail.com> wrote: > On 02/22/2013 02:49 PM, Monte Milanuk wrote: >> Web2py does seem pretty attractive in that it seems to come with a lot >> of functionality rolled in already. It seems to be pretty easy to >> deploy... since this would be more of a case where the volunteer match >> directors are not necessarily computer gurus, and something that can >> literally run from a USB stick on nearly any computer has its benefits. >> I've seen some examples (I think) of twitter-bootstrap in some other >> demos of flask, and it looked reasonably attractive without being too >> over the top. web2py's DAL seems fairly straight-forward too. Looks >> like I may have to get more fluent in CSS & javascript, though... > > If you just use web2py to implement the database calls and business > logic, and to implement a simple, clean API (RPC really) for the clients > to talk to, then you can still use your non-web UI tools like PyQt. But > as an added bonus you can do a web interface as well. You'll have > flexibility either way. A client is a client, whether it's web-bases > and running on the same server, or a remote app using RPC over HTTP. > > I think all web-based apps should expose a web service (an API). that > way you have flexibility to do a variety of front-ends. Normal web > browser, mobile browser, a standalone app (think android or iphone). > > As far as doing client/server stuff with just a database engine, unless > you have tight control over the environment end to end, from a security > pov, it's not a good idea to expose the database engine itself to the > internet. Better to put a restricted web services API in front of it > that handles all the authorization needs (access-control) on the > detailed level that you require. > -- > http://mail.python.org/mailman/listinfo/python-list Michael Torrie: Have seen a few PyWt examples in alpha if that's what you describing… But there would still be more implementation overhead then just using e.g.: SQLFORM(db.table_name) to create a CRUD form. I don't see any disadvantage of using web2py for everything; unless we're talking decentralised infrastructure in which case a queuing mechanism would likely be better; and have each client implement a server as well. (thus still no use-case for Qt). Also SQLite has a number of excellent features, namely 2 file deployments. So it's very portable. Otherwise for postgres or mysql you'd probably need to package in your own silent installer (which admittedly isn't overly difficult; but is quite involved)… On Sat, Feb 23, 2013 at 8:49 AM, Monte Milanuk <memilanuk@gmail.com> wrote: > Looks like I may have to get more fluent in > CSS & javascript, though... Understanding how `style` attributes work, how to use FireBug (or Chrome Dev Tools); and finding a good javascript widget library (e.g.: from Twitter Bootstrap) should be more than enough for your project. In fact; it's been enough for almost all my projects! (though now I'm moving to AngularJS will need to get more involved on the js front :P)
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
PyQT app accessible over network? Monte Milanuk <memilanuk@gmail.com> - 2013-02-21 08:22 -0800
Re: PyQT app accessible over network? Wolfgang Keller <feliphil@gmx.net> - 2013-02-22 16:45 +0100
Re: PyQT app accessible over network? Monte Milanuk <memilanuk@gmail.com> - 2013-02-22 08:50 -0800
Re: PyQT app accessible over network? Wolfgang Keller <feliphil@gmx.net> - 2013-02-24 15:30 +0100
Re: PyQT app accessible over network? Alec Taylor <alec.taylor6@gmail.com> - 2013-02-23 03:57 +1100
Re: PyQT app accessible over network? Monte Milanuk <memilanuk@gmail.com> - 2013-02-22 13:49 -0800
Re: PyQT app accessible over network? Michael Torrie <torriem@gmail.com> - 2013-02-22 16:37 -0700
Re: PyQT app accessible over network? Wolfgang Keller <feliphil@gmx.net> - 2013-02-24 15:31 +0100
Re: PyQT app accessible over network? Chris Angelico <rosuav@gmail.com> - 2013-02-25 01:58 +1100
Re: PyQT app accessible over network? Frank Millman <frank@chagford.com> - 2013-02-25 08:14 +0200
Re: PyQT app accessible over network? Chris Angelico <rosuav@gmail.com> - 2013-02-25 17:35 +1100
Re: PyQT app accessible over network? Frank Millman <frank@chagford.com> - 2013-02-25 10:02 +0200
Re: PyQT app accessible over network? Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-02-25 18:26 -0500
Re: PyQT app accessible over network? Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-02-25 18:32 -0500
Re: PyQT app accessible over network? Chris Angelico <rosuav@gmail.com> - 2013-02-26 17:26 +1100
Re: PyQT app accessible over network? Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-02-22 19:20 -0500
Re: PyQT app accessible over network? Chris Angelico <rosuav@gmail.com> - 2013-02-23 11:32 +1100
Re: PyQT app accessible over network? Alec Taylor <alec.taylor6@gmail.com> - 2013-02-24 20:00 +1100
csiph-web