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


Groups > comp.lang.python > #74969 > unrolled thread

Re: Network/multi-user program

Started byLele Gaifax <lele@metapensiero.it>
First post2014-07-22 08:32 +0200
Last post2014-07-22 08:59 +0200
Articles 3 — 2 participants

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Network/multi-user program Lele Gaifax <lele@metapensiero.it> - 2014-07-22 08:32 +0200
    Re: Network/multi-user program CHIN Dihedral <dihedral88888@gmail.com> - 2014-07-21 23:41 -0700
      Re: Network/multi-user program Lele Gaifax <lele@metapensiero.it> - 2014-07-22 08:59 +0200

#74969 — Re: Network/multi-user program

FromLele Gaifax <lele@metapensiero.it>
Date2014-07-22 08:32 +0200
SubjectRe: Network/multi-user program
Message-ID<mailman.12162.1406010756.18130.python-list@python.org>
Monte Milanuk <memilanuk@invalid.com> writes:

> On 2014-07-21, Lele Gaifax <lele@metapensiero.it> wrote:
>> Monte Milanuk <memilanuk@invalid.com> writes:
>>> How hard was it to migrate from a desktop app to what you have now?
>>
>> Well, basically I rewrote everything, there's nothing in common. The
>> original application was written in Delphi, using Paradox tables, no
>> i18n, no multiuser, no PDF printouts... On the other hand, with Python
>> is far easier to get something working, and databasing with SQLAlchemy
>> is a pleasure. On the frontend, ExtJS is impressive, even if it has its
>> own drawbacks.
>
> Any hints/opinions on what those drawbacks might be?  I know literally
> almost nothing about JS.  I worked thru a short generic tutorial a couple
> years ago, but nothing like these libraries I see people talking about
> now like jquery, angular, ext, and so on.  Hence my hesitation at adding
> another learning curve on top of python and the various libraries needed
> for this first 'real' project.

I completely agree with Roy on the language itself, it has several
tricky parts that require some training to learn how to avoid, "defects"
that are inherent to language and to the syntax, that no framework or
library can really eliminate. There is a very good book by Douglas
Crockford, "JS: the good parts" that I recommend reading.

On the framework, ExtJS is the one I know better and its quite good and
powerful: it has a dual license, GPL for free software projects and a
commercial version, very good documentation and a lot of users. My main
complaint is about their (Sencha's) release policy which frankly sucks,
on both sides (free and commercial): they do not have a clear roadmap,
you report bugs in a forum and from then on you cannot know if and when
the bug gets fixed, or even released. They do not promise any kind of
backward compatibility, and several times they irremediably broke the
internal implementation of a few widgets I used from one minor version
to the next and eventually released a proper fix only for the commercial
version. They assert to have an extensive suite of unit and functional
tests, but sometime I have the doubt they do not run it as often as one
would expect :-)

On the other hand, it has good and extensive examples, so the learning
curve is not so steep (I'm clearly biased here, but I introduced several
young developers to that environment and that's what they said too).

Anyway, don't be scared: start on the Python side, laying down the
foundations of the application, the database model, the main business
logic, unit and functional tests, and so on. Any kind of frontend, be it
a traditional desktop application or a web based one will build on that.

ciao, lele.
-- 
nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri
real: Emanuele Gaifas | comincerò ad aver paura di chi mi copia.
lele@metapensiero.it  |                 -- Fortunato Depero, 1929.

[toc] | [next] | [standalone]


#74970

FromCHIN Dihedral <dihedral88888@gmail.com>
Date2014-07-21 23:41 -0700
Message-ID<e0a29883-6a2c-4993-affc-2770e842de34@googlegroups.com>
In reply to#74969
> > almost nothing about JS.  I worked thru a short generic tutorial a couple
> 
Please check Pyjs and Python with flash
in http://pyjs.org/examples/Space.html
for the front end part of GUI under a
browser.

[toc] | [prev] | [next] | [standalone]


#74975

FromLele Gaifax <lele@metapensiero.it>
Date2014-07-22 08:59 +0200
Message-ID<mailman.12164.1406012381.18130.python-list@python.org>
In reply to#74970
CHIN Dihedral <dihedral88888@gmail.com> writes:

>> > almost nothing about JS.  I worked thru a short generic tutorial a couple
>> 
> Please check Pyjs and Python with flash
> in http://pyjs.org/examples/Space.html
> for the front end part of GUI under a
> browser.
>

Yes, that's an option: I used Pyjamas (btw, did it survive the schism?)
to build one non trivial application, and while it allows using the
language we all know and love, it introduces one more step of
indirection between you and the actual code that the browser run, so in
the end I didn't repeat the experience.

ciao, lele.
-- 
nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri
real: Emanuele Gaifas | comincerò ad aver paura di chi mi copia.
lele@metapensiero.it  |                 -- Fortunato Depero, 1929.

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web