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


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

Re: Network/multi-user program

Started byMonte Milanuk <memilanuk@invalid.com>
First post2014-07-21 22:53 +0000
Last post2014-07-22 16:02 +0000
Articles 3 — 3 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 Monte Milanuk <memilanuk@invalid.com> - 2014-07-21 22:53 +0000
    Re: Network/multi-user program Roy Smith <roy@panix.com> - 2014-07-21 19:15 -0400
      Re: Network/multi-user program Grant Edwards <invalid@invalid.invalid> - 2014-07-22 16:02 +0000

#74963 — Re: Network/multi-user program

FromMonte Milanuk <memilanuk@invalid.com>
Date2014-07-21 22:53 +0000
SubjectRe: Network/multi-user program
Message-ID<mailman.12158.1405983216.18130.python-list@python.org>
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.

Monte

[toc] | [next] | [standalone]


#74965

FromRoy Smith <roy@panix.com>
Date2014-07-21 19:15 -0400
Message-ID<roy-00BD1B.19151521072014@news.panix.com>
In reply to#74963
In article <mailman.12158.1405983216.18130.python-list@python.org>,
 Monte Milanuk <memilanuk@invalid.com> wrote:

> 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.

In the beginning, there was javascript.  It was used to do cutesy little 
things like animated U/I elements and perform certain actions when your 
browser detected events like clicking on a button or moving the mouse 
cursor over an image.

But, javascript is a real (if bletcherous) programming language.  It's 
got functions and variables and loops and if statements and classes (OK, 
it doesn't really have classes, but it has things that we can pretend 
are classes, if we squint hard).  It can talk to the network and 
generate HTML on the fly.  So, people started building a whole new kind 
of web site.

Instead of having an application running on the server which spits out 
HTML and CSS, and little bits of javascript to tweak those, we've got a 
full-blown javascript application running in the browser.  That 
application is retrieving data from the server, doing useful things with 
it, and totally managing the HTML that you see rendered in your browser 
window.  Things like jquery and (even more so) angular, backbone, ember, 
etc, are frameworks which make it easier to write these applications, in 
much the same way frameworks like django make it easier to write 
server-side web applications in Python.

The truly sucky part of this picture is that javascript is a horrible 
language, but you have no choice.  It's the only thing that runs in 
browsers.  On the server side, if you don't like Python, you can write 
your app in Java, or Go, or Ruby, or a host of other languages (even 
javascript, if you want).  On the client side, no so much.

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


#75000

FromGrant Edwards <invalid@invalid.invalid>
Date2014-07-22 16:02 +0000
Message-ID<lqm1uq$fr7$1@reader1.panix.com>
In reply to#74965
On 2014-07-21, Roy Smith <roy@panix.com> wrote:

> The truly sucky part of this picture is that javascript is a horrible 
> language,

I'm pretty sure that the real purpose of PHP is to make javascript
look like a good programming language.

-- 
Grant Edwards               grant.b.edwards        Yow! RELATIVES!!
                                  at               
                              gmail.com            

[toc] | [prev] | [standalone]


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


csiph-web