Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #15015
| From | "Prasad, Ramit" <ramit.prasad@jpmorgan.com> |
|---|---|
| Date | 2011-10-26 17:47 -0400 |
| Subject | RE: webapp development in pure python |
| References | <4EA6BEC3.5010206@shopzeus.com> <mailman.2209.1319552029.27778.python-list@python.org> <j86gkm$77v$1@dont-email.me> <4EA6E4DA.2080307@shopzeus.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.2239.1319665643.27778.python-list@python.org> (permalink) |
I am not really an expert web developer, so this is just my two cents. > My Python module would connect to a database server and query >some data, then display it in a grid. This cannot be compiled into >javascript because of the database server connection. You technically can connect to databases from JavaScript. It is a terrible idea, but achievable. Not really sure how it would get "compiled" into JavaScript, so it is possible that is the stumbling block. http://stackoverflow.com/questions/857670/how-to-connect-to-sql-server-database-from-javascript >I would have to create the server side part separately, the user interface separately, and hand-code the communication between the widets and the server side. As far as I know, this is the Right way to do a web/GUI apps; you may want to read about the MVC design pattern. >I would like to use this theoretical web based framework just like pygtk or wxPython Even in wxPython/pygtk, you should be using MVC pattern. Usually if your app is one class, you either have a trivial application or you are doing it wrong. Of course, that really applies to larger projects more than hacked together code for personal use. Apologies in advance if I misunderstood something. Ramit Ramit Prasad | JPMorgan Chase Investment Bank | Currencies Technology 712 Main Street | Houston, TX 77002 work phone: 713 - 216 - 5423 -- This email is confidential and subject to important disclaimers and conditions including on offers for the purchase or sale of securities, accuracy and completeness of information, viruses, confidentiality, legal privilege, and legal entity disclaimers, available at http://www.jpmorgan.com/pages/disclosures/email.
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: webapp development in pure python Arnaud Delobelle <arnodel@gmail.com> - 2011-10-25 15:13 +0100
Re: webapp development in pure python "Martin P. Hellwig" <martin.hellwig@gmail.com> - 2011-10-25 15:19 +0100
Re: webapp development in pure python Laszlo Nagy <gandalf@shopzeus.com> - 2011-10-25 18:33 +0200
Re: webapp development in pure python alex23 <wuwei23@gmail.com> - 2011-10-25 20:15 -0700
Re: webapp development in pure python Rebelo <puntabluda@gmail.com> - 2011-10-26 00:29 -0700
Re: webapp development in pure python Roy Smith <roy@panix.com> - 2011-10-26 09:06 -0400
Re: webapp development in pure python Rebelo <puntabluda@gmail.com> - 2011-10-26 00:29 -0700
RE: webapp development in pure python "Sells, Fred" <fred.sells@adventistcare.org> - 2011-10-25 23:00 -0400
RE: webapp development in pure python "Prasad, Ramit" <ramit.prasad@jpmorgan.com> - 2011-10-26 17:47 -0400
Re: webapp development in pure python Chris Angelico <rosuav@gmail.com> - 2011-10-27 14:05 +1100
Re: webapp development in pure python 88888 Dihedral <dihedral88888@googlemail.com> - 2011-10-26 22:04 -0700
Re: webapp development in pure python Chris Angelico <rosuav@gmail.com> - 2011-10-27 16:18 +1100
Re: webapp development in pure python 88888 Dihedral <dihedral88888@googlemail.com> - 2011-10-26 23:37 -0700
Re: webapp development in pure python 88888 Dihedral <dihedral88888@googlemail.com> - 2011-10-26 23:37 -0700
Re: webapp development in pure python 88888 Dihedral <dihedral88888@googlemail.com> - 2011-10-26 22:04 -0700
csiph-web